Je viens de remettre sur pied ma gentoo et je souhaite installer xcas.
J'ai trouvé cet ebuild http://gitweb.thetys-retz.net/overlay/t ... atics/giac
J'ai installé avant fltk, gsl , pari, ntl, mpfr et gmp
Tout ce passe bien au début de la compilation mais j'ai cette erreur
Code : Tout sélectionner
/bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -O2 -march=i686 -pipe -fno-strict-aliasing -MT rpn.lo -MD -MP -MF .deps/rpn.Tpo -c -o rpn.lo rpn.cc
libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DIN_GIAC -I. -I.. -I. -I.. -O2 -march=i686 -pipe -fno-strict-aliasing -MT rpn.lo -MD -MP -MF .deps/rpn.Tpo -c rpn.cc -fPIC -DPIC -o .libs/rpn.o
rpn.cc:1387: erreur: explicit qualification in declaration of ‘giac::_concat_CONCAT_s’
rpn.cc:1387: erreur: ‘giac::_concat_CONCAT_s’ declared as reference but not initialized
rpn.cc:1388: erreur: ‘__CONCAT’ was not declared in this scope
make[2]: *** [rpn.lo] Erreur 1
make[2]: quittant le répertoire « /var/tmp/portage/sci-mathematics/giac-0.9.0/work/giac-0.9.0/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/sci-mathematics/giac-0.9.0/work/giac-0.9.0 »
make: *** [all] Erreur 2
* ERROR: sci-mathematics/giac-0.9.0 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 2318: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =sci-mathematics/giac-0.9.0',
* the complete build log and the output of 'emerge -pqv =sci-mathematics/giac-0.9.0'.
* This ebuild is from an overlay: '/usr/local/portage/'
* The complete build log is located at '/var/tmp/portage/sci-mathematics/giac-0.9.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/giac-0.9.0/temp/environment'.
* S: '/var/tmp/portage/sci-mathematics/giac-0.9.0/work/giac-0.9.0'
>>> Failed to emerge sci-mathematics/giac-0.9.0, Log file:
>>> '/var/tmp/portage/sci-mathematics/giac-0.9.0/temp/build.log'
* Messages for package sci-mathematics/giac-0.9.0:
* ERROR: sci-mathematics/giac-0.9.0 failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 2318: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
* If you need support, post the output of 'emerge --info =sci-mathematics/giac-0.9.0',
* the complete build log and the output of 'emerge -pqv =sci-mathematics/giac-0.9.0'.
* This ebuild is from an overlay: '/usr/local/portage/'
* The complete build log is located at '/var/tmp/portage/sci-mathematics/giac-0.9.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/giac-0.9.0/temp/environment'.
* S: '/var/tmp/portage/sci-mathematics/giac-0.9.0/work/giac-0.9.0'
J'ai lancé un revdep-rebuild pour vérifier s'il y avait des librairie cassée.
Il y a bien quelque "no" dans le configure mais je n'ai pas l'impression qu'ils ne sont pas c'est obligatoire.
si vous avez une idée, je vous rémercie par avance . (je posterai aussi sur un forum de gentoo ce soir)
voici le configure
Code : Tout sélectionner
* USE: elibc_glibc kernel_linux userland_GNU x86 xcas
>>> Unpacking source...
>>> Unpacking giac-0.9.0.tar.gz to /var/tmp/portage/sci-mathematics/giac-0.9.0/work
>>> Source unpacked in /var/tmp/portage/sci-mathematics/giac-0.9.0/work
>>> Compiling source in /var/tmp/portage/sci-mathematics/giac-0.9.0/work/giac-0.9.0 ...
* econf: updating giac-0.9.0/config/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating giac-0.9.0/config/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-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 for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of i686-pc-linux-gnu-g++... (cached) gcc3
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/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
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for standard C++ header files... yes
checking for recent enough gmp.h... yes
checking for working libgmp... yes
checking mpfr.h usability... yes
checking mpfr.h presence... yes
checking for mpfr.h... yes
checking for main in -lmpfr... yes
checking for mpfr_set_str_raw... no
checking for main in -lm... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for main in -lpng... yes
checking for dlopen in -ldl... yes
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking gsl/gsl_blas.h usability... yes
checking gsl/gsl_blas.h presence... yes
checking for gsl/gsl_blas.h... yes
checking gsl/gsl_eigen.h usability... yes
checking gsl/gsl_eigen.h presence... yes
checking for gsl/gsl_eigen.h... yes
checking for main in -lgslcblas... yes
checking for gsl_sf_gamma in -lgsl... yes
checking pari/pari.h usability... yes
checking pari/pari.h presence... yes
checking for pari/pari.h... yes
checking for main in -lpari... yes
checking NTL/ZZ.h usability... yes
checking NTL/ZZ.h presence... yes
checking for NTL/ZZ.h... yes
checking for main in -lntl... yes
checking gmpxx.h usability... yes
checking gmpxx.h presence... yes
checking for gmpxx.h... yes
checking for main in -lgmpxx... yes
checking CoCoA/ZZ.H usability... no
checking CoCoA/ZZ.H presence... no
checking for CoCoA/ZZ.H... no
checking host system type... (cached) i686-pc-linux-gnu
checking for tgetent... no
checking for tgetent in -lncurses... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for version of libreadline... yes
checking for readline in -lreadline... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lGL... yes
checking for main in -lXinerama... yes
checking for main in -lfontconfig... yes
checking for main in -lXft... yes
checking for main in -lXext... yes
checking for main in -lfltk_gl... no
checking for main in -lfltk... no
checking for main in -lz... yes
checking for png.h... (cached) yes
checking for main in -lpng... (cached) yes
checking for main in -ljpeg... yes
checking for main in -lfltk_images... no
checking for main in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for sysconf... yes
checking for clock_gettime in -lrt... yes
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
checking tr1/unordered_map usability... yes
checking tr1/unordered_map presence... yes
checking for tr1/unordered_map... yes
checking hash_map usability... yes
checking hash_map presence... yes
checking for hash_map... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/types.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for getpid... yes
checking for getcwd... yes
checking for getpwuid... yes
checking for system... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for i686-pc-linux-gnu-ranlib... (cached) i686-pc-linux-gnu-ranlib
checking for strerror in -lcposix... no
checking for an ANSI C-conforming const... yes
checking for signed... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... 4294967295U
checking for stdint.h... (cached) yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for locale.h... (cached) yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 2.4.2, ok
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for main in -lintl... no
checking for egrep... (cached) /bin/grep -E
checking for latex... /usr/bin/latex
checking for makeindex... /usr/bin/makeindex
checking for pdflatex... /usr/bin/pdflatex
checking for dvips... /usr/bin/dvips
checking for latex2html... /usr/bin/latex2html
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating check/Makefile
config.status: creating doc/Makefile
config.status: creating doc/en/Makefile
config.status: creating doc/es/Makefile
config.status: creating doc/fr/Makefile
config.status: creating doc/el/Makefile
config.status: creating doc/el/tutoriel/Makefile
config.status: creating doc/el/casinter/Makefile
config.status: creating doc/local/Makefile
config.status: creating doc/pt/Makefile
config.status: creating intl/Makefile
config.status: WARNING: 'intl/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating po/Makefile.in
config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating examples/Makefile
config.status: creating debianold/Makefile
config.status: creating debian/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Adding link . to giac in src