On 6/25/12 6:43 PM, Baudilio Tejerina wrote: > Hello. > > I need to install 'vtk-py24' in my PowerPC G5 (OSX 10.4.11) with Fink. >
We haven't supported 10.4 for about a year. > The installation crashes complaining about a not found file: > > powerpc-apple-darwin8-g++-4.0.1 > > However, I found it in > > /Developer/usr/bin > No. The issue is that powerpc-apple-darwin8-g++-4.0.1 can't find a file. > I would appreciate some help to solve this problem. > > Thanks, > > Baudilio > > PS: The error in some more detail follows... > > > .... > Linking CXX shared library ../../bin/libvtksys.dylib > cd /sw/src/fink.build/vtk-py24-5.0.0-1002/VTK/Utilities/kwsys && /sw/ > bin/cmake -E cmake_link_script CMakeFiles/vtksys.dir/link.txt -- > verbose=1 > /sw/var/lib/fink/path-prefix-g++-4.0/c++ -Wno-deprecated -O3 - > mcpu=G3 -mtune=G4 -funroll-loops -Wno-long-double -no-cpp-precomp - > mmacosx-version-min=10.4 -dynamiclib -Wl,-headerpad_max_install_names > -Wl,-flat_namespace,-U,_environ -L/sw/lib -install_name /sw/lib/vtk/ > `basename <TARGET>` -compatibility_version 5.0.0 -current_version > 5.0.0 -o ../../bin/libvtksys.5.0.0.dylib -install_name libvtksys. > 5.0.dylib CMakeFiles/vtksys.dir/ProcessUNIX.o CMakeFiles/vtksys.dir/ > Base64.o CMakeFiles/vtksys.dir/Directory.o CMakeFiles/vtksys.dir/ > RegularExpression.o CMakeFiles/vtksys.dir/SystemTools.o CMakeFiles/ > vtksys.dir/CommandLineArguments.o > powerpc-apple-darwin8-g++-4.0.1: <TARGET>`: No such file or directory > make[2]: *** [bin/libvtksys.5.0.0.dylib] Error 1 > make[1]: *** [Utilities/kwsys/CMakeFiles/vtksys.dir/all] Error 2 > make: *** [all] Error 2 > ### execution of /var/tmp/tmp.1.WxE3vJ failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-vtk-py24-5.0.0-1002 > (Reading database ... 97543 files and directories currently installed.) > Removing fink-buildlock-vtk-py24-5.0.0-1002 ... > Failed: phase compiling: vtk-py24-5.0.0-1002 failed > > The problem is that `basename <TARGET>` got treated as a literal expression rather than being evaluated. There's a flag which is being given to cmake: -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L%p/lib -install_name %p/lib/vtk/\`basename <TARGET>\`" \ -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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