I vaguely remember that this was one of the issues that we had to fix to build on OSX 10.9. Its probably easiest to run it on a linux box somewhere.
On Friday, October 24, 2014 7:10:59 PM UTC+1, Anne Schilling wrote: > > Ok, I got over the above hurdle. Some permissions were set wrong and now > sage-6.4.beta4 installs fine. However, now I have the next problem: > sage-5.13 will not build (I need this old version though since not the > entire sage-combinat queue was merged into the git setting yet). Any ideas > how to fix this build failure on OSX 10.9.4 > > ... > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c MinorProcessor.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c MinorInterface.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c bigintm.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c pyobject_setup.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c denom_list.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c minpoly.cc > gcc -O2 -g -fPIC -DLIBSINGULAR -pipe -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c semaphore.c > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c slInit_Static.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c mpsr_Put.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c mpsr_PutPoly.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c mpsr_GetPoly.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c mpsr_sl.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c mpsr_Get.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c mpsr_GetMisc.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c mpsr_Error.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c ndbm.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c sing_dbm.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -I. -I.. -I/Applications/sage-5.13/local > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H gentable2.cc \ > -o gentable2 > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local > -pipe -I. -I.. -I/Applications/sage-5.13/local > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c claptmpl.cc > In file included from gentable2.cc:87:0: > table.h:291:1: warning: converting to non-pointer type 'int' from NULL > [-Wconversion-null] > table.h:678:1: warning: converting to non-pointer type 'int' from NULL > [-Wconversion-null] > table.h:781:1: warning: converting to non-pointer type 'int' from NULL > [-Wconversion-null] > table.h:842:1: warning: converting to non-pointer type 'int' from NULL > [-Wconversion-null] > ./mkinstalldirs /Applications/sage-5.13/local/share/singular > for file in `pwd`/LIB/*.lib; do \ > /usr/bin/install -c -m 644 $file > /Applications/sage-5.13/local/share/singular; \ > done > ./gentable2 > /bin/rm -f gentable2 gentable2.exe > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c extra.cc > extra.cc: In function 'BOOLEAN jjSYSTEM(leftv, leftv)': > extra.cc:752:30: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc:917:59: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc:924:59: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc:940:30: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc:1216:71: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc:1218:45: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc: In function 'BOOLEAN jjEXTENDED_SYSTEM(leftv, leftv)': > extra.cc:3124:42: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc:3146:48: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc:3148:47: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc:3354:47: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc:3566:29: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > extra.cc:3637:87: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > ./mkinstalldirs /Applications/sage-5.13/local/share/singular/gftables > for file in `pwd`/LIB/gftables/*; do \ > /usr/bin/install -c -m 644 $file > /Applications/sage-5.13/local/share/singular/gftables/; \ > done > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c fehelp.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c feOpt.cc > feOpt.cc: In function 'const char* feSetOptValue(feOptIndex, int)': > feOpt.cc:351:36: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c iparith.cc > g++ -O2 -g -fPIC -DLIBSINGULAR -I.. -I/Applications/sage-5.13/local -pipe > -fno-implicit-templates -I.. -I/Applications/sage-5.13/local -I. -I.. > -I/Applications/sage-5.13/local -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include > -I/Applications/sage-5.13/local/include -I/usr/local/include -DNDEBUG > -DOM_NDEBUG -Dx86_64Mac_darwin -DHAVE_CONFIG_H -c mpsr_Tok.cc > iparith.cc: In function 'BOOLEAN jjUNIVARIATE(leftv, leftv)': > iparith.cc:4981:21: warning: cast to pointer from integer of different > size [-Wint-to-pointer-cast] > iparith.cc: In function 'BOOLEAN jjLU_INVERSE(leftv, leftv)': > iparith.cc:6900:53: warning: cast to pointer from integer of different > size [-Wint-to-pointer-cast] > iparith.cc:6906:53: warning: cast to pointer from integer of different > size [-Wint-to-pointer-cast] > iparith.cc: In function 'BOOLEAN jjLU_SOLVE(leftv, leftv)': > iparith.cc:6984:53: warning: cast to pointer from integer of different > size [-Wint-to-pointer-cast] > iparith.cc:6991:53: warning: cast to pointer from integer of different > size [-Wint-to-pointer-cast] > libtool -dynamic -twolevel_namespace -weak_reference_mismatches weak > -undefined dynamic_lookup -single_module -o libsingular.dylib \ > iparith.o mpsr_Tok.o claptmpl.o \ > grammar.o scanner.o attrib.o blackbox.o eigenval_ip.o extra.o fehelp.o > feOpt.o ipassign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o newstruct.o > lists.o sdb.o fglm.o interpolation.o silink.o ssiLink.o s_buff.o subexpr.o > janet.o wrapper.o libparse.o sing_win.o gms.o pcv.o maps_ip.o walk.o > walk_ip.o cntrlc.o misc_ip.o calcSVD.o pipeLink.o Minor.o MinorProcessor.o > MinorInterface.o bigintm.o pyobject_setup.o denom_list.o minpoly.o > semaphore.o slInit_Static.o mpsr_Put.o mpsr_PutPoly.o mpsr_GetPoly.o > mpsr_sl.o mpsr_Get.o mpsr_GetMisc.o mpsr_Error.o ndbm.o sing_dbm.o -lkernel > -L../kernel -L../factory -L../libfac -L/Applications/sage-5.13/local/lib > -lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc > ld: symbol dyld_stub_binding_helper not found, normally in > crt1.o/dylib1.o/bundle1.o for architecture x86_64 > fatal error: > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: > > internal link edit command failed > make[4]: *** [libsingular] Error 1 > make[3]: *** [install-libsingular] Error 1 > Unable to build and install libsingular. > Error building Singular (error in build_libsingular). > > real 3m32.244s > user 7m42.428s > sys 0m35.896s > ************************************************************************ > Error installing package singular-3-1-5.p9 > ************************************************************************ > Please email sage-devel (http://groups.google.com/group/sage-devel) > explaining the problem and including the relevant part of the log file > /Applications/sage-5.13/logs/pkgs/singular-3-1-5.p9.log > Describe your computer, operating system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /Applications/sage-5.13/spkg/build/singular-3-1-5.p9 and type 'make' or > whatever is appropriate. > Instead, the following commands setup all environment variables > correctly and load a subshell for you to debug the error: > (cd '/Applications/sage-5.13/spkg/build/singular-3-1-5.p9' && > '/Applications/sage-5.13/sage' --sh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ > make[2]: *** [/Applications/sage-5.13/spkg/installed/singular-3-1-5.p9] > Error 1 > make[1]: *** [all] Error 2 > > real 3m33.611s > user 7m43.621s > sys 0m36.313s > *************************************************************** > Error building Sage. > > The following package(s) may have failed to build: > > package: singular-3-1-5.p9 > log file: /Applications/sage-5.13/logs/pkgs/singular-3-1-5.p9.log > build directory: /Applications/sage-5.13/spkg/build/singular-3-1-5.p9 > > The build directory may contain configuration files and other potentially > helpful information. WARNING: if you now run 'make' again, the build > directory will, by default, be deleted. Set the environment variable > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. > > make: *** [build] Error 1 > > > > Thanks, > > Anne > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.