Hi William, thanks for your answer. I already thought about the gcc-problem. And yes, i´m using gcc 4.2.1. I´ve just hoped, that this problem was fixed from 2.7 to 2.7.2 ;)
Another question about ATLAS. I´ve installed it in /opt/atlas/ {lib,include}. How can i tell sage (numpy,scipy,linbox,...) to use this libraries? Thanks so far Volker On 1 Aug., 23:32, "William Stein" <[EMAIL PROTECTED]> wrote: > On 8/1/07, legout <[EMAIL PROTECTED]> wrote: > > > > > Hi > > > i can´t get sage-2.7.2 to compile sucessfully. It stops while > > compiling linbox_wrap. Here´s a part of the install.log. > > You probably are yet another person who can't build SAGE because > linbox won't build with gcc >= 4.2. What does the output > of "gcc -v" say on your system? Also, what OS, linux distro, > etc., are you using? > > > checking for a BSD-compatible install... /bin/install -c > > checking whether build environment is sane... yes > > checking for gawk... gawk > > checking whether make sets $(MAKE)... yes > > checking build system type... i686-pc-linux-gnu > > checking host system type... i686-pc-linux-gnu > > checking for style of include used by make... GNU > > 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 dependency style of gcc... gcc3 > > checking for a sed that does not truncate output... /bin/sed > > checking for grep that handles long lines and -e... /bin/grep > > checking for egrep... /bin/grep -E > > checking for ld used by gcc... ld > > checking if the linker (ld) is GNU ld... yes > > checking for ld option to reload object files... -r > > checking for BSD-compatible nm... /usr/bin/nm -B > > checking whether ln -s works... yes > > checking how to recognise dependent libraries... pass_all > > checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes > > checking dlfcn.h presence... yes > > checking for dlfcn.h... yes > > 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... g++ -E > > checking for g77... no > > checking for xlf... no > > checking for f77... no > > checking for frt... no > > checking for pgf77... no > > checking for cf77... no > > checking for fort77... no > > checking for fl32... no > > checking for af77... no > > checking for xlf90... no > > checking for f90... f90 > > checking whether we are using the GNU Fortran 77 compiler... yes > > checking whether f90 accepts -g... yes > > checking the maximum length of command line arguments... 32768 > > checking command to parse /usr/bin/nm -B output from gcc object... ok > > checking for objdir... .libs > > checking for ar... ar > > checking for ranlib... ranlib > > checking for strip... strip > > checking if gcc supports -fno-rtti -fno-exceptions... no > > checking for gcc option to produce PIC... -fPIC > > checking if gcc PIC flag -fPIC works... yes > > checking if gcc static flag -static works... yes > > checking if gcc supports -c -o file.o... yes > > checking whether the gcc linker (ld) supports shared libraries... yes > > checking whether -lc should be explicitly linked in... no > > checking dynamic linker characteristics... GNU/Linux ld.so > > checking how to hardcode library paths into programs... immediate > > checking whether stripping libraries is possible... yes > > checking if libtool supports shared libraries... yes > > checking whether to build shared libraries... yes > > checking whether to build static libraries... yes > > configure: creating libtool > > appending configuration tag "CXX" to libtool > > checking for ld used by g++... ld > > checking if the linker (ld) is GNU ld... yes > > checking whether the g++ linker (ld) supports shared libraries... yes > > checking for g++ option to produce PIC... -fPIC > > checking if g++ PIC flag -fPIC works... yes > > checking if g++ static flag -static works... yes > > checking if g++ supports -c -o file.o... yes > > checking whether the g++ linker (ld) supports shared libraries... yes > > checking dynamic linker characteristics... GNU/Linux ld.so > > checking how to hardcode library paths into programs... immediate > > appending configuration tag "F77" to libtool > > checking if libtool supports shared libraries... yes > > checking whether to build shared libraries... yes > > checking whether to build static libraries... yes > > checking for f90 option to produce PIC... -fPIC > > checking if f90 PIC flag -fPIC works... yes > > checking if f90 static flag -static works... yes > > checking if f90 supports -c -o file.o... yes > > checking whether the f90 linker (ld) supports shared libraries... yes > > checking dynamic linker characteristics... GNU/Linux ld.so > > checking how to hardcode library paths into programs... immediate > > checking for a BSD-compatible install... /bin/install -c > > checking whether we are using the GNU C++ compiler... (cached) yes > > checking whether g++ accepts -g... (cached) yes > > checking dependency style of g++... (cached) gcc3 > > checking whether make sets $(MAKE)... (cached) yes > > checking for ANSI C header files... (cached) yes > > checking linbox/solutions/minpoly.h usability... no > > checking linbox/solutions/minpoly.h presence... yes > > configure: WARNING: linbox/solutions/minpoly.h: present but cannot be > > compiled > > configure: WARNING: linbox/solutions/minpoly.h: check for missing > > prerequisite headers? > > configure: WARNING: linbox/solutions/minpoly.h: see the Autoconf > > documentation > > configure: WARNING: linbox/solutions/minpoly.h: section "Present > > But Cannot Be Compiled" > > configure: WARNING: linbox/solutions/minpoly.h: proceeding with the > > preprocessor's result > > configure: WARNING: linbox/solutions/minpoly.h: in the future, the > > compiler will take precedence > > checking for linbox/solutions/minpoly.h... yes > > checking how to get verbose linking output from f90... -v > > checking for Fortran 77 libraries of f90... -L/home/volker/downloads/ > > sage-2.7.2/local/lib -L. -L/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 -L/usr/ > > lib/gcc/i686-pc-linux-gnu/4.2.1/../../.. -lgfortranbegin -lgfortran - > > lm > > checking for cblas_dgemm in /home/volker/downloads/sage-2.7.2/local/ > > lib/libgslcblas.so... yes > > configure: creating ./config.status > > config.status: creating Makefile > > config.status: executing depfiles commands > > make[2]: Entering directory `/home/volker/downloads/sage-2.7.2/spkg/ > > build/linbox-20070717/linbox_wrap' > > if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME= > > \"liblinboxwrap\" -DPACKAGE_TARNAME=\"liblinboxwrap\" - > > DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"liblinboxwrap\ 0.0.1\" - > > DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"liblinboxwrap\" -DVERSION= > > \"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 - > > DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - > > DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 - > > DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 - > > DHAVE_LINBOX_SOLUTIONS_MINPOLY_H=1 -DHAVE_BLAS=1 -I. -I. -I/home/ > > volker/downloads/sage-2.7.2/local/include -fPIC -I"/home/volker/ > > downloads/sage-2.7.2/local/include" -L"/home/volker/downloads/ > > sage-2.7.2/local/lib" -MT linbox_wrap.lo -MD -MP -MF ".deps/ > > linbox_wrap.Tpo" -c -o linbox_wrap.lo `test -f 'src/linbox_wrap.cpp' > > || echo './'`src/linbox_wrap.cpp; \ > > then mv -f ".deps/linbox_wrap.Tpo" ".deps/linbox_wrap.Plo"; else rm > > - > > f ".deps/linbox_wrap.Tpo"; exit 1; fi > > mkdir .libs > > g++ -DPACKAGE_NAME=\"liblinboxwrap\" -DPACKAGE_TARNAME=\"liblinboxwrap > > \" -DPACKAGE_VERSION=\"0.0.1\" "-DPACKAGE_STRING=\"liblinboxwrap > > 0.0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"liblinboxwrap\" - > > DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 - > > DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - > > DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - > > DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 - > > DHAVE_LINBOX_SOLUTIONS_MINPOLY_H=1 -DHAVE_BLAS=1 -I. -I. -I/home/ > > volker/downloads/sage-2.7.2/local/include -fPIC -I/home/volker/ > > downloads/sage-2.7.2/local/include -L/home/volker/downloads/sage-2.7.2/ > > local/lib -MT linbox_wrap.lo -MD -MP -MF .deps/linbox_wrap.Tpo -c src/ > > linbox_wrap.cpp -fPIC -DPIC -o .libs/linbox_wrap.o > > In file included from src/linbox_wrap.cpp:14: > > /home/volker/downloads/sage-2.7.2/local/include/linbox/algorithms/blas- > > domain.h: In member function 'Polynomial& > > LinBox::BlasMatrixDomain<Field>::charpoly(Polynomial&, const Matrix&) > > const': > > /home/volker/downloads/sage-2.7.2/local/include/linbox/algorithms/blas- > > domain.h:443: error: type/value mismatch at argument 3 in template > > parameter list for 'template<class Field, class Polynomial, > > template<class> class Container, class Matrix> class > > LinBox::BlasMatrixDomainCharpoly' > > /home/volker/downloads/sage-2.7.2/local/include/linbox/algorithms/blas- > > domain.h:443: error: expected a template of type 'template<class> > > class Container', got 'template<class _Tp, class _Alloc> class > > std::list' > > /home/volker/downloads/sage-2.7.2/local/include/linbox/algorithms/blas- > > domain.h: In member function 'std::list<Polynomial, > > std::allocator<_Tp1> >& > > LinBox::BlasMatrixDomain<Field>::charpoly(std::list<Polynomial, > > std::allocator<_Tp1> >&, const Matrix&) const': > > /home/volker/downloads/sage-2.7.2/local/include/linbox/algorithms/blas- > > domain.h:463: error: type/value mismatch at argument 3 in template > > parameter list for 'template<class Field, class Polynomial, > > template<class> class Container, class Matrix> class > > LinBox::BlasMatrixDomainCharpoly' > > /home/volker/downloads/sage-2.7.2/local/include/linbox/algorithms/blas- > > domain.h:463: error: expected a template of type 'template<class> > > class Container', got 'template<class _Tp, class _Alloc> class > > std::list' > > In file included from > > ... > > Erfahren Sie mehr >> --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@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-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---