InsightToolKit did not build

Frank J. R. Hanstick trog24 at comcast.net
Thu Jan 28 20:32:42 PST 2010


Hello,
	I tried

		sudo port install InsightToolkit -doc -py25

	and got a build; but, also got the following staging error:

Error: Target org.macports.destroot returned: error copying "/opt/ 
local/share/cmake-2.8/Modules/FindITK.cmake" to "/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/destroot/opt/ 
local/share/cmake-2.8/Modules/FindITK-3.16.cmake": no such file or  
directory
Error: Status 1 encountered during processing.

	I reran (without cleaning) using the -d and encountered the following:

DEBUG: Skipping completed org.macports.build (InsightToolkit)
--->  Staging InsightToolkit into destroot
. missing (directory not created: File exists)
./Applications missing (directory not created: File exists)
./Developer missing (directory not created: File exists)
./Library missing (directory not created: File exists)
DEBUG: Executing org.macports.destroot (InsightToolkit)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build" && /usr/bin/gnumake install DESTDIR=/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/destroot'
/opt/local/bin/cmake -H/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16 -B/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build --check-build-system CMakeFiles/ 
Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build/CMakeFiles /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build/CMakeFiles/progress.marks
/usr/bin/gnumake -f CMakeFiles/Makefile2 all
/usr/bin/gnumake -f Utilities/kwsys/CMakeFiles/itksys.dir/build.make  
Utilities/kwsys/CMakeFiles/itksys.dir/depend
cd /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build && /opt/local/bin/cmake -E cmake_depends  
"Unix Makefiles" /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16 /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16/Utilities/kwsys /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build/Utilities/kwsys /opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build/Utilities/kwsys/CMakeFiles/itksys.dir/ 
DependInfo.cmake --color=
/usr/bin/gnumake -f Utilities/kwsys/CMakeFiles/itksys.dir/build.make  
Utilities/kwsys/CMakeFiles/itksys.dir/build
gnumake[2]: Nothing to be done for `Utilities/kwsys/CMakeFiles/ 
itksys.dir/build'.
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build/CMakeFiles  49
[  1%] Built target itksys
/usr/bin/gnumake -f Utilities/itkjpeg/8/CMakeFiles/itkjpeg8.dir/ 
build.make Utilities/itkjpeg/8/CMakeFiles/itkjpeg8.dir/depend
cd /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build && /opt/local/bin/cmake -E cmake_depends  
"Unix Makefiles" /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16 /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16/Utilities/itkjpeg/8 /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build/Utilities/itkjpeg/8 /opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build/Utilities/itkjpeg/8/CMakeFiles/itkjpeg8.dir/ 
DependInfo.cmake --color=
/usr/bin/gnumake -f Utilities/itkjpeg/8/CMakeFiles/itkjpeg8.dir/ 
build.make Utilities/itkjpeg/8/CMakeFiles/itkjpeg8.dir/build
gnumake[2]: Nothing to be done for `Utilities/itkjpeg/8/CMakeFiles/ 
itkjpeg8.dir/build'.
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build/CMakeFiles  41 42 43 44 45
[  6%] Built target itkjpeg8

.
.
.

[100%] Built target ITKFEM
/opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/ 
InsightToolkit-3.16-build/CMakeFiles 0
/usr/bin/gnumake -f CMakeFiles/Makefile2 preinstall
gnumake[1]: Nothing to be done for `preinstall'.
Install the project...
/opt/local/bin/cmake -P cmake_install.cmake
-- Install configuration: "RelWithDebInfo"
-- Up-to-date: /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/destroot/opt/ 
local/include/InsightToolkit/itkConfigure.h

.
.
.

-- Up-to-date: /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/destroot/opt/ 
local/include/InsightToolkit/IO/itkSpatialObjectWriter.txx
DEBUG: Executing proc-post-org.macports.destroot-destroot-0
Error: Target org.macports.destroot returned: error copying "/opt/ 
local/share/cmake-2.8/Modules/FindITK.cmake" to "/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/destroot/opt/ 
local/share/cmake-2.8/Modules/FindITK-3.16.cmake": no such file or  
directory
DEBUG: Backtrace: error copying "/opt/local/share/cmake-2.8/Modules/ 
FindITK.cmake" to "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/destroot/opt/ 
local/share/cmake-2.8/Modules/FindITK-3.16.cmake": no such file or  
directory
     while executing
"$post $targetname"
Warning: the following items did not execute (for InsightToolkit):  
org.macports.activate org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>


	Checking the directory chain revealed that:

/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_InsightToolkit/work/destroot/opt/ 
local/share/

did not contain a cmake-2.8 directory.

On Jan 28, 2010, at 1:40 PM, Darren Weber wrote:

>
>
> Part of the build is the documentation installation, which is easily  
> turned off with "-doc".  If you also turn off the python wrapping,  
> using "-py25", that should disable both shared libs and the extra  
> wrapping builds.  (I've never tested the build with that config.)   
> If you do want shared libs, without python wrapping, use a  
> combination of "-py25 +shared".
>
> Take care,
> Darren
>
>
>
> On Fri, Jan 1, 2010 at 9:01 PM, Frank J. R. Hanstick <trog24 at comcast.net 
> > wrote:
> Hello,
>        I am not going to ask you to build on the 466 MHz, that might  
> take you to until the next decade.
>        Sounds like Apple needs to do a little work on the intel  
> scheduler.  Even running with both cpu's at or near 100% (which  
> means a faster bus would not buy me very much since I am getting  
> 100% cpu usage at a 13:1 cpu:bus ratio), I only notice a slowdown  
> when trying to launch new applications.  Once up and running, there  
> is not much difference in response time.  PPC G4's range between  
> 1.25 to 1.5 the throughput rate of equivalent Intel cpu's due to an  
> average of 1.8 (maximum of 3) completed instructions per clock  
> cycle.  You have a 2.75:1 cpu:bus ratio, so I wonder what the hold  
> up is.
>        I think I might need a faster bus if I could get a hold of  
> dual core e600's (the inside of my PPC 7448) which Freescale does  
> not make.  Right now they only make a single core e600 µ-Processor  
> and a dual core e600 µ-Controller.
>
>
> On Jan 1, 2010, at 6:29 PM, Ryan Schmidt wrote:
>
>
> On Jan 1, 2010, at 20:08, Frank J. R. Hanstick wrote:
>
> It is not very encouraging that it took so long your system.  I only  
> have a dual 1.73 GHz PowerPC G4 on a 133 MHz bus (I am assuming you  
> have a dual core intel with a faster bus) and 1 MB RAM.  Disk space  
> is not a problem (165 GB available).
>
> Yes, my MacBook Pro has an 800-MHz bus and two cores, but I  
> instructed MacPorts to only use one of them ("sudo port install  
> InsightToolkit build.jobs=1") because using both cores for this  
> build was making the machine too slow for other tasks.
>
> This is the fourth time that I hit the same error.  I am wondering  
> of the problem is trying to build to a PPC G4.  I am going to take a  
> quick look at the source code (downloaded itk via CVS from the site)  
> after filing a bug report.
>
> Yes, it's certainly possible that the port doesn't work on PowerPC.  
> I haven't tested it. My 466-MHz Power Mac G4 would probably take a  
> week to finish the build so I'm not keen to try it...
>
>
> Frank J. R. Hanstick
> trog24 at comcast.net
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>

Frank J. R. Hanstick
trog24 at comcast.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100128/89f37dc6/attachment.html>


More information about the macports-users mailing list