Akshay Pande wrote:
Dear David

I installed sage from a binary version. I indeed did not have g++
installed. But when I tried to install it via synaptic I got the
following error

W: Failed to fetch 
http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_2.6.24-26.64_i386.deb
  404 Not Found

Do you have the log which you got when you built without g++ installed? I would really like to see that, as it will help me enhance the check for Sage's prerequisites so that the problem is more obvious and does not result in a misleading error message.

If you restart the build, the file install.log get appended to, so it will not have overwritten anything. It's the output of the following bits I'd like to see:


base/prereq-0.7-install
Starting prerequisite check.
Machine: SunOS hawk 5.11 snv_111b i86pc i386 i86pc
prereq-0.7/
prereq-0.7/autom4te.cache/
prereq-0.7/autom4te.cache/requests
prereq-0.7/autom4te.cache/output.0
prereq-0.7/autom4te.cache/traces.1
prereq-0.7/autom4te.cache/traces.2
prereq-0.7/autom4te.cache/output.1
prereq-0.7/autom4te.cache/traces.0
prereq-0.7/autom4te.cache/output.2
prereq-0.7/config.h.in
prereq-0.7/configure.ac
prereq-0.7/m4/
prereq-0.7/m4/ax_gcc_option.m4
prereq-0.7/m4/ax_gxx_option.m4
prereq-0.7/m4/ax_c_check_flag.m4
prereq-0.7/m4/ax_gcc_version.m4
prereq-0.7/m4/ax_gxx_version.m4
prereq-0.7/m4/ax_with_perl.4
prereq-0.7/m4/ax_prog_perl_version.m4
prereq-0.7/depcomp
prereq-0.7/missing
prereq-0.7/aclocal.m4
prereq-0.7/install-sh
prereq-0.7/configure
prereq-0.7/Makefile.in
prereq-0.7/config.sub
prereq-0.7/config.guess
prereq-0.7/Makefile.am
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for flex... no
checking for lex... lex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for bison... no
checking for byacc... no
checking for ar... yes
checking for m4... yes
checking for ranlib... yes
checking for ld... yes
checking for strip... yes
checking for bash... yes
checking for latex... no
configure: WARNING: You do not have 'latex', which is recommended, but not
configure: WARNING: required. Latex is only really used for building pdf
configure: WARNING: documents and for %latex mode in the Sage notebook.
checking for perl... /usr/bin/perl
checking for Perl version 5.8.0 or later... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking whether we are using the GNU Fortran compiler... (cached) yes
checking whether gfortran accepts -g... (cached) yes
checking for Fortran flag needed to allow free-form source... -ffree-form
configure: Your Fortran compiler accepts free-format source code
configure: which older F77 compilers do not. This does not 100%
configure: guarantee your compiler is suitable for building SAGE
configure: but it probably is.
checking if gcc accepts -dumpversion option... yes
checking gcc version... 4.3.4
checking if g++ accepts -dumpversion option... yes
checking g++ version... 4.3.4
configure: Excellent, the C, C++ and Fortran compilers are all GCC 4.3.4
configure: Excellent, GCC 4.3.4 is later than the minimum
configure: needed to build Sage, which is GCC version 4.0.1
checking for sqrtl in -lm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands


Dave

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to