On Oct 22, 6:52 pm, John Voight [EMAIL PROTECTED] wrote:
Hi all,
I did a fresh install of Ubuntu, downloaded 2.8.7, then did a sage -
upgrade, and got the following error:
[EMAIL PROTECTED]:/home/kostadm/sage# ./sage -upgrade
[...]
GCC Version
gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c+
+,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-
system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-
threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/
4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-
linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
make[1]: Entering directory `/home/kostadm/sage/spkg/build/
singular-3-0-3-2-20071020/src'
make[1]: *** No rule to make target `distclean'. Stop.
make[1]: Leaving directory `/home/kostadm/sage/spkg/build/
singular-3-0-3-2-20071020/src'
rm: cannot remove `/home/kostadm/sage/local/bin/Singular*': No such
file or directory
creating cache ./config.cache
checking uname for singular... ix86-Linux
checking for gcc... gcc
checking whether the C compiler (gcc -fPIC -O3 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
Unable to configure Singular.
Command exited with non-zero status 1
0.41user 0.31system 0:01.31elapsed 55%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (0major+40811minor)pagefaults 0swaps
sage: An error occurred while installing singular-3-0-3-2-20071020
Please email sage-develhttp://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/kostadm/sage/install.log. Describe your computer, operating
system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/home/kostadm/sage/spkg/build/singular-3-0-3-2-20071020 and type
'make'.
Instead (using bash) type source local/bin/sage-env from the
directory
/home/kostadm/sage
in order to set all environment variables correctly, then cd to
/home/kostadm/sage/spkg/build/singular-3-0-3-2-20071020
make: *** [installed/singular-3-0-3-2-20071020] Error 1
Command exited with non-zero status 2
11.77user 1.40system 0:30.39elapsed 43%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (0major+47241minor)pagefaults 0swaps
Hello John,
I'm sure I must need to do something trivial, but what is that trivial
thing?
according to the configure script you have a gcc, but it fails to
compile with -fPIC -O3
checking for gcc... gcc
checking whether the C compiler (gcc -fPIC -O3 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
Unable to configure Singular.
Command exited with non-zero status 1
Could you try compiling hello world or some or simple C program with
the same options and see if anything pops up? The autoconf run of
Singular also leaves a log around. There you should find the exact
failure why that config test failed.
Thanks, JV
Cheers,
Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---