Hi all, I am trying to build Sage 4.4.1 from sourece, using gcc 4.4.1 on SUSE 11.2. So far I have had two failures. I can work around the first, but have no clue about the second. Best, Paul
1. Problem with libreadline Symptom: [...]/local/lib/libreadline.so.6: undefined symbol: PC Workaround: Try to use native librealine. leopa...@linfinit:~/src/sage/sage-4.4.1> ls -l local/lib/libread* lrwxrwxrwx 1 leopardi users 24 2010-05-16 12:37 local/lib/libreadline.a -> /usr/lib64/libreadline.a lrwxrwxrwx 1 leopardi users 16 2010-05-16 12:33 local/lib/libreadline.so -> libreadline.so.6 lrwxrwxrwx 1 leopardi users 18 2010-05-16 12:35 local/lib/libreadline.so.6 -> libreadline.so.6.0 lrwxrwxrwx 1 leopardi users 25 2010-05-16 12:36 local/lib/libreadline.so.6.0 - > /lib64/libreadline.so.6.0 2. Problem with symmetrica Symptom: /bin/bash: symbol lookup error: [...]/spkg/build/symmetrica-2.0.p5/src/nb.c:4087: undefined reference to `cos' Workaround: ??? Extracts from install.log: 1. Problem with libreadline Host system uname -a: Linux linfinit 2.6.31.12-0.1-default #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info -- mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable- languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release -- with-gxx-include-dir=/usr/include/c++/4.4 --enable-ssp --disable-libssp -- with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' -- disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.4 --enable-linux- futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic -- build=x86_64-suse-linux Thread model: posix gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux) **************************************************** Building a 32-bit version of Readline Code will be built with debugging information present. Set 'SAGE_DEBUG' to 'no' if you don't want that. No Fortran compiler has been defined. This is not normally a problem. Using CC=gcc Using CXX=g++ Using FC= Using F77= Using SAGE_FORTRAN= Using SAGE_FORTRAN_LIB= The following environment variables will be exported. Using CFLAGS= -O2 -g -Wall Using CXXFLAGS= -O2 -g -Wall Using FCFLAGS= -O2 -g -Wall Using F77FLAGS= -O2 -g -Wall Using CPPFLAGS= Using LDFLAGS= Using ABI= configure scripts and/or makefiles might override these later Deleting old readline headers and libs checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu Beginning configuration for readline-6.0 for x86_64-unknown-linux-gnu checking whether make 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... 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... yes checking termio.h presence... yes checking for termio.h... yes 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 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... no checking whether sys/ioctl.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... no 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 mbscmp... no checking for mbsrtowcs... yes 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 make[2]: Entering directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/readline-6.0.p1/src' /bin/sh ./support/mkinstalldirs /home/leopardi/src/sage/sage-4.4.1/local/include \ /home/leopardi/src/sage/sage-4.4.1/local/include/readline /home/leopardi/src/sage/sage-4.4.1/local/lib \ /home/leopardi/src/sage/sage-4.4.1/local/share/info /home/leopardi/src/sage/sage-4.4.1/local/share/man/man3 mkdir -p -- /home/leopardi/src/sage/sage-4.4.1/local/include/readline /home/leopardi/src/sage/sage-4.4.1/local/lib /home/leopardi/src/sage/sage-4.4.1/local/share/info /home/leopardi/src/sage/sage-4.4.1/local/share/man/man3 rm -f readline.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall readline.c readline.c:1112: warning: ‘reset_default_bindings’ defined but not used rm -f vi_mode.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall vi_mode.c rm -f funmap.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall funmap.c rm -f keymaps.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall keymaps.c rm -f parens.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall parens.c rm -f search.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall search.c search.c: In function ‘_rl_nsearch_init’: search.c:213: warning: too many arguments for format rm -f rltty.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall rltty.c rm -f complete.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall complete.c complete.c: In function ‘fnwidth’: complete.c:643: warning: implicit declaration of function ‘wcwidth’ complete.c: In function ‘_rl_find_completion_word’: complete.c:945: warning: suggest parentheses around assignment used as truth value complete.c: In function ‘rl_completion_matches’: complete.c:1887: warning: suggest parentheses around assignment used as truth value complete.c: In function ‘rl_username_completion_function’: complete.c:1939: warning: suggest parentheses around assignment used as truth value rm -f bind.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall bind.c bind.c: In function ‘rl_translate_keyseq’: bind.c:444: warning: suggest parentheses around assignment used as truth value bind.c: In function ‘rl_parse_and_bind’: bind.c:1190: warning: suggest parentheses around assignment used as truth value bind.c:1281: warning: suggest parentheses around assignment used as truth value bind.c: In function ‘rl_function_dumper’: bind.c:2090: warning: suggest parentheses around assignment used as truth value bind.c: In function ‘rl_generic_bind’: bind.c:341: warning: ‘k.type’ may be used uninitialized in this function bind.c: In function ‘_rl_read_init_file’: bind.c:860: warning: ‘file_size’ may be used uninitialized in this function rm -f isearch.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall isearch.c rm -f display.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall display.c display.c: In function ‘rl_redisplay’: display.c:762: warning: implicit declaration of function ‘wcwidth’ display.c:499: warning: ‘n0’ may be used uninitialized in this function display.c:504: warning: ‘wc_width’ may be used uninitialized in this function rm -f signals.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall signals.c rm -f util.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall util.c util.c: In function ‘_rl_tropen’: util.c:489: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘__pid_t’ rm -f kill.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall kill.c rm -f undo.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall undo.c undo.c: In function ‘_rl_copy_undo_list’: undo.c:140: warning: ‘roving’ may be used uninitialized in this function rm -f macro.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall macro.c rm -f input.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall input.c input.c: In function ‘rl_read_key’: input.c:432: warning: suggest parentheses around assignment used as truth value rm -f callback.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall callback.c rm -f terminal.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall terminal.c rm -f text.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall text.c rm -f nls.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall nls.c rm -f misc.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall misc.c misc.c: In function ‘_rl_revert_all_lines’: misc.c:456: warning: suggest parentheses around assignment used as truth value rm -f compat.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall compat.c rm -f xmalloc.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall xmalloc.c rm -f history.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall history.c rm -f histexpand.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall histexpand.c histexpand.c: In function ‘get_history_event’: histexpand.c:207: warning: suggest parentheses around assignment used as truth value rm -f histfile.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall histfile.c rm -f histsearch.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall histsearch.c rm -f shell.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall shell.c rm -f mbutil.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall mbutil.c mbutil.c: In function ‘_rl_find_next_mbchar_internal’: mbutil.c:119: warning: implicit declaration of function ‘wcwidth’ rm -f tilde.o gcc -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall - DREADLINE_LIBRARY -c ./tilde.c ./tilde.c: In function ‘tilde_expand’: ./tilde.c:199: warning: suggest parentheses around assignment used as truth value rm -f libreadline.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 test -n "ranlib" && ranlib libreadline.a rm -f libhistory.a ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o test -n "ranlib" && ranlib libhistory.a 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 /home/leopardi/src/sage/sage-4.4.1/local/include/readline ; \ done ( if test -d doc ; then \ cd doc && \ make -w infodir=/home/leopardi/src/sage/sage-4.4.1/local/share/info DESTDIR= install; \ fi ) make[3]: Entering directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/readline-6.0.p1/src/doc' /bin/sh ../support/mkdirs /home/leopardi/src/sage/sage-4.4.1/local/share/info /home/leopardi/src/sage/sage-4.4.1/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 /home/leopardi/src/sage/sage-4.4.1/local/share/info/readline.info; \ else \ /usr/bin/install -c -m 644 ./readline.info /home/leopardi/src/sage/sage-4.4.1/local/share/info/readline.info; \ fi if test -f rluserman.info; then \ /usr/bin/install -c -m 644 rluserman.info /home/leopardi/src/sage/sage-4.4.1/local/share/info/rluserman.info; \ else \ /usr/bin/install -c -m 644 ./rluserman.info /home/leopardi/src/sage/sage-4.4.1/local/share/info/rluserman.info; \ fi if test -f history.info; then \ /usr/bin/install -c -m 644 history.info /home/leopardi/src/sage/sage-4.4.1/local/share/info/history.info; \ else \ /usr/bin/install -c -m 644 ./history.info /home/leopardi/src/sage/sage-4.4.1/local/share/info/history.info; \ fi if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \ install-info --dir- file=/home/leopardi/src/sage/sage-4.4.1/local/share/info/dir \ /home/leopardi/src/sage/sage-4.4.1/local/share/info/readline.info ; \ install-info --dir- file=/home/leopardi/src/sage/sage-4.4.1/local/share/info/dir \ /home/leopardi/src/sage/sage-4.4.1/local/share/info/history.info ; \ install-info --dir- file=/home/leopardi/src/sage/sage-4.4.1/local/share/info/dir \ /home/leopardi/src/sage/sage-4.4.1/local/share/info/rluserman.info ; \ else true; fi /usr/bin/install -c -m 644 ./readline.3 /home/leopardi/src/sage/sage-4.4.1/local/share/man/man3/readline.3 /usr/bin/install -c -m 644 ./history.3 /home/leopardi/src/sage/sage-4.4.1/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 make[3]: Leaving directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/readline-6.0.p1/src/doc' test -d shlib || mkdir shlib ( cd shlib ; make -w all ) make[3]: Entering directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/readline-6.0.p1/src/shlib' rm -f readline.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o readline.o ../readline.c ../readline.c:1112: warning: ‘reset_default_bindings’ defined but not used mv readline.o readline.so rm -f vi_mode.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o vi_mode.o ../vi_mode.c mv vi_mode.o vi_mode.so rm -f funmap.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o funmap.o ../funmap.c mv funmap.o funmap.so rm -f keymaps.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o keymaps.o ../keymaps.c mv keymaps.o keymaps.so rm -f parens.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o parens.o ../parens.c mv parens.o parens.so rm -f search.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o search.o ../search.c ../search.c: In function ‘_rl_nsearch_init’: ../search.c:213: warning: too many arguments for format mv search.o search.so rm -f rltty.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o rltty.o ../rltty.c mv rltty.o rltty.so rm -f complete.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o complete.o ../complete.c ../complete.c: In function ‘fnwidth’: ../complete.c:643: warning: implicit declaration of function ‘wcwidth’ ../complete.c: In function ‘_rl_find_completion_word’: ../complete.c:945: warning: suggest parentheses around assignment used as truth value ../complete.c: In function ‘rl_completion_matches’: ../complete.c:1887: warning: suggest parentheses around assignment used as truth value ../complete.c: In function ‘rl_username_completion_function’: ../complete.c:1939: warning: suggest parentheses around assignment used as truth value mv complete.o complete.so rm -f bind.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o bind.o ../bind.c ../bind.c: In function ‘rl_translate_keyseq’: ../bind.c:444: warning: suggest parentheses around assignment used as truth value ../bind.c: In function ‘rl_parse_and_bind’: ../bind.c:1190: warning: suggest parentheses around assignment used as truth value ../bind.c:1281: warning: suggest parentheses around assignment used as truth value ../bind.c: In function ‘rl_function_dumper’: ../bind.c:2090: warning: suggest parentheses around assignment used as truth value ../bind.c: In function ‘rl_generic_bind’: ../bind.c:341: warning: ‘k.type’ may be used uninitialized in this function ../bind.c: In function ‘_rl_read_init_file’: ../bind.c:860: warning: ‘file_size’ may be used uninitialized in this function mv bind.o bind.so rm -f isearch.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o isearch.o ../isearch.c mv isearch.o isearch.so rm -f display.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o display.o ../display.c ../display.c: In function ‘rl_redisplay’: ../display.c:762: warning: implicit declaration of function ‘wcwidth’ ../display.c:499: warning: ‘n0’ may be used uninitialized in this function ../display.c:504: warning: ‘wc_width’ may be used uninitialized in this function mv display.o display.so rm -f signals.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o signals.o ../signals.c mv signals.o signals.so rm -f util.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o util.o ../util.c ../util.c: In function ‘_rl_tropen’: ../util.c:489: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘__pid_t’ mv util.o util.so rm -f kill.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o kill.o ../kill.c mv kill.o kill.so rm -f undo.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o undo.o ../undo.c ../undo.c: In function ‘_rl_copy_undo_list’: ../undo.c:140: warning: ‘roving’ may be used uninitialized in this function mv undo.o undo.so rm -f macro.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o macro.o ../macro.c mv macro.o macro.so rm -f input.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o input.o ../input.c ../input.c: In function ‘rl_read_key’: ../input.c:432: warning: suggest parentheses around assignment used as truth value mv input.o input.so rm -f callback.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o callback.o ../callback.c mv callback.o callback.so rm -f terminal.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o terminal.o ../terminal.c mv terminal.o terminal.so rm -f text.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o text.o ../text.c mv text.o text.so rm -f nls.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o nls.o ../nls.c mv nls.o nls.so rm -f misc.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o misc.o ../misc.c ../misc.c: In function ‘_rl_revert_all_lines’: ../misc.c:456: warning: suggest parentheses around assignment used as truth value mv misc.o misc.so rm -f xmalloc.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o xmalloc.o ../xmalloc.c mv xmalloc.o xmalloc.so rm -f history.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o history.o ../history.c mv history.o history.so rm -f histexpand.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o histexpand.o ../histexpand.c ../histexpand.c: In function ‘get_history_event’: ../histexpand.c:207: warning: suggest parentheses around assignment used as truth value mv histexpand.o histexpand.so rm -f histfile.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o histfile.o ../histfile.c mv histfile.o histfile.so rm -f histsearch.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o histsearch.o ../histsearch.c mv histsearch.o histsearch.so rm -f shell.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o shell.o ../shell.c mv shell.o shell.so rm -f mbutil.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o mbutil.o ../mbutil.c ../mbutil.c: In function ‘_rl_find_next_mbchar_internal’: ../mbutil.c:119: warning: implicit declaration of function ‘wcwidth’ mv mbutil.o mbutil.so rm -f tilde.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -DREADLINE_LIBRARY -c -o tilde.o ../tilde.c ../tilde.c: In function ‘tilde_expand’: ../tilde.c:199: warning: suggest parentheses around assignment used as truth value mv tilde.o tilde.so rm -f compat.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.0"' -O2 -g -Wall -fPIC -o compat.o ../compat.c mv compat.o compat.so rm -f libreadline.so.6.0 gcc -shared -Wl,-soname,libreadline.so.6.0 -Wl,- rpath,/home/leopardi/src/sage/sage-4.4.1/local/lib -Wl,-soname,`basename libreadline.so.6.0 .0` -o libreadline.so.6.0 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 rm -f libhistory.so.6.0 gcc -shared -Wl,-soname,libhistory.so.6.0 -Wl,- rpath,/home/leopardi/src/sage/sage-4.4.1/local/lib -Wl,-soname,`basename libhistory.so.6.0 .0` -o libhistory.so.6.0 history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so make[3]: Leaving directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/readline-6.0.p1/src/shlib' ( cd examples ; make -w DESTDIR= install ) make[3]: Entering directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/readline-6.0.p1/src/examples' /bin/sh ../support/mkdirs /home/leopardi/src/sage/sage-4.4.1/local/share/readline mkdir /home/leopardi/src/sage/sage-4.4.1/local/share/readline make[3]: Leaving directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/readline-6.0.p1/src/examples' mv /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.a /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.old mv: cannot stat `/home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.a': No such file or directory make[2]: [install-static] Error 1 (ignored) /usr/bin/install -c -m 644 libreadline.a /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.a test -n "ranlib" && ranlib /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.a mv /home/leopardi/src/sage/sage-4.4.1/local/lib/libhistory.a /home/leopardi/src/sage/sage-4.4.1/local/lib/libhistory.old mv: cannot stat `/home/leopardi/src/sage/sage-4.4.1/local/lib/libhistory.a': No such file or directory make[2]: [install-static] Error 1 (ignored) /usr/bin/install -c -m 644 libhistory.a /home/leopardi/src/sage/sage-4.4.1/local/lib/libhistory.a test -n "ranlib" && ranlib /home/leopardi/src/sage/sage-4.4.1/local/lib/libhistory.a ( cd shlib ; make -w DESTDIR= install ) make[3]: Entering directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/readline-6.0.p1/src/shlib' /bin/sh ../support/mkdirs /home/leopardi/src/sage/sage-4.4.1/local/lib /bin/sh ../support/shlib-install -O linux-gnu -d /home/leopardi/src/sage/sage-4.4.1/local/lib -b /home/leopardi/src/sage/sage-4.4.1/local/bin -i "/usr/bin/install -c -m 644" libhistory.so.6.0 /bin/sh ../support/shlib-install -O linux-gnu -d /home/leopardi/src/sage/sage-4.4.1/local/lib -b /home/leopardi/src/sage/sage-4.4.1/local/bin -i "/usr/bin/install -c -m 644" libreadline.so.6.0 install: you may need to run ldconfig make[3]: Leaving directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/readline-6.0.p1/src/shlib' make[2]: Leaving directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/readline-6.0.p1/src' real 0m37.651s user 0m22.260s sys 0m7.603s /bin/bash: symbol lookup error: /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.so.6: undefined symbol: PC Successfully installed readline-6.0.p1 Now cleaning up tmp files. Making Sage/Python scripts relocatable... Making script relocatable Finished installing readline-6.0.p1.spkg sage-spkg sqlite-3.6.22 2>&1 Warning: Attempted to overwrite SAGE_ROOT environment variable /bin/bash: symbol lookup error: /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.so.6: undefined symbol: PC /home/leopardi/src/sage/sage-4.4.1/local/bin/sage-env: line 168: [: =: unary operator expected /bin/bash: symbol lookup error: /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.so.6: undefined symbol: PC /bin/bash: symbol lookup error: /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.so.6: undefined symbol: PC /home/leopardi/src/sage/sage-4.4.1/local/bin/sage-env: line 213: [: =: unary operator expected sqlite-3.6.22 Machine: /bin/bash: symbol lookup error: /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.so.6: undefined symbol: PC Deleting directories from past builds of previous/current versions of sqlite-3.6.22 Extracting package /home/leopardi/src/sage/sage-4.4.1/spkg/standard/sqlite-3.6.22.spkg ... -rw-r--r-- 1 leopardi users 1080534 2010-03-02 01:20 /home/leopardi/src/sage/sage-4.4.1/spkg/standard/sqlite-3.6.22.spkg sqlite-3.6.22/ [...] Finished extraction **************************************************** Host system uname -a: /bin/bash: symbol lookup error: /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.so.6: undefined symbol: PC Unable to determine host system information. **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info -- mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable- languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release -- with-gxx-include-dir=/usr/include/c++/4.4 --enable-ssp --disable-libssp -- with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' -- disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.4 --enable-linux- futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic -- build=x86_64-suse-linux Thread model: posix gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux) **************************************************** bash: symbol lookup error: /home/leopardi/src/sage/sage-4.4.1/local/lib/libreadline.so.6: undefined symbol: PC real 0m0.005s user 0m0.001s sys 0m0.002s sage: An error occurred while installing sqlite-3.6.22 2. Problem with symmetrica Host system uname -a: Linux linfinit 2.6.31.12-0.1-default #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux **************************************************** **************************************************** CC Version gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info -- mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable- languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release -- with-gxx-include-dir=/usr/include/c++/4.4 --enable-ssp --disable-libssp -- with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' -- disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.4 --enable-linux- futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic -- build=x86_64-suse-linux Thread model: posix gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux) **************************************************** make[2]: Entering directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/symmetrica-2.0.p5/src' [...] mod_dg_sbd.c: In function ‘embedding_mod_into_ord’: mod_dg_sbd.c:624: warning: passing argument 4 of ‘qsort’ from incompatible pointer type /usr/include/stdlib.h:710: note: expected ‘__compar_fn_t’ but argument is of type ‘INT (*)()’ [...] gcc -c -O1 -fPIC -g -DFAST -DALLTRUE rh.c rh.c: In function ‘copy_poly’: rh.c:100: warning: cast from pointer to integer of different size rh.c:103: warning: cast from pointer to integer of different size rh.c: In function ‘copy_mon’: rh.c:114: warning: cast from pointer to integer of different size rh.c:117: warning: cast from pointer to integer of different size rh.c: In function ‘copy_var’: rh.c:128: warning: cast from pointer to integer of different size rh.c:131: warning: cast from pointer to integer of different size rh.c: In function ‘copy_rh’: rh.c:140: warning: cast from pointer to integer of different size rh.c:143: warning: cast from pointer to integer of different size [...] gcc -c -O1 -fPIC -g -DFAST -DALLTRUE ta.c ta.c: In function ‘sort_rows_tableaux_apply’: ta.c:1445: warning: passing argument 4 of ‘qsort’ from incompatible pointer type /usr/include/stdlib.h:710: note: expected ‘__compar_fn_t’ but argument is of type ‘INT (*)()’ [...] gcc -c -O1 -fPIC -g -DFAST -DALLTRUE tsh.c tsh.c: In function ‘tsh_eval_jt’: tsh.c:230: warning: passing argument 4 of ‘qsort’ from incompatible pointer type /usr/include/stdlib.h:710: note: expected ‘__compar_fn_t’ but argument is of type ‘INT (*)()’ [...] vc.c: In function ‘qsort_vector’: vc.c:512: warning: passing argument 4 of ‘qsort’ from incompatible pointer type /usr/include/stdlib.h:710: note: expected ‘__compar_fn_t’ but argument is of type ‘INT (*)()’ vc.c: In function ‘usersort_vector’: vc.c:526: warning: passing argument 4 of ‘qsort’ from incompatible pointer type /usr/include/stdlib.h:710: note: expected ‘__compar_fn_t’ but argument is of type ‘INT (*)()’ [...] gcc -O1 -fPIC -g -DFAST -DALLTRUE -lm test.c bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o -o test nb.o: In function `convert_radical_cyclo': /home/leopardi/src/sage/sage-4.4.1/spkg/build/symmetrica-2.0.p5/src/nb.c:4087: undefined reference to `cos' /home/leopardi/src/sage/sage-4.4.1/spkg/build/symmetrica-2.0.p5/src/nb.c:4087: undefined reference to `cos' /home/leopardi/src/sage/sage-4.4.1/spkg/build/symmetrica-2.0.p5/src/nb.c:4087: undefined reference to `cos' /home/leopardi/src/sage/sage-4.4.1/spkg/build/symmetrica-2.0.p5/src/nb.c:4087: undefined reference to `cos' collect2: ld returned 1 exit status make[2]: *** [test] Error 1 make[2]: Leaving directory `/home/leopardi/src/Sage/sage-4.4.1/spkg/build/symmetrica-2.0.p5/src' Error building symmetrica. real 11m18.893s user 8m44.467s sys 0m16.797s sage: An error occurred while installing symmetrica-2.0.p5 -- 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