Hey all,

I'm trying to install Sage from source on a MacBook Pro 2.2 GHz 4GB
running OS X Lion. I have a fresh XCode install (gcc 4.2.1)
During the "make"-ing, I get
"spkg/logs/readline-6.1.log:sage: An error occurred while installing
readline-6.1"
and the build stops.

I seem not to have the latest version of XCode though, only 3.2.1,
even though I got it last week through the App Store.
Could that be the problem?

Thanks in advance!
Jan

----------------

More output from the .log file:

test -d shlib || mkdir shlib
( cd shlib ; make  all )
rm -f libreadline.6.1.dylib
gcc -dynamic -arch_only `/usr/bin/arch` -install_name /Users/vonk/
Downloads/sage-4.7.2/local/lib/libreadline.6.1.dylib -current_version
6.1 -compatibility_version 6 -v -o libreadline.6.1.dylib readline.so
vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so
complete.so bind.so isearch.so display.so signals.so util.so kill.so
undo.so macro.so input.so callback.so terminal.so text.so nls.so
misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so
shell.so mbutil.so tilde.so compat.so -lncurses
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-
checking --enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-
include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --
host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
i686-apple-darwin10-gcc-4.2.1: -compatibility_version only allowed
with -dynamiclib
make[3]: *** [libreadline.6.1.dylib] Error 1
make[2]: [shared] Error 2 (ignored)
( cd examples ; make  DESTDIR= install )
/bin/sh ../support/mkdirs /Users/vonk/Downloads/sage-4.7.2/local/share/
readline
mkdir /Users/vonk/Downloads/sage-4.7.2/local/share/readline
mv /Users/vonk/Downloads/sage-4.7.2/local/lib/libreadline.a /Users/
vonk/Downloads/sage-4.7.2/local/lib/libreadline.old
mv: rename /Users/vonk/Downloads/sage-4.7.2/local/lib/libreadline.a
to /Users/vonk/Downloads/sage-4.7.2/local/lib/libreadline.old: No such
file or directory
make[2]: [install-static] Error 1 (ignored)
/usr/bin/install -c -m 644 libreadline.a /Users/vonk/Downloads/
sage-4.7.2/local/lib/libreadline.a
test -n "ranlib" && ranlib /Users/vonk/Downloads/sage-4.7.2/local/lib/
libreadline.a
mv /Users/vonk/Downloads/sage-4.7.2/local/lib/libhistory.a /Users/vonk/
Downloads/sage-4.7.2/local/lib/libhistory.old
mv: rename /Users/vonk/Downloads/sage-4.7.2/local/lib/libhistory.a to /
Users/vonk/Downloads/sage-4.7.2/local/lib/libhistory.old: No such file
or directory
make[2]: [install-static] Error 1 (ignored)
/usr/bin/install -c -m 644 libhistory.a /Users/vonk/Downloads/
sage-4.7.2/local/lib/libhistory.a
test -n "ranlib" && ranlib /Users/vonk/Downloads/sage-4.7.2/local/lib/
libhistory.a
( cd shlib ; make  DESTDIR= install )
/bin/sh ../support/mkdirs /Users/vonk/Downloads/sage-4.7.2/local/lib
rm -f libreadline.6.1.dylib
gcc -dynamic -arch_only `/usr/bin/arch` -install_name /Users/vonk/
Downloads/sage-4.7.2/local/lib/libreadline.6.1.dylib -current_version
6.1 -compatibility_version 6 -v -o libreadline.6.1.dylib readline.so
vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so
complete.so bind.so isearch.so display.so signals.so util.so kill.so
undo.so macro.so input.so callback.so terminal.so text.so nls.so
misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so
shell.so mbutil.so tilde.so compat.so -lncurses
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-
checking --enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-
include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --
host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
i686-apple-darwin10-gcc-4.2.1: -compatibility_version only allowed
with -dynamiclib
make[3]: *** [libreadline.6.1.dylib] Error 1
make[2]: [install-shared] Error 2 (ignored)
Error: Readline's build claims to have finished, but files that should
have been built weren't.

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to