Hi,

Sorry that I realized this is the devel group instead of support group
only after I had applied and was approved membership. If this is the
wrong group, please let  me know.

I was (am) building Sage 4.7 from source on a freshly installed
OpenSUSE 11.4 (the binary for Ubuntu didn't work). After a couple of
problems that I was able to find solutions on searching this group
(like readline, /libppl.so.9.0.0, etc). I met one that I couldn't find
solutions online. Thus I need your help.

My machine is an old Dell Precision 450, Xeon 2.8G, 2G RAM.

The error happened at building R and it complains my c compiler. Any
ideas?

Thanks,

Andrew.

The following is the relevant install.log:


Warning: Attempted to overwrite SAGE_ROOT environment variable
r-2.10.1.p4
Machine:
Linux linux-qg73 2.6.37.6-0.5-default #1 SMP 2011-04-25 21:48:33 +0200
i686 i686 i386 GNU/Linux
Deleting directories from past builds of previous/current versions of
r-2.10.1.p4
Extracting package /home/andrew/Download/software/sage-4.7/spkg/
standard/r-2.10.1.p4.spkg ...
-rw-r--r-- 1 andrew users 17013408 Sep 26  2010 /home/andrew/Download/
software/sage-4.7/spkg/standard/r-2.10.1.p4.spkg
Finished extraction
****************************************************
Host system
uname -a:
Linux linux-qg73 2.6.37.6-0.5-default #1 SMP 2011-04-25 21:48:33 +0200
i686 i686 i386 GNU/Linux
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.5/lto-wrapper
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --
enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-
checking=release --with-gxx-include-dir=/usr/include/c++/4.5 --enable-
ssp --disable-libssp --disable-plugin --with-bugurl=http://
bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --
disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-
__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.5 --enable-
linux-futex --without-system-libunwind --enable-gold --with-plugin-ld=/
usr/bin/gold --with-arch-32=i586 --with-tune=generic --build=i586-suse-
linux
Thread model: posix
gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE
Linux)
****************************************************
Configuring R with ATLAS
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
loading site script './config.site'
loading build-specific script './config.site'
checking for pwd... /bin/pwd
checking whether builddir is srcdir... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for gawk... gawk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether ln -s works... yes
checking for bison... no
checking for byacc... no
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for sed... /usr/bin/sed
checking for less... /usr/bin/less
checking for perl... /usr/bin/perl
checking whether perl version is at least 5.8.0... yes
checking for gtar... no
checking for tar... /bin/tar
checking for dvips... /home/andrew/Software/texlive/2010/bin/i386-
linux/dvips
checking for tex... /home/andrew/Software/texlive/2010/bin/i386-linux/
tex
checking for latex... /home/andrew/Software/texlive/2010/bin/i386-
linux/latex
checking for makeindex... /home/andrew/Software/texlive/2010/bin/i386-
linux/makeindex
checking for pdftex... /home/andrew/Software/texlive/2010/bin/i386-
linux/pdftex
checking for pdflatex... /home/andrew/Software/texlive/2010/bin/i386-
linux/pdflatex
checking for makeinfo... /usr/bin/makeinfo
checking whether makeinfo version is at least 4.7... yes
checking for texi2dvi... /usr/bin/texi2dvi
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for gzip... /usr/bin/gzip
checking for bzip2... /home/andrew/Download/software/sage-4.7/local/
bin/bzip2
checking for firefox... /usr/bin/firefox
using default browser ... /usr/bin/firefox
checking for acroread... no
checking for acroread4... no
checking for xdg-open... /usr/bin/xdg-open
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
Configuring R with fallback options
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
loading site script './config.site'
loading build-specific script './config.site'
checking for pwd... /bin/pwd
checking whether builddir is srcdir... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for gawk... gawk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether ln -s works... yes
checking for bison... no
checking for byacc... no
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for sed... /usr/bin/sed
checking for less... /usr/bin/less
checking for perl... /usr/bin/perl
checking whether perl version is at least 5.8.0... yes
checking for gtar... no
checking for tar... /bin/tar
checking for dvips... /home/andrew/Software/texlive/2010/bin/i386-
linux/dvips
checking for tex... /home/andrew/Software/texlive/2010/bin/i386-linux/
tex
checking for latex... /home/andrew/Software/texlive/2010/bin/i386-
linux/latex
checking for makeindex... /home/andrew/Software/texlive/2010/bin/i386-
linux/makeindex
checking for pdftex... /home/andrew/Software/texlive/2010/bin/i386-
linux/pdftex
checking for pdflatex... /home/andrew/Software/texlive/2010/bin/i386-
linux/pdflatex
checking for makeinfo... /usr/bin/makeinfo
checking whether makeinfo version is at least 4.7... yes
checking for texi2dvi... /usr/bin/texi2dvi
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for gzip... /usr/bin/gzip
checking for bzip2... /home/andrew/Download/software/sage-4.7/local/
bin/bzip2
checking for firefox... /usr/bin/firefox
using default browser ... /usr/bin/firefox
checking for acroread... no
checking for acroread4... no
checking for xdg-open... /usr/bin/xdg-open
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
Error configuring R.

real    0m1.607s
user    0m0.420s
sys     0m0.148s
sage: An error occurred while installing r-2.10.1.p4
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/andrew/Download/software/sage-4.7/install.log.  Describe your
computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/andrew/Download/software/sage-4.7/spkg/build/r-2.10.1.p4 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 '/home/andrew/Download/software/sage-4.7/spkg/build/r-2.10.1.p4'
&& '/home/andrew/Download/software/sage-4.7/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to