On 21 May 2009, at 04:19, gsw wrote: > Sage-4.0.alpha0 did build fine on my G4 PowerBook 550Mhz with OS X > 10.4.11 and Xcode 2.5. From the istall.log: > > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. - > DOPERATION_scan1 -O2 -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL - > c scan1.c -fno-common -DPIC -o .libs/scan1.o > /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" > gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -mpowerpc -no-cpp-precomp - > force_cpusubtype_ALL -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo > popcount | sed 's/_$//'` -I. -I. -I.. `test -f 'popcount.asm' || echo > './'`popcount.asm > ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 - > mpowerpc -no-cpp-precomp -force_cpusubtype_ALL -D__GMP_WITHIN_GMP -I.. > -DOPERATION_popcount -I. -I. -I.. popcount.asm -fno-common -DPIC - > o .libs/popcount.o > m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_popcount -DPIC > popcount.asm >tmp-popcount.s > gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -mpowerpc -no-cpp-precomp - > force_cpusubtype_ALL -D__GMP_WITHIN_GMP -I.. -DOPERATION_popcount - > I. - > I. -I.. tmp-popcount.s -fno-common -DPIC -o .libs/popcount.o > /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 - > DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo > hamdist | sed 's/_$//'` -O2 -mpowerpc -no-cpp-precomp - > force_cpusubtype_ALL -c -o hamdist.lo hamdist.c > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. - > DOPERATION_hamdist -O2 -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL > -c hamdist.c -fno-common -DPIC -o .libs/hamdist.o > > As one can see, the compilation is done *with* the option "- > force_cpusubtype_ALL". > > From the configuration output of the mpir package on my system: > ... > checking build system type... powerpc7450-apple-darwin8.11.0 > ... > using ABI="32" > CC="gcc -std=gnu99" > CFLAGS="-O2 -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL" > CPPFLAGS="" > CXX="g++" > CXXFLAGS="-O2 -mpowerpc -no-cpp-precomp -force_cpusubtype_ALL" > MPN_PATH=" powerpc32/vmx powerpc32 powerpc32 generic" > > From the configuration output of the install.log you posted: > ... > checking build system type... powerpc7450-apple-darwin9.7.0 > ... > using ABI="32" > CC="gcc -std=gnu99" > CFLAGS="-I/sw/include" > CPPFLAGS="-I/sw/include" > CXX="g++" > CXXFLAGS="-I/sw/include" > MPN_PATH=" powerpc32/vmx powerpc32 powerpc32 generic" > > So there is some misconfiguration happening --- the mpir maintainers > probably will find a solution quickly. > (Beware, I'm uneasy about the occurence of the MacPorts (or Fink?) > path "-I/sw/include" here.)
Yes, that looks suspicious. For that build, the sage install detect the presence of fink, and offered two options: You should make sure MacPorts and Fink cannot be found. Either: (1) rename /opt/local and /sw, or (2) change PATH and DYLD_LIBRARY_PATH I elected option (2), and changed PATH to remove /sw/bin and /sw/ sbin. DYLD_LIBRARY_PATH was not set, so I left it alone. Maybe that was a mistake, but I think it was an honest mistake, apt to be made by users who don't know what values to set DYLD_LIBRARY_PATH. After that build failed, sage-4.0.rc0 dropped, so I tried installing it. This time I used option (1) - I renamed /sw, and the build went OK. Perhaps the options when /sw is detected need to be reworked. Maybe the user should be given specific direction on what value to set for DYLD_LIBRARY_PATH. -- Kevin Horton Ottawa, Canada --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---