On 3/28/12 10:40 AM, Alexander Hansen wrote: > On 3/28/12 10:10 AM, Roy Mendelssohn wrote: >> Hi All: >> >> In trying to build mayavi, I ran into problems with building vtk58. >> I tried installing vtk58 separately, and it just hangs - I can't >> really give you the error message, just the point where it hangs - >> and doesn't budge. >> >> Basic info - OS X 10.7.3. Have the latest XCode that was just released. >> >> cc --version >> Apple clang version 3.1 (tags/Apple/clang-318.0.54) (based on LLVM >> 3.1svn) >> Target: x86_64-apple-darwin11.3.0 >> Thread model: posix >> >> gcc --version >> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. >> build 5658) (LLVM build 2336.9.00) >> Copyright (C) 2007 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. There >> is NO >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR >> PURPOSE. >> >> fink --version >> Package manager version: 0.32.4.1 >> Distribution version: selfupdate-rsync Wed Mar 28 10:05:54 2012, >> 10.7, x86_64 >> Trees: local/main stable/main >> >> Copyright (c) 2001 Christoph Pfisterer >> Copyright (c) 2001-2012 The Fink Package Manager Team >> This program is distributed in the hope that it will be useful, >> but WITHOUT ANY WARRANTY; without even the implied warranty of >> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> GNU General Public License for more details. >> >> Below is the output leading up to where it hangs - the last line is >> where (it doesn't move from 84%). >> >> Thanks for any help. >> >> -Roy M. >> >> >> 1 warning generated. >> Linking CXX shared library ../bin/libvtkChartsTCL.dylib >> cd /sw/src/fink.build/vtk58-5.8.0-1/VTKBuild/Charts&& /sw/bin/cmake >> -E cmake_link_script CMakeFiles/vtkChartsTCL.dir/link.txt --verbose=1 >> /sw/var/lib/fink/path-prefix-clang/c++ -g -dynamiclib >> -Wl,-headerpad_max_install_names -L/sw/lib -compatibility_version >> 5.8.0 -current_version 5.8.0 -o ../bin/libvtkChartsTCL.5.8.0.dylib >> -install_name /sw/lib/vtk58/libvtkChartsTCL.5.8.dylib >> CMakeFiles/vtkChartsTCL.dir/vtkAbstractContextItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkAxisTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkBlockItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkBrushTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkChartTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkChartLegendTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkChartHistogram2DTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkChartParallelCoordinatesTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkChartXYTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkChartPieTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkColorLegendTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPlotPieTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkColorSeriesTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkColorTransferFunctionItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkColorTransferControlPointsItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkCompositeControlPointsItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkCompositeTransferFunctionItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkContext2DTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkContextActorTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkContextClipTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkContextDevice2DTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkContextInteractorStyleTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkContextItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkContextMapper2DTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkContextSceneTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkContextTransformTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkContextViewTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkControlPointsItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkImageItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkLookupTableItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPenTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPiecewiseControlPointsItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPiecewiseFunctionItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPlotTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPlotBarTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPlotGridTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPlotHistogram2DTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPlotLineTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPlotStackedTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPlotParallelCoordinatesTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkPlotPointsTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkScalarsToColorsItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkTooltipItemTcl.cxx.o >> CMakeFiles/vtkChartsTCL.dir/vtkChartsTCLInit.cxx.o >> ../bin/libvtkCharts.5.8.0.dylib ../bin/libvtkViewsTCL.5.8.0.dylib >> /sw/lib/libtk.dylib /sw/lib/libtcl.dylib -lm >> ../bin/libvtkViews.5.8.0.dylib ../bin/libvtkInfovisTCL.5.8.0.dylib >> ../bin/libvtkInfovis.5.8.0.dylib ../bin/libvtkWidgetsTCL.5.8.0.dylib >> ../bin/libvtkWidgets.5.8.0.dylib >> ../bin/libvtkVolumeRendering.5.8.0.dylib >> ../bin/libvtkHybridTCL.5.8.0.dylib >> ../bin/libvtkRenderingTCL.5.8.0.dylib /sw/lib/libtk.dylib >> ../bin/libvtkGraphicsTCL.5.8.0.dylib >> ../bin/libvtkImagingTCL.5.8.0.dylib /usr/X11R6/lib/libSM.dylib >> /usr/X11R6/lib/libICE.dylib /usr/X11R6/lib/libX11.dylib >> /usr/X11R6/lib/libXext.dylib ../bin/libvtkHybrid.5.8.0.dylib >> ../bin/libvtkParallel.5.8.0.dylib ../bin/libvtkRendering.5.8.0.dylib >> ../bin/libvtkGraphics.5.8.0.dylib ../bin/libvtkImaging.5.8.0.dylib >> ../bin/libvtkIOTCL.5.8.0.dylib ../bin/libvtkIO.5.8.0.dylib >> ../bin/libvtkFilteringTCL.5.8.0.dylib >> ../bin/libvtkFiltering.5.8.0.dylib ../bin/libvtkCommonTCL.5.8.0.dylib >> /sw/lib/libtcl.dylib -lm ../bin/libvtkCommon.5.8.0.dylib >> ../bin/libvtksys.5.8.0.dylib -lm >> cd /sw/src/fink.build/vtk58-5.8.0-1/VTKBuild/Charts&& /sw/bin/cmake >> -E cmake_symlink_library ../bin/libvtkChartsTCL.5.8.0.dylib >> ../bin/libvtkChartsTCL.5.8.dylib ../bin/libvtkChartsTCL.dylib >> /sw/bin/cmake -E cmake_progress_report >> /sw/src/fink.build/vtk58-5.8.0-1/VTKBuild/CMakeFiles 6 >> [ 84%] Built target vtkChartsTCL >> >> >> > Unfortunately, I didn't reproduce the error--it failed at 7% rather > than 84% for me, without getting tuck: > > cd /sw/src/fink.build/vtk58-5.8.0-1/VTKBuild/Common && /sw/bin/cmake > -E touch > /sw/src/fink.build/vtk58-5.8.0-1/VTKBuild/Common/vtkCommonHierarchy.target > /sw/bin/cmake -E cmake_progress_report > /sw/src/fink.build/vtk58-5.8.0-1/VTKBuild/CMakeFiles 7 > [ 7%] Built target vtkCommon > make: *** [all] Error 2 > <snip> > Package manager version: 0.32.4.1 > Distribution version: selfupdate-cvs Tue Mar 27 10:56:28 2012, 10.7, > x86_64 > Trees: local/main stable/main local/injected > Xcode: 4.3.2 > Max. Fink build jobs: 4 > > $ sysctl hw.model > hw.model: MacBookPro8,1 > > I'll try my own advice and change the number of build jobs next :-) . > I'll also cc the maintainer. > I found the following in the setup stage for the build:
perl -pi.bak -e 's|/usr/local|/sw|g' Wrapping/Tcl/vtkbase/vtkbase.tcl Can't open Wrapping/Tcl/vtkbase/vtkbase.tcl: No such file or directory. tar -tvf /sw/src/vtk-5.8.0.tar.gz | grep vtkbase.tcl -rw-r--r-- kitware/kitware 3486 2011-08-24 06:37 VTK/Wrapping/Tcl/vtkbase/vtkbase.tcl.in I also found the _real_ error in my case, which is the same regardless of the number of build jobs (and much easier to find when setting the number of jobs to 1): Linking CXX shared library ../../../bin/libMapReduceMPI.dylib cd /sw/src/fink.build/vtk58-5.8.0-1/VTKBuild/Utilities/mrmpi/src && /sw/bin/cmake -E cmake_link_script CMakeFiles/MapReduceMPI.dir/link.txt --verbose=1 /sw/var/lib/fink/path-prefix-clang/c++ -g -dynamiclib -Wl,-headerpad_max_install_names -L/sw/lib -compatibility_version 5.8.0 -current_version 5.8.0 -o ../../../bin/libMapReduceMPI.5.8.0.dylib -install_name /sw/lib/vtk58/libMapReduceMPI.5.8.dylib CMakeFiles/MapReduceMPI.dir/mapreduce.cpp.o CMakeFiles/MapReduceMPI.dir/keyvalue.cpp.o CMakeFiles/MapReduceMPI.dir/keymultivalue.cpp.o CMakeFiles/MapReduceMPI.dir/irregular.cpp.o CMakeFiles/MapReduceMPI.dir/hash.cpp.o CMakeFiles/MapReduceMPI.dir/memory.cpp.o CMakeFiles/MapReduceMPI.dir/error.cpp.o ../../../bin/libmpistubs.5.8.0.dylib ../../../bin/libvtksys.5.8.0.dylib /sw/bin/cmake -E cmake_progress_report /sw/src/fink.build/vtk58-5.8.0-1/VTKBuild/CMakeFiles [ 5%] Undefined symbols for architecture x86_64: "_MPI_Type_contiguous", referenced from: MPI::Datatype::Create_contiguous(int) const in mapreduce.cpp.o ... I do have openmpi installed: $ fink list -it openmpi | cut -f1-3 i openmpi 1.5.4-1 i openmpi-ext-oct361 1.0.2-102 i openmpi-shlibs 1.5.4-1 vtk58 carries a BuildConflicts: openmpi-dev, but there's no openmpi-dev on Lion due to the use of a newer and differently-factored package scheme there: $ fink list openmpi-dev Information about 4592 packages read in 1 seconds. I'll try removing openmpi to see if I reproduce Roy's error at that point, and I'll follow up. -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users