On Mon, Apr 21, 2008 at 9:31 AM, Rob Goedman <[EMAIL PROTECTED]> wrote: > Hi, > > Brand new to Sage builds! > > On Mac OS 10.5.2, with: > > Robs-Intel:sage-3.0.rc0 rob$ gcc -v > Using built-in specs. > Target: i686-apple-darwin9 > Configured with: /var/tmp/gcc_42/gcc_42-5531~1/src/configure --disable- > checking -enable-werror --prefix=/usr --mandir=/usr/share/man --enable- > languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ > $/-4.2/ --with-gxx-include-dir=/usr/include/c++/4.0.0 --with-slibdir=/ > usr/lib --build=i686-apple-darwin9 --host=i686-apple-darwin9 -- > target=i686-apple-darwin9 > Thread model: posix > gcc version 4.2.1 (Apple Inc. build 5531) ^^^^^^^^^^^^^^^^^^^
Which version of XCode is this? When did you get it? I'm sure your problem is that we haven't ported Sage to work with Apple's heavily hacked GCC-4.2.1. I've been building all my OS X code on all platforms using Apples GCC-4.0.1. I wasn't aware that they released GCC-4.2.1. My guess is that numerous things will have to be fixed to get Sage to build against APPLE-GCC-4.2.1. Your best bet is to install a binary or install an older XCode (with GCC-4.0.1) or wait until Sage supports GCC-4.2.1, which means 1-2 weeks (since obviously I'll upgrade and have to support the newer compiler). The compiler I use: bsd:~ was$ gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465) bsd:~ was$ -- William > > make gives below (summarized) error on 2.11, alpha6, rc0 and rc1. > Below attachment contains the complete rc1 install.log . > > If, as a quick test, the Mac specific '-fasm-blocks' flag is added in > the subdir cipher, make complains about the assembler code in the asm > block in poll_padlock. > > Do I have to disable ENABLE_PADLOCK_SUPPORT? If so, can I force the > sage make to use './configure -disable_padlock_support'? > > As this is not related to the upcoming Sage 3.0 release, I'm fine to > wait for a binary release, although ultimately I would like to be able > to build sage myself. > > Thanks, > Rob > > ---------------------------------------------- > > Making all in cipher > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - > I.. -I../src -I../src -I/Users/rob/Downloads/sage-3.0.rc0/local/ > include -I/Users/rob/Downloads/sage-3.0.rc0/local/include -g -O2 -Wall > -Wpointer-arith -MT cipher.lo -MD -MP -MF .deps/cipher.Tpo -c -o > cipher.lo cipher.c > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/Users/rob/ > Downloads/sage-3.0.rc0/local/include -I/Users/rob/Downloads/ > sage-3.0.rc0/local/include -g -O2 -Wall -Wpointer-arith -MT cipher.lo - > MD -MP -MF .deps/cipher.Tpo -c cipher.c -fno-common -DPIC -o .libs/ > cipher.o > gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/Users/rob/ > Downloads/sage-3.0.rc0/local/include -I/Users/rob/Downloads/ > sage-3.0.rc0/local/include -g -O2 -Wall -Wpointer-arith -MT cipher.lo - > MD -MP -MF .deps/cipher.Tpo -c cipher.c -o cipher.o >/dev/null 2>&1 > mv -f .deps/cipher.Tpo .deps/cipher.Plo > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - > I.. -I../src -I../src -I/Users/rob/Downloads/sage-3.0.rc0/local/ > include -I/Users/rob/Downloads/sage-3.0.rc0/local/include -g -O2 -Wall > -Wpointer-arith -MT pubkey.lo -MD -MP -MF .deps/pubkey.Tpo -c -o > pubkey.lo pubkey.c > gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/Users/rob/ > Downloads/sage-3.0.rc0/local/include -I/Users/rob/Downloads/ > sage-3.0.rc0/local/include -g -O2 -Wall -Wpointer-arith -MT pubkey.lo - > MD -MP -MF .deps/pubkey.Tpo -c pubkey.c -fno-common -DPIC -o .libs/ > pubkey.o > > ... > > gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/Users/rob/ > Downloads/sage-3.0.rc0/local/include -I/Users/rob/Downloads/ > sage-3.0.rc0/local/include -g -O2 -Wall -Wpointer-arith -MT random.lo - > MD -MP -MF .deps/random.Tpo -c random.c -fno-common -DPIC -o .libs/ > random.o > gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/Users/rob/ > Downloads/sage-3.0.rc0/local/include -I/Users/rob/Downloads/ > sage-3.0.rc0/local/include -g -O2 -Wall -Wpointer-arith -MT random.lo - > MD -MP -MF .deps/random.Tpo -c random.c -o random.o >/dev/null 2>&1 > mv -f .deps/random.Tpo .deps/random.Plo > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - > I.. -I../src -I../src -I/Users/rob/Downloads/sage-3.0.rc0/local/ > include -I/Users/rob/Downloads/sage-3.0.rc0/local/include -g -O2 -Wall > -Wpointer-arith -MT rndhw.lo -MD -MP -MF .deps/rndhw.Tpo -c -o > rndhw.lo rndhw.c > gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/Users/rob/ > Downloads/sage-3.0.rc0/local/include -I/Users/rob/Downloads/ > sage-3.0.rc0/local/include -g -O2 -Wall -Wpointer-arith -MT rndhw.lo - > MD -MP -MF .deps/rndhw.Tpo -c rndhw.c -fno-common -DPIC -o .libs/ > rndhw.o > rndhw.c: In function 'poll_padlock': > rndhw.c:60: error: asm blocks not enabled, use `-fasm-blocks' > rndhw.c:60: error: expected identifier before '(' token > rndhw.c:60: confused by earlier errors, bailing out > make[4]: *** [rndhw.lo] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > failed to build libgcrypt > > real 0m34.193s > user 0m17.394s > sys 0m14.601s > sage: An error occurred while installing libgcrypt-1.4.0.p1 > Please email sage-devel http://groups.google.com/group/sage-devel > explaining the problem and send the relevant part of > of /Users/rob/Downloads/sage-3.0.rc0/install.log. Describe your > computer, operating system, etc. > If you want to try to fix the problem, yourself *don't* just cd to > /Users/rob/Downloads/sage-3.0.rc0/spkg/build/libgcrypt-1.4.0.p1 and > type 'make'. > Instead type "/Users/rob/Downloads/sage-3.0.rc0/sage -sh" > in order to set all environment variables correctly, then cd to > /Users/rob/Downloads/sage-3.0.rc0/spkg/build/libgcrypt-1.4.0.p1 > (When you are done debugging, you can type "exit" to leave the > subshell.) > make[1]: *** [installed/libgcrypt-1.4.0.p1] Error 1 > > real 15m9.941s > user 11m47.843s > sys 2m35.299s > > --------------------------------------------------------------- > > > > > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---