I really don't know how to get the XCode version in the command line,
but gcc is version 4.2.1 (isn't that part of XCode?).

Then, Mac OS X Server 10.7.2.

When running again, it only broke because of readline-6.1. Its log
file is

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

pythagore:sage-4.7.2 sage$ cat spkg/logs/readline-6.1.log
Warning: Attempted to overwrite SAGE_ROOT environment variable
readline-6.1
Machine:
Darwin pythagore.math.uqam.ca 11.2.0 Darwin Kernel Version 11.2.0: Tue
Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
Deleting directories from past builds of previous/current versions of
readline-6.1
Extracting package /Users/sage/sage-4.7.2/spkg/standard/
readline-6.1.spkg ...
-rw-r--r--+ 1 sage  staff  2085085 Nov 11  2010 /Users/sage/sage-4.7.2/
spkg/standard/readline-6.1.spkg
Finished extraction
****************************************************
Host system
uname -a:
Darwin pythagore.math.uqam.ca 11.2.0 Darwin Kernel Version 11.2.0: Tue
Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/llvmgcc42/llvmgcc42-2335.6~17/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-
gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --
program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/var/
tmp/llvmgcc42/llvmgcc42-2335.6~17/dst-llvmCore/Developer/usr/local --
program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --
target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/
4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)
****************************************************
Building a 64-bit version of Readline
Using CC=gcc
The following environment variables will be exported.
Using CFLAGS= -m64 -g -O2
Using CPPFLAGS= -m64
Using LDFLAGS= -m64
configure scripts and/or makefiles might override these later

Deleting old readline headers and libs...
checking build system type... i386-apple-darwin11.2.0
checking host system type... i386-apple-darwin11.2.0

Beginning configuration for readline-6.1 for i386-apple-darwin11.2.0

checking whether make -j8 sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
checking for ranlib... ranlib
checking for an ANSI C-conforming const... yes
checking for function prototypes... yes
checking whether char is unsigned... no
checking for working volatile... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for ssize_t... yes
checking for ANSI C header files... (cached) yes
checking whether stat file-mode macros are broken... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for fcntl... yes
checking for kill... yes
checking for lstat... yes
checking for memmove... yes
checking for putenv... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strpbrk... yes
checking for tcgetattr... yes
checking for vsnprintf... yes
checking for isascii... yes
checking for isxdigit... yes
checking for getpwent... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for working strcoll... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for memory.h... (cached) yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking sys/pte.h usability... no
checking sys/pte.h presence... no
checking for sys/pte.h... no
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/ptem.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for type of signal functions... posix
checking if signal handlers must be reinstalled when invoked... no
checking for presence of POSIX-style sigsetjmp/siglongjmp... present
checking for lstat... yes
checking whether or not strcoll and strcmp differ... no
checking whether the ctype macros accept non-ascii characters... yes
checking whether getpw functions are declared in pwd.h... yes
checking whether termios.h defines TIOCGWINSZ... yes
checking for sig_atomic_t in signal.h... yes
checking whether signal handlers are of type void... yes
checking for TIOCSTAT in sys/ioctl.h... yes
checking for FIONREAD in sys/ioctl.h... yes
checking for speed_t in sys/types.h... no
checking for struct winsize in sys/ioctl.h and termios.h... sys/
ioctl.h
checking for struct dirent.d_ino... yes
checking for struct dirent.d_fileno... yes
checking for tgetent... no
checking for tgetent in -ltermcap... yes
checking which library has the termcap functions... using libtermcap
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for mbrlen... yes
checking for mbscasecmp... no
checking for mbscmp... no
checking for mbsrtowcs... yes
checking for mbschr... no
checking for wcrtomb... yes
checking for wcscoll... yes
checking for wcsdup... yes
checking for wcwidth... yes
checking for wctype... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for iswlower... yes
checking for iswupper... yes
checking for towlower... yes
checking for towupper... yes
checking for iswctype... yes
checking for nl_langinfo and CODESET... yes
checking for wchar_t in wchar.h... yes
checking for wctype_t in wctype.h... yes
checking for wint_t in wctype.h... yes
checking configuration for building shared libraries... supported
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating shlib/Makefile
config.status: creating config.h
config.status: executing default commands
rm -f readline.o
rm -f vi_mode.o
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 readline.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 vi_mode.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 funmap.c
rm -f keymaps.o
rm -f parens.o
rm -f search.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 keymaps.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 parens.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 search.c
rm -f rltty.o
rm -f complete.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 rltty.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 complete.c
rm -f bind.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 bind.c
rm -f isearch.o
rm -f display.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 isearch.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 display.c
rm -f signals.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 signals.c
bind.c: In function 'rl_function_of_keyseq':
bind.c:710: warning: comparison is always true due to limited range of
data type
rm -f util.o
display.c: In function 'rl_character_len':
display.c:2105: warning: comparison is always true due to limited
range of data type
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 kill.c
util.c: In function '_rl_tropen':
util.c:495: warning: format '%ld' expects type 'long int', but
argument 5 has type 'pid_t'
rm -f undo.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 undo.c
rm -f macro.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 input.c
rm -f callback.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 terminal.c
rm -f text.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 text.c
rm -f nls.o
rm -f misc.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 nls.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 misc.c
rm -f compat.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 compat.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 xmalloc.c
rm -f history.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 history.c
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 histexpand.c
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 histfile.c
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 histsearch.c
rm -f shell.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 shell.c
rm -f mbutil.o
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -
m64 -g -O2 mbutil.c
rm -f tilde.o
gcc -DHAVE_CONFIG_H   -m64 -I. -I. -DRL_LIBRARY_VERSION='"6.1"' -m64 -
g -O2 -DREADLINE_LIBRARY -c ./tilde.c
test -d shlib || mkdir shlib
( cd shlib ; make -j8 - --jobserver-fds=3,4 -j all )
rm -f readline.so
rm -f vi_mode.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o readline.o ../
readline.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o vi_mode.o ../
vi_mode.c
rm -f funmap.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o funmap.o ../
funmap.c
rm -f keymaps.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o keymaps.o ../
keymaps.c
rm -f parens.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o parens.o ../
parens.c
rm -f search.so
rm -f rltty.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o search.o ../
search.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o rltty.o ../
rltty.c
mv funmap.o funmap.so
rm -f complete.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o complete.o ../
complete.c
mv keymaps.o keymaps.so
rm -f bind.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o bind.o ../
bind.c
mv parens.o parens.so
rm -f isearch.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o isearch.o ../
isearch.c
../bind.c: In function 'rl_function_of_keyseq':
../bind.c:710: warning: comparison is always true due to limited range
of data type
mv search.o search.so
rm -f display.so
mv rltty.o rltty.so
mv readline.o readline.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o display.o ../
display.c
rm -f signals.so
rm -f util.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o signals.o ../
signals.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o util.o ../
util.c
rm -f kill.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o kill.o ../
kill.c
../util.c: In function '_rl_tropen':
../util.c:495: warning: format '%ld' expects type 'long int', but
argument 5 has type 'pid_t'
../display.c: In function 'rl_character_len':
../display.c:2105: warning: comparison is always true due to limited
range of data type
mv signals.o signals.so
mv isearch.o isearch.so
rm -f libreadline.a
rm -f libhistory.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o
search.o rltty.o complete.o bind.o isearch.o display.o signals.o
util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o
nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o
histsearch.o shell.o mbutil.o tilde.o
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o
shell.o mbutil.o xmalloc.o
test -n "ranlib" && ranlib libhistory.a
mv util.o util.so
rm -f undo.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o undo.o ../
undo.c
rm -f macro.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o macro.o ../
macro.c
test -n "ranlib" && ranlib libreadline.a
mv kill.o kill.so
rm -f input.so
rm -f callback.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o input.o ../
input.c
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o callback.o ../
callback.c
mv vi_mode.o vi_mode.so
rm -f terminal.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o terminal.o ../
terminal.c
mv undo.o undo.so
rm -f text.so
mv macro.o macro.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o text.o ../
text.c
rm -f nls.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o nls.o ../nls.c
mv callback.o callback.so
rm -f misc.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o misc.o ../
misc.c
mv nls.o nls.so
rm -f xmalloc.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o xmalloc.o ../
xmalloc.c
mv complete.o complete.so
rm -f history.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o history.o ../
history.c
mv input.o input.so
rm -f histexpand.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o histexpand.o ../
histexpand.c
mv xmalloc.o xmalloc.so
rm -f histfile.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o histfile.o ../
histfile.c
mv terminal.o terminal.so
rm -f histsearch.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o histsearch.o ../
histsearch.c
mv bind.o bind.so
rm -f shell.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o shell.o ../
shell.c
mv history.o history.so
rm -f mbutil.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o mbutil.o ../
mbutil.c
mv misc.o misc.so
rm -f tilde.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -DREADLINE_LIBRARY
-c -o tilde.o ../tilde.c
mv histsearch.o histsearch.so
rm -f compat.so
gcc -c -DHAVE_CONFIG_H   -m64 -I. -I.. -I.. -
DRL_LIBRARY_VERSION='"6.1"' -m64 -g -O2 -fno-common -o compat.o ../
compat.c
mv shell.o shell.so
mv display.o display.so
mv histfile.o histfile.so
mv compat.o compat.so
mv tilde.o tilde.so
mv text.o text.so
mv mbutil.o mbutil.so
mv histexpand.o histexpand.so
rm -f libreadline.6.1.dylib
rm -f libhistory.6.1.dylib
gcc -dynamic -m64 -arch_only `/usr/bin/arch` -install_name /Users/sage/
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
gcc -dynamic -m64 -arch_only `/usr/bin/arch` -install_name /Users/sage/
sage-4.7.2/local/lib/libhistory.6.1.dylib -current_version 6.1 -
compatibility_version 6 -v -o libhistory.6.1.dylib history.so
histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so -
lncurses
Using built-in specs.
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/llvmgcc42/llvmgcc42-2335.6~17/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-
gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --
program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/var/
tmp/llvmgcc42/llvmgcc42-2335.6~17/dst-llvmCore/Developer/usr/local --
program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --
target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/
4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)
Target: i686-apple-darwin10
Configured with: /var/tmp/llvmgcc42/llvmgcc42-2335.6~17/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-
gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --
program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/var/
tmp/llvmgcc42/llvmgcc42-2335.6~17/dst-llvmCore/Developer/usr/local --
program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --
target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/
4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)
i686-apple-darwin10-llvm-gcc-4.2: -compatibility_version only allowed
with -dynamiclib
i686-apple-darwin10-llvm-gcc-4.2: -compatibility_version only allowed
with -dynamiclib
make[3]: *** [libhistory.6.1.dylib] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [libreadline.6.1.dylib] Error 1
make[2]: [shared] Error 2 (ignored)
/bin/sh ./support/mkinstalldirs /Users/sage/sage-4.7.2/local/include \
                /Users/sage/sage-4.7.2/local/include/readline 
/Users/sage/sage-4.7.2/
local/lib \
                /Users/sage/sage-4.7.2/local/share/info 
/Users/sage/sage-4.7.2/local/
share/man/man3
test -d shlib || mkdir shlib
mkdir -p -- /Users/sage/sage-4.7.2/local/include/readline /Users/sage/
sage-4.7.2/local/lib /Users/sage/sage-4.7.2/local/share/info /Users/
sage/sage-4.7.2/local/share/man/man3
for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h
rlconf.h rltypedefs.h; do \
                /usr/bin/install -c -m 644 ./$f 
/Users/sage/sage-4.7.2/local/include/
readline ; \
        done
( cd shlib ; make -j8 - --jobserver-fds=3,4 -j all )
( if test -d doc ; then \
                cd doc && \
                make -j8 - --jobserver-fds=3,4 -j 
infodir=/Users/sage/sage-4.7.2/
local/share/info DESTDIR= install; \
          fi )
/bin/sh ../support/mkdirs /Users/sage/sage-4.7.2/local/share/info /
Users/sage/sage-4.7.2/local/share/man/man3
if test -n "" ; then \
                /bin/sh ../support/mkdirs  ; \
        fi
if test -f readline.info; then \
                /usr/bin/install -c -m 644 readline.info /Users/sage/sage-4.7.2/
local/share/info/readline.info; \
        else \
                /usr/bin/install -c -m 644 ./readline.info 
/Users/sage/sage-4.7.2/
local/share/info/readline.info; \
        fi
rm -f libreadline.6.1.dylib
rm -f libhistory.6.1.dylib
gcc -dynamic -m64 -arch_only `/usr/bin/arch` -install_name /Users/sage/
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
gcc -dynamic -m64 -arch_only `/usr/bin/arch` -install_name /Users/sage/
sage-4.7.2/local/lib/libhistory.6.1.dylib -current_version 6.1 -
compatibility_version 6 -v -o libhistory.6.1.dylib history.so
histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so -
lncurses
if test -f rluserman.info; then \
                /usr/bin/install -c -m 644 rluserman.info 
/Users/sage/sage-4.7.2/
local/share/info/rluserman.info; \
        else \
                /usr/bin/install -c -m 644 ./rluserman.info 
/Users/sage/sage-4.7.2/
local/share/info/rluserman.info; \
        fi
if test -f history.info; then \
                /usr/bin/install -c -m 644 history.info 
/Users/sage/sage-4.7.2/local/
share/info/history.info; \
        else \
                /usr/bin/install -c -m 644 ./history.info 
/Users/sage/sage-4.7.2/
local/share/info/history.info; \
        fi
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
                install-info 
--dir-file=/Users/sage/sage-4.7.2/local/share/info/dir
\
                        /Users/sage/sage-4.7.2/local/share/info/readline.info ; 
\
                install-info 
--dir-file=/Users/sage/sage-4.7.2/local/share/info/dir
\
                        /Users/sage/sage-4.7.2/local/share/info/history.info ; \
                install-info 
--dir-file=/Users/sage/sage-4.7.2/local/share/info/dir
\
                        /Users/sage/sage-4.7.2/local/share/info/rluserman.info 
; \
        else true; fi
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/llvmgcc42/llvmgcc42-2335.6~17/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-
gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --
program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/var/
tmp/llvmgcc42/llvmgcc42-2335.6~17/dst-llvmCore/Developer/usr/local --
program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --
target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/
4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)
i686-apple-darwin10-llvm-gcc-4.2: -compatibility_version only allowed
with -dynamiclib
make[3]: *** [libreadline.6.1.dylib] Error 1
make[3]: *** Waiting for unfinished jobs....
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/llvmgcc42/llvmgcc42-2335.6~17/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-
gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --
program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/var/
tmp/llvmgcc42/llvmgcc42-2335.6~17/dst-llvmCore/Developer/usr/local --
program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --
target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/
4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)
i686-apple-darwin10-llvm-gcc-4.2: -compatibility_version only allowed
with -dynamiclib
make[3]: *** [libhistory.6.1.dylib] Error 1
make[2]: [shared] Error 2 (ignored)
( cd examples ; make -j8 - --jobserver-fds=3,4 -j DESTDIR= install )
/bin/sh ../support/mkdirs /Users/sage/sage-4.7.2/local/share/readline
mkdir /Users/sage/sage-4.7.2/local/share/readline
/usr/bin/install -c -m 644 ./readline.3 /Users/sage/sage-4.7.2/local/
share/man/man3/readline.3
/usr/bin/install -c -m 644 ./history.3 /Users/sage/sage-4.7.2/local/
share/man/man3/history.3
if test -n "" ; then \
                if test -f readline.html; then \
                        /usr/bin/install -c -m 644 readline.html 
/readline.html; \
                else \
                        /usr/bin/install -c -m 644 ./readline.html 
/readline.html; \
                fi ; \
                if test -f history.html; then \
                        /usr/bin/install -c -m 644 history.html /history.html; \
                else \
                        /usr/bin/install -c -m 644 ./history.html 
/history.html; \
                fi ; \
                if test -f rluserman.html; then \
                        /usr/bin/install -c -m 644 rluserman.html 
/rluserman.html; \
                else \
                        /usr/bin/install -c -m 644 ./rluserman.html 
/rluserman.html; \
                fi ; \
        fi
( cd shlib ; make -j8 - --jobserver-fds=3,4 -j DESTDIR= install )
/bin/sh ../support/mkdirs /Users/sage/sage-4.7.2/local/lib
rm -f libreadline.6.1.dylib
rm -f libhistory.6.1.dylib
gcc -dynamic -m64 -arch_only `/usr/bin/arch` -install_name /Users/sage/
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
gcc -dynamic -m64 -arch_only `/usr/bin/arch` -install_name /Users/sage/
sage-4.7.2/local/lib/libhistory.6.1.dylib -current_version 6.1 -
compatibility_version 6 -v -o libhistory.6.1.dylib history.so
histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so -
lncurses
Using built-in specs.
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/llvmgcc42/llvmgcc42-2335.6~17/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-
gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --
program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/var/
tmp/llvmgcc42/llvmgcc42-2335.6~17/dst-llvmCore/Developer/usr/local --
program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --
target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/
4.2.1
Target: i686-apple-darwin10
Thread model: posix
Configured with: /var/tmp/llvmgcc42/llvmgcc42-2335.6~17/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-
gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --
program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/var/
tmp/llvmgcc42/llvmgcc42-2335.6~17/dst-llvmCore/Developer/usr/local --
program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --
target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/
4.2.1
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)
i686-apple-darwin10-llvm-gcc-4.2: -compatibility_version only allowed
with -dynamiclib
i686-apple-darwin10-llvm-gcc-4.2: -compatibility_version only allowed
with -dynamiclib
make[3]: *** [libhistory.6.1.dylib] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [libreadline.6.1.dylib] Error 1
make[2]: [install-shared] Error 2 (ignored)
mv /Users/sage/sage-4.7.2/local/lib/libreadline.a /Users/sage/
sage-4.7.2/local/lib/libreadline.old
mv: rename /Users/sage/sage-4.7.2/local/lib/libreadline.a to /Users/
sage/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/sage/sage-4.7.2/local/
lib/libreadline.a
test -n "ranlib" && ranlib /Users/sage/sage-4.7.2/local/lib/
libreadline.a
mv /Users/sage/sage-4.7.2/local/lib/libhistory.a /Users/sage/
sage-4.7.2/local/lib/libhistory.old
mv: rename /Users/sage/sage-4.7.2/local/lib/libhistory.a to /Users/
sage/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/sage/sage-4.7.2/local/
lib/libhistory.a
test -n "ranlib" && ranlib /Users/sage/sage-4.7.2/local/lib/
libhistory.a
Error: Readline's build claims to have finished, but files that should
have been built weren't.

real    0m9.676s
user    0m11.230s
sys     0m6.129s
sage: An error occurred while installing readline-6.1
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /Users/sage/sage-4.7.2/install.log.  Describe your computer,
operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/sage/sage-4.7.2/spkg/build/readline-6.1 and type 'make check'
or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/Users/sage/sage-4.7.2/spkg/build/readline-6.1' && '/Users/sage/
sage-4.7.2/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.

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

Anything else you should know?

Thanks, Christian

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

Reply via email to