Impossible de compiler GIAC depuis le CVS
Publié : sam. janv. 28, 2006 12:21 am
Bonsoir,
j'ai fait une copie de travail anonyme à l'aide du CVS
http://sourceforge.net/projects/xcas/
(
il serait d'ailleurs bien de le mentionner sur
http://www-fourier.ujf-grenoble.fr/~par ... le_fr.html
)
Je souhaite compiler GIAC.
$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking size of int... (cached) 4
checking size of long long... (cached) 8
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for bison... (cached) bison -y
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking for a sed that does not truncate output... (cached) /bin/sed
checking whether ln -s works... (cached) yes
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) .C
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking host system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether we are using GNU C... yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking whether ln -s works... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to produce relocatable object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking for main in -lm... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for unistd.h... (cached) yes
checking for readline/readline.h... (cached) yes
checking for readline/history.h... (cached) yes
checking for tgetent... (cached) no
checking for tgetent in -lncurses... (cached) yes
checking for readline in -lreadline... (cached) yes
checking for iostream... (cached) yes
checking for vector... (cached) yes
checking for list... (cached) yes
checking for map... (cached) yes
checking for string... (cached) yes
checking for stdexcept... (cached) yes
checking for algorithm... (cached) yes
checking for main in -lgslcblas... (cached) yes
checking for gsl_sf_gamma in -lgsl... (cached) yes
checking for Cygwin environment... (cached) no
checking for X... (cached) libraries /usr/X11R6/lib, headers
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
X libraries found, checking for GUI
checking for main in -lgl... (cached) no
checking for main in -lfltk_gl... (cached) yes
checking for main in -lfltk... (cached) yes
checking for main in -lz... (cached) yes
checking for main in -lpng... (cached) yes
checking for main in -lfltk_images... (cached) yes
checking for main in -lpari... (cached) yes
checking for main in -lntl... (cached) yes
checking for recent enough gmp.h... (cached) yes
checking for working libgmp... (cached) yes
checking for main in -lmpfr... (cached) yes
checking for gnuplot... (cached) /usr/bin/gnuplot
checking for ext/hash_map... (cached) yes
checking for hash_map... (cached) no
checking for sstream... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating include/Makefile
creating check/Makefile
creating debian/Makefile
creating doc/Makefile
creating config.h
config.h is unchanged
===========================================================
=== configure has detected the following install options.
=== Please check the messages below before running "make".
=== If configure was wrong, you can modify config.h and
=== add manually libraries -Lpath -llibname in src/Makefile
=== at the line LIBS =
=== If built seems too long, edit src/Makefile and remove
=== -O2 at the line CXXFLAGS =
=== (for more details see the INSTALL file)
== Enabling debug support
== Disabling gc support
== Disabling semi-classical routines
Configuration done. Now type "make".
$ make
g++ -c -o giac_sym2poly.o -O2 -Iinclude -I. -fPIC -DPIC -MTgiac_sym2poly.o -MF`echo giac_sym2poly.o | sed -e 's,\.o$,.d,'` -MD src/sym2poly.cc
include/global.h: In constructor ‘giac::std_matrix<T>::std_matrix()’:
include/global.h:145: erreur: expected template-name before ‘<’ token
include/global.h:145: erreur: expected `(' before ‘<’ token
include/global.h:145: erreur: expected `{' before ‘<’ token
include/global.h: In constructor ‘giac::std_matrix<T>::std_matrix(int)’:
include/global.h:146: erreur: expected template-name before ‘<’ token
include/global.h:146: erreur: expected `(' before ‘<’ token
include/global.h:146: erreur: expected `{' before ‘<’ token
include/global.h: In constructor ‘giac::std_matrix<T>::std_matrix(int, const giac::dbgprint_vector<T>&)’:
include/global.h:147: erreur: expected template-name before ‘<’ token
include/global.h:147: erreur: expected `(' before ‘<’ token
include/global.h:147: erreur: expected `{' before ‘<’ token
include/global.h: In constructor ‘giac::std_matrix<T>::std_matrix(int, int)’:
include/global.h:148: erreur: expected template-name before ‘<’ token
include/global.h:148: erreur: expected `(' before ‘<’ token
include/global.h:148: erreur: expected `{' before ‘<’ token
include/global.h: In constructor ‘giac::std_matrix<T>::std_matrix(int, int, const T&)’:
include/global.h:149: erreur: expected template-name before ‘<’ token
include/global.h:149: erreur: expected `(' before ‘<’ token
include/global.h:149: erreur: expected `{' before ‘<’ token
include/global.h: In member function ‘giac::std_matrix<T> giac::std_matrix<T>::transpose() const’:
include/global.h:153: erreur: there are no arguments to ‘empty’ that depend on a template parameter, so a declaration of ‘empty’ must be available
include/global.h:153: erreur: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
include/global.h:155: erreur: there are no arguments to ‘size’ that depend on a template parameter, so a declaration of ‘size’ must be available
include/global.h:156: erreur: there are no arguments to ‘front’ that depend on a template parameter, so a declaration of ‘front’ must be available
include/global.h:158: erreur: there are no arguments to ‘begin’ that depend on a template parameter, so a declaration of ‘begin’ must be available
make: *** [giac_sym2poly.o] Erreur 1
Je suis sur GNU/Linux Ubuntu Breezy
Merci de m'aider
Cordialement
j'ai fait une copie de travail anonyme à l'aide du CVS
http://sourceforge.net/projects/xcas/
(
il serait d'ailleurs bien de le mentionner sur
http://www-fourier.ujf-grenoble.fr/~par ... le_fr.html
)
Je souhaite compiler GIAC.
$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking size of int... (cached) 4
checking size of long long... (cached) 8
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for bison... (cached) bison -y
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking for a sed that does not truncate output... (cached) /bin/sed
checking whether ln -s works... (cached) yes
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) .C
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) no
checking if we can lock with hard links... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking host system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether we are using GNU C... yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking whether ln -s works... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to produce relocatable object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking for main in -lm... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for unistd.h... (cached) yes
checking for readline/readline.h... (cached) yes
checking for readline/history.h... (cached) yes
checking for tgetent... (cached) no
checking for tgetent in -lncurses... (cached) yes
checking for readline in -lreadline... (cached) yes
checking for iostream... (cached) yes
checking for vector... (cached) yes
checking for list... (cached) yes
checking for map... (cached) yes
checking for string... (cached) yes
checking for stdexcept... (cached) yes
checking for algorithm... (cached) yes
checking for main in -lgslcblas... (cached) yes
checking for gsl_sf_gamma in -lgsl... (cached) yes
checking for Cygwin environment... (cached) no
checking for X... (cached) libraries /usr/X11R6/lib, headers
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
X libraries found, checking for GUI
checking for main in -lgl... (cached) no
checking for main in -lfltk_gl... (cached) yes
checking for main in -lfltk... (cached) yes
checking for main in -lz... (cached) yes
checking for main in -lpng... (cached) yes
checking for main in -lfltk_images... (cached) yes
checking for main in -lpari... (cached) yes
checking for main in -lntl... (cached) yes
checking for recent enough gmp.h... (cached) yes
checking for working libgmp... (cached) yes
checking for main in -lmpfr... (cached) yes
checking for gnuplot... (cached) /usr/bin/gnuplot
checking for ext/hash_map... (cached) yes
checking for hash_map... (cached) no
checking for sstream... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating include/Makefile
creating check/Makefile
creating debian/Makefile
creating doc/Makefile
creating config.h
config.h is unchanged
===========================================================
=== configure has detected the following install options.
=== Please check the messages below before running "make".
=== If configure was wrong, you can modify config.h and
=== add manually libraries -Lpath -llibname in src/Makefile
=== at the line LIBS =
=== If built seems too long, edit src/Makefile and remove
=== -O2 at the line CXXFLAGS =
=== (for more details see the INSTALL file)
== Enabling debug support
== Disabling gc support
== Disabling semi-classical routines
Configuration done. Now type "make".
$ make
g++ -c -o giac_sym2poly.o -O2 -Iinclude -I. -fPIC -DPIC -MTgiac_sym2poly.o -MF`echo giac_sym2poly.o | sed -e 's,\.o$,.d,'` -MD src/sym2poly.cc
include/global.h: In constructor ‘giac::std_matrix<T>::std_matrix()’:
include/global.h:145: erreur: expected template-name before ‘<’ token
include/global.h:145: erreur: expected `(' before ‘<’ token
include/global.h:145: erreur: expected `{' before ‘<’ token
include/global.h: In constructor ‘giac::std_matrix<T>::std_matrix(int)’:
include/global.h:146: erreur: expected template-name before ‘<’ token
include/global.h:146: erreur: expected `(' before ‘<’ token
include/global.h:146: erreur: expected `{' before ‘<’ token
include/global.h: In constructor ‘giac::std_matrix<T>::std_matrix(int, const giac::dbgprint_vector<T>&)’:
include/global.h:147: erreur: expected template-name before ‘<’ token
include/global.h:147: erreur: expected `(' before ‘<’ token
include/global.h:147: erreur: expected `{' before ‘<’ token
include/global.h: In constructor ‘giac::std_matrix<T>::std_matrix(int, int)’:
include/global.h:148: erreur: expected template-name before ‘<’ token
include/global.h:148: erreur: expected `(' before ‘<’ token
include/global.h:148: erreur: expected `{' before ‘<’ token
include/global.h: In constructor ‘giac::std_matrix<T>::std_matrix(int, int, const T&)’:
include/global.h:149: erreur: expected template-name before ‘<’ token
include/global.h:149: erreur: expected `(' before ‘<’ token
include/global.h:149: erreur: expected `{' before ‘<’ token
include/global.h: In member function ‘giac::std_matrix<T> giac::std_matrix<T>::transpose() const’:
include/global.h:153: erreur: there are no arguments to ‘empty’ that depend on a template parameter, so a declaration of ‘empty’ must be available
include/global.h:153: erreur: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
include/global.h:155: erreur: there are no arguments to ‘size’ that depend on a template parameter, so a declaration of ‘size’ must be available
include/global.h:156: erreur: there are no arguments to ‘front’ that depend on a template parameter, so a declaration of ‘front’ must be available
include/global.h:158: erreur: there are no arguments to ‘begin’ that depend on a template parameter, so a declaration of ‘begin’ must be available
make: *** [giac_sym2poly.o] Erreur 1
Je suis sur GNU/Linux Ubuntu Breezy
Merci de m'aider
Cordialement