sage-4.3.5 built error on fedora 11

6 views
Skip to first unread message

ggrafendorfer

unread,
Mar 30, 2010, 4:29:44 PM3/30/10
to sage-devel
Hi,

sage-4.3.5 on Phenom II X4, fedora 11,

the same happens since sage-4.3.1 (which I reported on sage-support
before), I know there is a workaround by changing the pari package,
but I'm trying to spread sage on my university (ETH Zürich), we all
use the same OS where the same error occurs, so this does not help me
very much in convincing other people using sage when even building
only works by following nasty instructions,

here are the relevant parts of the log file:

Finished installing mpir-1.2.2.p0.spkg
sage-spkg pari-2.3.3.p8 2>&1
Warning: Attempted to overwrite SAGE_ROOT environment variable
pari-2.3.3.p8
Machine:
Linux maschke 2.6.30.10-105.2.23.fc11.x86_64 #1 SMP Thu Feb 11
07:06:34 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
Deleting directories from past builds of previous/current versions of
pari-2.3.3.p8
Extracting package /scratch/usr/local/bin/sage-4.3.5/spkg/standard/
pari-2.3.3.p8.spkg ...
-rw-r--r--. 1 ggeorg a-g3 1872550 2010-02-11 17:56 /scratch/usr/local/
bin/sage-4.3.5/spkg/standard/pari-2.3.3.p8.spkg
pari-2.3.3.p8/
pari-2.3.3.p8/src/
.
.
.
pari-2.3.3.p8/SPKG.txt
Finished extraction
****************************************************
Host system
uname -a:
Linux maschke 2.6.30.10-105.2.23.fc11.x86_64 #1 SMP Thu Feb 11
07:06:34 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/
bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --
enable-checking=release --with-system-zlib --enable-__cxa_atexit --
disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c+
+,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-
plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --
enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/
usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --
with-cloog --with-tune=generic --with-arch_32=i586 --build=x86_64-
redhat-linux
Thread model: posix
gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC)
****************************************************
Configuring pari-2.3.3 (STABLE)
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 /usr/bin/gzip
...ranlib is /usr/bin/ranlib
...perl is /usr/bin/perl
...emacs is /usr/bin/emacs
GNU compiler version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC)
Given the previous choices, sizeof(long) is 8 chars.
The internal word representation of a double is not needed (64bit).
==========================================================================
Building for architecture: amd64 running linux (x86-64/GMP kernel) 64-
bit version
==========================================================================
C compiler is gcc -O1 -Wall -fno-strict-aliasing -fomit-frame-
pointer -fPIC
Executable linker is gcc -O1 -Wall -fno-strict-aliasing -fomit-
frame-pointer -Wl,--export-dynamic
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.
...I did not find dlopen.
Try again, with -ldl this time...
...Found dlopen.
Checking for optional libraries and headers...
...Found libgmp in /scratch/usr/local/bin/sage-4.3.5/local/lib
...Found gmp header in /scratch/usr/local/bin/sage-4.3.5/local/include
Using GNU MP, version 4.2.1
###
### libX11.so not found. Please install X11 development files.
### They usually come in XFree86-devel (RPM) or xlibs-dev (Debian)
packages
###
### X11 not found
...Found libfltk in /usr/local/lib64
Using FLTK library, FLTKDIR = /usr/local
Hi-Res Graphics: fltk
...Found libreadline in /scratch/usr/local/bin/sage-4.3.5/local/lib
...Found readline header in /scratch/usr/local/bin/sage-4.3.5/local/
include/readline
...Found history header in /scratch/usr/local/bin/sage-4.3.5/local/
include/readline
...Found libncurses in /usr/lib64
...Found libtermcap in /scratch/usr/local/bin/sage-4.3.5/local/lib/
...Library termcap needed by readline
Using GNU readline, version 6.0
Installation prefix ? [/scratch/usr/local/bin/sage-4.3.5/local]
...for architecture-independent files (share-prefix) ? [/scratch/usr/
local/bin/sage-4.3.5/local/share]
Installation directories for:
...executables (gp, gphelp) ? [/scratch/usr/local/bin/sage-4.3.5/local/
bin]
...libraries (libpari) ? [/scratch/usr/local/bin/sage-4.3.5/local/lib]
...include files ? [/scratch/usr/local/bin/sage-4.3.5/local/include]
...manual pages ? [/scratch/usr/local/bin/sage-4.3.5/local/share/man/
man1]
...emacs macros ? [/scratch/usr/local/bin/sage-4.3.5/local/share/emacs/
site-lisp/pari]
...other system-dependant data ? [/scratch/usr/local/bin/sage-4.3.5/
local/lib/pari]
...other system-independant data ? [/scratch/usr/local/bin/sage-4.3.5/
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
./config/paricfgDOS.h.SH: line 3: Olinux-x86_64/../Odos/paricfg.h: No
such file or directory
Extracting scripts and macros
...in doc
...in emacs
...in misc
==========================================================================
Shall we try to build pari 2.3.3 (released) now (y/n)? [n]
Ok. Type "make install" when you are ready
Bye !
Building and install PARI
make[2]: Entering directory `/scratch/usr/local/bin/sage-4.3.5/spkg/
build/pari-2.3.3.p8/src'
Making gp in Olinux-x86_64
make[3]: Entering directory `/scratch/usr/local/bin/sage-4.3.5/spkg/
build/pari-2.3.3.p8/src/Olinux-x86_64'
../config/genkernel ../src/kernel/x86_64/asm0.h > parilvl0.h
cat ../src/kernel/gmp/tune.h ../src/kernel/gmp/int.h ../src/kernel/
none/level1.h > parilvl1.h
cat parilvl0.h parilvl1.h > pariinl.h
gcc -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -
I../src/headers -I../src/language -I/scratch/usr/local/bin/sage-4.3.5/
local/include -o gp.o ../src/gp/gp.c
cd ../src/desc && /usr/bin/perl merge_822 ../functions/*/* > def-linux-
x86_64-21088.tmp
mv ../src/desc/def-linux-x86_64-21088.tmp ../src/desc/pari.desc
cd ../src/desc && /usr/bin/perl gen_proto gp pari.desc > gp_init-linux-
x86_64-21088.tmp
mv ../src/desc/gp_init-linux-x86_64-21088.tmp ../src/gp/gp_init.h
gcc -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -
I../src/headers -I../src/graph -o gp_init.o ../src/gp/gp_init.c
gcc -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -
I../src/headers -I../src/language -I/scratch/usr/local/bin/sage-4.3.5/
local/include -o gp_rl.o ../src/gp/gp_rl.c
cd ../src/desc && /usr/bin/perl gen_proto highlevel pari.desc >
highlvl-linux-x86_64-21088.tmp
mv ../src/desc/highlvl-linux-x86_64-21088.tmp ../src/gp/highlvl.h
gcc -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -
I../src/headers -DDL_DFLT_NAME=NULL -o highlvl.o ../src/gp/highlvl.c
gcc -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -
I../src/headers -o whatnow.o ../src/gp/whatnow.c
gcc -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -
I../src/headers -I../src/graph -o plotport.o ../src/graph/plotport.c
g++ -c -O1 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../
src/headers -I"/usr/local"/include -o plotfltk.o ../src/graph/
plotfltk.c
../src/graph/plotfltk.c:27:19: error: FL/Fl.H: No such file or
directory
../src/graph/plotfltk.c:28:26: error: FL/Fl_Window.H: No such file or
directory
../src/graph/plotfltk.c:29:24: error: FL/fl_draw.H: No such file or
directory
../src/graph/plotfltk.c:31: error: expected class-name before '{'
token
../src/graph/plotfltk.c:45: error: 'Fl_Color' does not name a type
../src/graph/plotfltk.c:48: error: 'Fl_Color' does not name a type
../src/graph/plotfltk.c: In constructor 'Plotter::Plotter(long int*,
long int*, long int*, long int, const char*)':
../src/graph/plotfltk.c:56: error: class 'Plotter' does not have any
field named 'Fl_Window'
../src/graph/plotfltk.c:60: error: 'color' was not declared in this
scope
../src/graph/plotfltk.c:60: error: 'FL_WHITE' was not declared in this
scope
../src/graph/plotfltk.c:61: error: 'FL_BLACK' was not declared in this
scope
../src/graph/plotfltk.c:62: error: 'FL_BLUE' was not declared in this
scope
../src/graph/plotfltk.c:63: error: 'rgb_color' was not declared in
this scope
../src/graph/plotfltk.c:64: error: 'FL_RED' was not declared in this
scope
../src/graph/plotfltk.c:65: error: 'FL_GREEN' was not declared in this
scope
../src/graph/plotfltk.c: In function 'void DrawPoint(void*, long int,
long int)':
../src/graph/plotfltk.c:73: error: 'fl_point' was not declared in this
scope
../src/graph/plotfltk.c: In function 'void DrawLine(void*, long int,
long int, long int, long int)':
../src/graph/plotfltk.c:79: error: 'fl_line' was not declared in this
scope
../src/graph/plotfltk.c: In function 'void DrawRectangle(void*, long
int, long int, long int, long int)':
../src/graph/plotfltk.c:85: error: 'fl_rect' was not declared in this
scope
../src/graph/plotfltk.c: In function 'void DrawPoints(void*, long int,
plot_points*)':
../src/graph/plotfltk.c:92: error: 'fl_point' was not declared in this
scope
../src/graph/plotfltk.c: In function 'void SetForeground(void*, long
int)':
../src/graph/plotfltk.c:97: error: 'Fl_Color' was not declared in this
scope
../src/graph/plotfltk.c:97: error: 'color' was not declared in this
scope
../src/graph/plotfltk.c:97: error: expected primary-expression before
')' token
../src/graph/plotfltk.c:97: error: expected ';' before 'data'
../src/graph/plotfltk.c:98: error: 'fl_color' was not declared in this
scope
../src/graph/plotfltk.c: In function 'void DrawLines(void*, long int,
plot_points*)':
../src/graph/plotfltk.c:105: error: 'fl_line' was not declared in this
scope
../src/graph/plotfltk.c: In function 'void DrawString(void*, long int,
long int, char*, long int)':
../src/graph/plotfltk.c:111: error: 'fl_draw' was not declared in this
scope
../src/graph/plotfltk.c: In member function 'void Plotter::draw()':
../src/graph/plotfltk.c:118: error: 'class Plotter' has no member
named 'w'
../src/graph/plotfltk.c:119: error: 'class Plotter' has no member
named 'h'
../src/graph/plotfltk.c:121: error: 'FL_COURIER' was not declared in
this scope
../src/graph/plotfltk.c:121: error: 'fl_font' was not declared in this
scope
../src/graph/plotfltk.c:122: error: 'FL_WHITE' was not declared in
this scope
../src/graph/plotfltk.c:122: error: 'fl_color' was not declared in
this scope
../src/graph/plotfltk.c:123: error: 'class Plotter' has no member
named 'w'
../src/graph/plotfltk.c:123: error: 'class Plotter' has no member
named 'h'
../src/graph/plotfltk.c:123: error: 'fl_rectf' was not declared in
this scope
../src/graph/plotfltk.c:133: error: 'color' was not declared in this
scope
../src/graph/plotfltk.c: In member function 'int
Plotter::handle(int)':
../src/graph/plotfltk.c:140: error: 'FL_PUSH' was not declared in this
scope
../src/graph/plotfltk.c:141: error: 'Fl' has not been declared
../src/graph/plotfltk.c:155: error: 'class Plotter' has no member
named 'x'
../src/graph/plotfltk.c:156: error: 'class Plotter' has no member
named 'y'
../src/graph/plotfltk.c:157: error: 'class Plotter' has no member
named 'w'
../src/graph/plotfltk.c:158: error: 'class Plotter' has no member
named 'h'
../src/graph/plotfltk.c:159: error: 'class Plotter' has no member
named 'fullscreen'
../src/graph/plotfltk.c:163: error: 'class Plotter' has no member
named 'fullscreen_off'
../src/graph/plotfltk.c:164: error: 'class Plotter' has no member
named 'size_range'
../src/graph/plotfltk.c: In function 'void rectdraw0(long int*, long
int*, long int*, long int)':
../src/graph/plotfltk.c:188: error: 'Fl' has not been declared
../src/graph/plotfltk.c:188: error: 'FL_DOUBLE' was not declared in
this scope
../src/graph/plotfltk.c:188: error: 'FL_INDEX' was not declared in
this scope
../src/graph/plotfltk.c:190: error: 'class Plotter' has no member
named 'size_range'
../src/graph/plotfltk.c:191: error: 'class Plotter' has no member
named 'box'
../src/graph/plotfltk.c:191: error: 'FL_FLAT_BOX' was not declared in
this scope
../src/graph/plotfltk.c:192: error: 'class Plotter' has no member
named 'end'
../src/graph/plotfltk.c:193: error: 'class Plotter' has no member
named 'show'
../src/graph/plotfltk.c:194: error: 'Fl' has not been declared
make[3]: *** [plotfltk.o] Error 1
make[3]: Leaving directory `/scratch/usr/local/bin/sage-4.3.5/spkg/
build/pari-2.3.3.p8/src/Olinux-x86_64'
make[2]: *** [gp] Error 2
make[2]: Leaving directory `/scratch/usr/local/bin/sage-4.3.5/spkg/
build/pari-2.3.3.p8/src'
Error building GP

real 0m5.974s
user 0m3.031s
sys 0m2.052s
sage: An error occurred while installing pari-2.3.3.p8
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /scratch/usr/local/bin/sage-4.3.5/install.log. Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/scratch/usr/local/bin/sage-4.3.5/spkg/build/pari-2.3.3.p8 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 '/scratch/usr/local/bin/sage-4.3.5/spkg/build/pari-2.3.3.p8' && '/
scratch/usr/local/bin/sage-4.3.5/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/pari-2.3.3.p8] Error 1
make[1]: Leaving directory `/scratch/usr/local/bin/sage-4.3.5/spkg'

real 14m20.247s
user 8m8.499s
sys 5m32.249s
Error building Sage.
./sage -docbuild all html 2>&1 | tee -a dochtml.log
python: can't open file '/scratch/usr/local/bin/sage-4.3.5/devel/sage/
doc/common/builder.py': [Errno 2] No such file or directory


thanks, Georg

Reply all
Reply to author
Forward
0 new messages