bonjour,
j'ai installé gmp via yum, mais lors de l'installation d'un logiciel celui-ci me dit que gmp n'est pas installé.voici le code :
j'ai installé gmp via yum, mais lors de l'installation d'un logiciel celui-ci me dit que gmp n'est pas installé.voici le code :
rpmbuild --rebuild mozart-1.4.0.20080704-16189.src.rpm
Installing mozart-1.4.0.20080704-16189.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.51002
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf mozart-1.4.0.20080704
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/mozart-1.4.0.20080704-src.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mozart-1.4.0.20080704
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd /root/rpmbuild/BUILD
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/mozart-1.4.0.20080704-std.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mozart-1.4.0.20080704
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.95226
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd mozart-1.4.0.20080704
+ LANG=C
+ export LANG
+ unset DISPLAY
+ : '-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ : '-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ export CFLAGS CXXFLAGS
+ ./configure --prefix=/var/tmp/mozart-1.4.0.20080704/usr/lib/mozart --with-ozhome=/usr/lib/mozart --enable-opt=yes --disable-contrib-micq
creating cache ./config.cache
checking for SRCTOP... /root/rpmbuild/BUILD/mozart-1.4.0.20080704
checking for BUILDTOP... /root/rpmbuild/BUILD/mozart-1.4.0.20080704
checking host system type... x86_64-unknown-linux-gnu
checking for gmake... gmake
checking whether gmake sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for --with-global-oz... no
checking for mkinstalldirs... /root/rpmbuild/BUILD/mozart-1.4.0.20080704/mkinstalldirs
checking for oz version... 1.4.0
checking for ozplatform... /root/rpmbuild/BUILD/mozart-1.4.0.20080704/share/bin/ozplatform
checking for oztool... no
checking for --with-inc-dir...
checking for --with-lib-dir...
checking for build date... 20080920
checking for OZLOADSEP... :
checking for OZLOADWIN...
checking for --enable-contrib... yes
checking for --enable-doc... yes
checking for --enable-subdirs... platform share contrib doc
checking for --with-stdlib...
updating cache ./config.cache
creating ./config.status
creating Makefile
configuring in platform
running /bin/sh /root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/configure --prefix=/var/tmp/mozart-1.4.0.20080704/usr/lib/mozart --with-ozhome=/usr/lib/mozart --enable-opt=yes --disable-contrib-micq --cache-file=.././config.cache --srcdir=/root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform
loading cache .././config.cache
checking for SRCTOP... (cached) /root/rpmbuild/BUILD/mozart-1.4.0.20080704
checking for BUILDTOP... (cached) /root/rpmbuild/BUILD/mozart-1.4.0.20080704
checking host system type... x86_64-unknown-linux-gnu
checking for GNU make... (cached) gmake
checking whether gmake sets ${MAKE}... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for --with-global-oz... no
checking for mkinstalldirs... (cached) /root/rpmbuild/BUILD/mozart-1.4.0.20080704/mkinstalldirs
checking for oz version... (cached) 1.4.0
checking for ozplatform... (cached) /root/rpmbuild/BUILD/mozart-1.4.0.20080704/share/bin/ozplatform
checking for oztool... no
checking for --with-inc-dir...
checking for --with-lib-dir...
checking for build date... (cached) 20080920
checking for OZLOADSEP... (cached) :
checking for OZLOADWIN... (cached)
checking for --enable-wish... yes
creating ./config.status
creating Makefile
configuring in dss
running /bin/sh /root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/dss/configure --prefix=/var/tmp/mozart-1.4.0.20080704/usr/lib/mozart --with-ozhome=/usr/lib/mozart --enable-opt=yes --disable-contrib-micq --cache-file=../.././config.cache --srcdir=/root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/dss
configure: loading cache ../.././config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for g++... g++
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 g++ accepts -g... yes
checking for gcc... gcc
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 a BSD-compatible install... (cached) /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for sqrt... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for g++ version... 4.3.0
*************** CHECKING OPTIONS ****************
Options can be found in README
checking compiler alternative.... compile optimized mode
checking exception handling...... no exceptions
checking warning configuration... using extensive warnings
checking profiling information... no profiling
checking what lib to build....... will build full DSS
checking for linking choice...... dynamic linking
checking inclusion of examples... no examples
checking inclusion of utils...... no utils
************* CHECKING ENVIRONMENT ***************
checking environment... found linux-gnu
checking CPU type... x86_64 architecture
configure: updating cache ../.././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.vars
**** REMEMBER TO SET LD_LIBRARY_PATH ****
configuring in emulator
running /bin/sh /root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/emulator/configure --prefix=/var/tmp/mozart-1.4.0.20080704/usr/lib/mozart --with-ozhome=/usr/lib/mozart --enable-opt=yes --disable-contrib-micq --cache-file=../.././config.cache --srcdir=/root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/emulator
loading cache ../.././config.cache
checking for SRCTOP... (cached) /root/rpmbuild/BUILD/mozart-1.4.0.20080704
checking for BUILDTOP... (cached) /root/rpmbuild/BUILD/mozart-1.4.0.20080704
checking host system type... x86_64-unknown-linux-gnu
checking for GNU make... (cached) gmake
checking whether gmake sets ${MAKE}... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for --with-global-oz... no
checking for mkinstalldirs... (cached) /root/rpmbuild/BUILD/mozart-1.4.0.20080704/mkinstalldirs
checking for oz version... (cached) 1.4.0
checking for ozplatform... (cached) /root/rpmbuild/BUILD/mozart-1.4.0.20080704/share/bin/ozplatform
checking for oztool... no
checking for --with-inc-dir...
checking for --with-lib-dir...
checking for build date... (cached) 20080920
checking for OZLOADSEP... (cached) :
checking for OZLOADWIN... (cached)
checking for --enable-denys-events... no
checking for --enable-site-property... yes
checking build system type... x86_64-unknown-linux-gnu
checking for as... as
checking for dlltool... dlltool
checking for dllwrap... dllwrap
checking for --with-sunpro... no
checking for c++... c++
checking whether the C++ compiler (c++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ) works... yes
checking whether the C++ compiler (c++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... (cached) yes
checking c++ version is at least 3.3.2... yes (4.3.0)
checking how to run the C++ preprocessor... (cached) g++ -E
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ) works... yes
checking whether the C compiler (gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... (cached) yes
checking gcc version is at least 3.3.2... yes (4.3.0)
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking for yywrap in -lfl... yes
checking flex version is at least 2.5.3... yes (2.5.35)
checking for bison... bison -y
checking bison -y version is at least 1.25... yes (1.875)
checking whether ln -s works... yes
checking for GNU make... (cached) gmake
checking whether gmake sets ${MAKE}... (cached) yes
checking for ranlib... ranlib
checking for gm4... no
checking for m4... m4
checking for perl... perl
checking for gnused... no
checking for sed... sed
checking for gar... no
checking for ar... ar
checking for makedepend... makedepend
checking c++ compiler option -fno-exceptions... yes
checking c++ compiler option -fno-implicit-templates... yes
checking for --enable-warnings... no
checking for --enable-errors... no
configure: warning: Unknown platform unknown-unknown
checking whether linker understands --export-dynamic... yes, will use it!
checking whether m4 understands -E option... yes
checking whether m4 -E understands -B10000 option... no
checking for --enable-link-static... no
checking for ANSI C header files... (cached) yes
checking for key_t... yes
checking for dlfcn.h... yes
checking for stdint.h... (cached) yes
checking for gethostbyaddr in -lnsl... yes
checking for gethostbyaddr... yes
checking for socket in -lsocket... no
checking for socket... yes
checking for fabs in -lm... yes
checking for fabs... yes
checking for dlopen in -ldl... yes
checking for setpgid... yes
checking for dlopen... yes
checking whether we could allocate Oz heap with malloc ...
checking for malloc... yes
checking ... with a test program... succeeded
... yes, we can allocate Oz heap with malloc!
checking whether we can allocate Oz heap via mmap...
checking for mmap... yes
checking ... with a test program... succeeded
... yes, we can allocate Oz heap via mmap!
checking whether we could allocate Oz heap via sbrk ...
checking for sbrk... yes
checking ... with a test program... succeeded
... yes, we can allocate Oz heap via sbrk!
checking for --enable-malloc-heap... no
checking for --enable-mmap-heap... no
checking for --enable-sbrk-heap... no
... will use the (efficient) 'malloc'ing for Oz heap
checking for strdup... yes
checking whether dlopen needs leading underscore... DETERMINED BY INSPECTION
no
checking for little-endianness... yes
checking for big-wordianness... no
checking whether the times/sysconf(_SC_CLK_TCK) bug is present... conftest.c: In function 'main':
conftest.c:23: warning: unused variable 'diff'
no
checking for --with-gmp... yes
checking for gmp.h... no
checking for gmp.h... (cached) no
checking gmp version is at least 2... conftest.C:1:17: error: gmp.h: No such file or directory
/root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/emulator/configure: line 7570: test: GNU: integer expression expected
/root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/emulator/configure: line 7572: test: GNU: integer expression expected
yes
configure: warning: required GNU MP include file not found
configure: error:
The GNU Multiple Precision Arithmetic Library (gmp)
version 2 or higher is required
to build the system. It can be retrieved from:
ftp://ftp.gnu.org/pub/gnu/gmp/
The latest version at this time is 4.1.2 and is available
packaged as the following archive:
ftp://ftp.gnu.org/pub/gnu/gmp/gmp-4.1.2.tar.gz
You may find a mirror archive closer to you by consulting:
http://www.gnu.org/order/ftp.html
configure: error: /root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/emulator/configure failed for emulator
configure: error: /root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/configure failed for platform
error: Bad exit status from /var/tmp/rpm-tmp.95226 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.95226 (%build)
Lorsque je tape yum install gmp j'obtiens :
[root@localhost Download]# yum install gmp
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Package gmp-4.2.2-7.fc9.x86_64 already installed and latest version
Nothing to do
Quelqu'un a une idée?