Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Sage 5.3 compilation error
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jeffrey Edlund  
View profile  
 More options Nov 8 2012, 2:56 am
From: Jeffrey Edlund <jeffreyedl...@gmail.com>
Date: Wed, 7 Nov 2012 23:56:39 -0800 (PST)
Local: Thurs, Nov 8 2012 2:56 am
Subject: Sage 5.3 compilation error

On Debian Wheezy on x86_64 with kernel 3.2.0-3-amd64 I get the
following error:

gcc  -o gp-dyn -L"/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86 _64" -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer  -g -I/home/jedlund/local/Linux-x86_64/include -I/home/jedlund/local/Linux-x86_64/include -I/home/jedlund/local/independent/include -I/home/jedlund/local/Linux-x86_64/include -I/home/jedlund/local/Linux-x86_64/include -I/home/jedlund/local/independent/include -Wl,--export-dynamic -L/home/jedlund/local/Linux-x86_64/lib -L/home/jedlund/local/Linux-x86_64/lib gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plotport.o plotnull.o  -L/home/jedlund/Downloads/sage-5.3/local/lib -lreadline -L/home/jedlund/Downloads/sage-5.3/local/lib/ -ltermcap -lpari  -lm -ldl
gp.o: In function `what_readline':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp.c:761: undefined reference to `rl_library_version'
gp_rl.o: In function `change_state':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:115: undefined reference to `rl_save_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:118: undefined reference to `rl_restore_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:115: undefined reference to `rl_save_prompt'
gp_rl.o: In function `pari_rl_forward_sexp':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:260: undefined reference to `rl_ding'
gp_rl.o: In function `rl_print_aide':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:528: undefined reference to `rl_save_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:531: undefined reference to `rl_restore_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:528: undefined reference to `rl_save_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:531: undefined reference to `rl_restore_prompt'
gp_rl.o: In function `change_state':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:115: undefined reference to `rl_save_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:118: undefined reference to `rl_restore_prompt'
gp_rl.o: In function `pari_rl_complete':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:115: undefined reference to `rl_save_prompt'
gp_rl.o: In function `treat_single':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:317: undefined reference to `rl_completion_append_character'
gp_rl.o: In function `pari_completion':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:571: undefined reference to `rl_completion_append_character'
gp_rl.o: In function `get_matches':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:356: undefined reference to `rl_completion_matches'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:356: undefined reference to `rl_filename_completion_function'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:356: undefined reference to `rl_completion_matches'
gp_rl.o: In function `pari_completion':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:584: undefined reference to `rl_username_completion_function'
gp_rl.o: In function `add_space':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:557: undefined reference to `rl_completion_append_character'
gp_rl.o: In function `get_matches':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:356: undefined reference to `rl_completion_matches'
gp_rl.o: In function `change_state':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:115: undefined reference to `rl_save_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:118: undefined reference to `rl_restore_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:115: undefined reference to `rl_save_prompt'
gp_rl.o: In function `init_readline':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:762: undefined reference to `vi_movement_keymap'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:763: undefined reference to `vi_movement_keymap'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:769: undefined reference to `vi_movement_keymap'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64 /../src/gp/gp_rl.c:771: undefined reference to `vi_movement_keymap'
collect2: error: ld returned 1 exit status
make[3]: *** [gp-dyn] Error 1
make[3]: Leaving directory `/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_6 4'
make[2]: *** [gp] Error 2
make[2]: Leaving directory `/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src'
Error: Building PARI/GP failed.

Any ideas on how to fix this? I tried running the ubuntu_12.04 binaries, but they don't work on debian wheezy.

Thanks,

Jeffrey


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Demeyer  
View profile  
 More options Nov 8 2012, 8:16 am
From: Jeroen Demeyer <jdeme...@cage.ugent.be>
Date: Thu, 08 Nov 2012 14:16:31 +0100
Local: Thurs, Nov 8 2012 8:16 am
Subject: Re: [sage-devel] Sage 5.3 compilation error
On 2012-11-08 08:56, Jeffrey Edlund wrote:

Could you attach the PARI log file (as mentioned in the message below
the part you quoted).

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey Edlund  
View profile  
 More options Nov 8 2012, 4:18 pm
From: Jeffrey Edlund <jeffreyedl...@gmail.com>
Date: Thu, 8 Nov 2012 13:18:17 -0800 (PST)
Local: Thurs, Nov 8 2012 4:18 pm
Subject: Re: [sage-devel] Sage 5.3 compilation error

> Could you attach the PARI log file (as mentioned in the message below
> the part you quoted).

I tried to attach the file, but google groups keeps giving me an error #340
when I try to post the message. We'll see if this message goes through.  
Also I found out that the binaries in
sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux work fine on debian
wheezy.

Thanks,

Jeffrey


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey Edlund  
View profile  
 More options Nov 8 2012, 4:22 pm
From: Jeffrey Edlund <jeffreyedl...@gmail.com>
Date: Thu, 8 Nov 2012 13:22:15 -0800 (PST)
Local: Thurs, Nov 8 2012 4:22 pm
Subject: Re: [sage-devel] Sage 5.3 compilation error

I could not get the file to attach and post. I have pasted the file below:

pari-2.5.2.p0
====================================================
Extracting package
/home/jedlund/Downloads/sage-5.3/spkg/standard/pari-2.5.2.p0.spkg
-rw-r--r-- 1 jedlund jedlund 3374195 Sep  8 05:47
/home/jedlund/Downloads/sage-5.3/spkg/standard/pari-2.5.2.p0.spkg
Finished extraction
****************************************************
Host system:
Linux altair 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64
GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.1-7'
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc
--with-arch-32=i586 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.1 (Debian 4.7.1-7)
****************************************************
patching file src/language/init.c
patching file config/get_config_options
patching file config/get_dlcflags
patching file config/get_fltk
patching file config/get_ld
patching file config/get_tests
patching file config/get_X11
Hunk #1 succeeded at 29 (offset 1 line).
patching file config/Makefile.SH
patching file src/kernel/gmp/mp.c
patching file misc/tex2mail.in
patching file doc/gphelp.in
============================================================
Configuring PARI/GP without graphics support (for plotting).
If you need it, pass the appropriate option(s) to PARI by
setting and exporting $PARI_EXTRA_OPTS prior to building
Sage (or at least before you build/install the PARI spkg),
e.g. by typing at the shell prompt:
    export PARI_EXTRA_OPTS="--graphic=auto"
or
    export PARI_EXTRA_OPTS="--with-fltk"
Note that PARI doesn't treat it as an error if the requested
graphics library or the corresponding header files are not
found; it will then simply disable graphics support.
Please consult the PARI documentation for further details.
============================================================

To minimize Sage build time and to ensure the best reliability, PARI/GP
will not be tuned for your system. Experience shows tuning can be
unreliable. If you do want to tune PARI/GP, set the environment
variable SAGE_TUNE_pari="yes" by typing the following before building
Sage (or at least before building/installing PARI/GP):
  SAGE_TUNE_pari=yes
  export SAGE_TUNE_pari
If you do this, we strongly recommend to also enable checking. For this,
type the following:
  SAGE_CHECK=yes
  export SAGE_CHECK

Configuring pari-2.5.2 (STABLE) [ development git-b703ee3 ]
Checking echo to see how to suppress newlines...
...using -n.
Looking for some tools first ...
...ld is /usr/bin/ld
...zcat is /bin/zcat
...gzip is /bin/gzip
...ranlib is /usr/bin/ranlib
...perl is /usr/bin/perl
GNU compiler version 4.7.1 (Debian 4.7.1-7)
Given the previous choices, sizeof(long) is 8 chars.
The internal word representation of a double is not needed (64bit).
==========================================================================
Building for: amd64 running linux (x86-64/GMP kernel) 64-bit version
==========================================================================
C compiler is          gcc -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -fPIC
Executable linker is   gcc  -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -Wl,--export-dynamic
-L/home/jedlund/local/Linux-x86_64/lib
-L/home/jedlund/local/Linux-x86_64/lib
Dynamic Lib linker is  gcc  -shared  $(CFLAGS) $(DLCFLAGS)
-Wl,-shared,-soname=$(LIBPARI_SONAME)
Looking in C lib for some symbols...
...Found exp2.
...Found log2.
...Found strftime.
...Found getrusage.
...Found sigaction.
...Found TIOCGWINSZ.
...Found getrlimit.
...Found stat.
...Found vsnprintf.
...Found waitpid.
...Found setsid.
...Found getenv.
...Found isatty.
...Found alarm.
...I did not find dlopen.
Try again, with -ldl this time...
...Found dlopen.
Checking for optional libraries and headers...
...Found libgmp in /home/jedlund/Downloads/sage-5.3/local/lib
...Found gmp header in /home/jedlund/Downloads/sage-5.3/local/include
Using GNU MP, version 5.0.2
Hi-Res Graphics: none
...Found libreadline in /home/jedlund/Downloads/sage-5.3/local/lib
...Found readline header in
/home/jedlund/Downloads/sage-5.3/local/include/readline
...Found history header in
/home/jedlund/Downloads/sage-5.3/local/include/readline
...Found libtermcap in /home/jedlund/Downloads/sage-5.3/local/lib/
...Library termcap needed by readline
Using GNU readline, version 6.2
Installation prefix ? [/home/jedlund/Downloads/sage-5.3/local]
...for architecture-independent files (share-prefix) ?
[/home/jedlund/Downloads/sage-5.3/local/share]
Installation directories for:
...executables (gp, gphelp) ? [/home/jedlund/Downloads/sage-5.3/local/bin]
...libraries (libpari) ? [/home/jedlund/Downloads/sage-5.3/local/lib]
...include files ? [/home/jedlund/Downloads/sage-5.3/local/include]
...manual pages ? [/home/jedlund/Downloads/sage-5.3/local/share/man/man1]
...other system-dependent data ?
[/home/jedlund/Downloads/sage-5.3/local/lib/pari]
...other system-independent data ?
[/home/jedlund/Downloads/sage-5.3/local/share/pari]
Default is dynamic executable and shared library
==========================================================================
Extracting examples/Makefile.linux-x86_64
Extracting Olinux-x86_64/Makefile
Extracting Makefile
Extracting Olinux-x86_64/paricfg.h
Extracting Olinux-x86_64/../Odos/paricfg.h
Extracting scripts and macros
...in doc
...in misc
==========================================================================
Shall we try to build pari 2.5.2 (development git-b703ee3) now (y/n)? [n]
Ok. Type "make install" when you are ready
Bye !
make[2]: Entering directory
`/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src'
Making gp in Olinux-x86_64
make[3]: Entering directory
`/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_6 4'
../config/genkernel ../src/kernel/x86_64/asm0.h > parilvl0.h
if test -r ./tune.h; then d=.; else d=../src/kernel/gmp; fi;          cat
$d/tune.h ../src/kernel/gmp/int.h ../src/kernel/none/level1.h > parilvl1.h
cat parilvl0.h parilvl1.h > mpinl.h
gcc  -c -I. -I../src/headers -I../src/language
-I/home/jedlund/Downloads/sage-5.3/local/include -O3 -Wall
-fno-strict-aliasing -fomit-frame-pointer  -g   -o gp.o ../src/gp/gp.c
gcc  -c -I. -I../src/headers -I../src/graph -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o gp_init.o ../src/gp/gp_init.c
gcc  -c -I. -I../src/headers -I../src/language
-I/home/jedlund/Downloads/sage-5.3/local/include -O3 -Wall
-fno-strict-aliasing -fomit-frame-pointer  -g   -o gp_rl.o ../src/gp/gp_rl.c
gcc  -c -I. -I../src/headers -DDL_DFLT_NAME=NULL -O3 -Wall
-fno-strict-aliasing -fomit-frame-pointer  -g   -o highlvl.o
../src/gp/highlvl.c
gcc  -c -I. -I../src/headers -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o whatnow.o ../src/gp/whatnow.c
gcc  -c -I. -I../src/headers -I../src/graph -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o plotport.o ../src/graph/plotport.c
gcc  -c -I. -I../src/headers  -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o plotnull.o ../src/graph/plotnull.c
cat ../src/kernel/gmp/mp.c ../src/kernel/none/cmp.c
../src/kernel/none/gcdll.c ../src/kernel/none/ratlift.c  
../src/kernel/none/invmod.c ../src/kernel/gmp/gcd.c
../src/kernel/gmp/gcdext.c ../src/kernel/none/mp_indep.c
../src/kernel/none/add.c > mp.c
gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer  -g  
-funroll-loops -fPIC -I. -I../src/headers
-I/home/jedlund/Downloads/sage-5.3/local/include -o mp.o mp.c
gcc  -c -I. -I../src/headers -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -fPIC -o mpinl.o ../src/kernel/none/mpinl.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o F2x.o ../src/basemath/F2x.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o FF.o ../src/basemath/FF.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o Flx.o ../src/basemath/Flx.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o FpE.o ../src/basemath/FpE.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o FpV.o ../src/basemath/FpV.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o FpX.o ../src/basemath/FpX.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o Hensel.o ../src/basemath/Hensel.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o QX_factor.o ../src/basemath/QX_factor.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o Qfb.o ../src/basemath/Qfb.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o RgV.o ../src/basemath/RgV.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o RgX.o ../src/basemath/RgX.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer  -g   -o ZV.o ../src/basemath/ZV.c
gcc  -c -I. -I../src/headers -fPIC -O3 -Wall
...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »