Subject: Can't build Maxima because I can't build GCL...
From: Alexey Beshenov
Date: Mon, 10 Nov 2008 23:29:54 +0300
On Monday 10 November 2008 07:19:50 Michael Abshoff wrote:
> - Older version of gcl are incompatible with Fedora "exec-shield"
> and strong addess space randomization (setting randomize_va_space
> to 2). Newest CVS version of 2.6.8 branch of gcl fixes this
> problem. - gcl needs bfd library. ?Many Linux systems include
> version of bfd library which is incompatible with gcl. ?Using the
> following configure line should fix this problem:
> ? ? ?./configure --disable-xgcl --disable-dynsysbfd
> --disable-statsysbfd --enable-locbfd
As for the 2.6.7 tarball:
~/gcl-2.6.7$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
host=i686-pc-linux-gnu
enable_machine=
use=386-linux
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... gawk
checking system version (for dynamic loading)... checking for
makeinfo... makeinfo
./configure: 1: Syntax error: Unterminated quoted string
It could be corrected though: http://savannah.gnu.org/bugs/?20836
After that `./configure` faults with another problem:
http://bugs.gentoo.org/show_bug.cgi?id=186926
Then I've got the latest CVS code.
`make` reports a missing target "/usr/lib/libbfd.a". (It's pretty clean
that I have to install libbfd-dev, but it should be correctly
reported by `./configure`.)
Another issue:
~/gcl$ make
...
gcc -c -fsigned-char -pipe -Wall -O3 -fomit-frame-pointer -I/home/alexey/gcl/o
-I../h -I../gcl-tk unixfsys.c
unixfsys.c: In function 'truename':
unixfsys.c:157: sorry, unimplemented: inlining failed in call to 'getwd': redefined
extern inline functions are not considered for inlining
unixfsys.c:282: sorry, unimplemented: called from here
unixfsys.c:157: sorry, unimplemented: inlining failed in call to 'getwd': redefined
extern inline functions are not considered for inlining
unixfsys.c:316: sorry, unimplemented: called from here
unixfsys.c:157: sorry, unimplemented: inlining failed in call to 'getwd': redefined
extern inline functions are not considered for inlining
unixfsys.c:333: sorry, unimplemented: called from here
make[1]: *** [unixfsys.o] Error 1
Reconfiguring with --disable- flags doesn't make much sense here.
It looks like a common problem:
http://axiom-wiki.newsynthesis.org/404AxiomGoldDoesNotBuildOnOpenSUSE103X8664
--
Prickle Prickle, Aftermath 22 YOLD 3174
Alexey Beshenov http://beshenov.ru/