Effectivement il me fallait installer gmp-devel, ce problème résolu un nouveau apparaît :-x:-)
Celui-ci porte sur tcl, voici le code (avec les balise code désolé Marcet 😉) :
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.21868
+ 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.64452
+ 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... yes
checking gmp.h presence... yes
checking for gmp.h... yes
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... yes
checking for __gmpz_init in -lgmp (default)... yes
checking gmp version is at least 2... yes
checking for --with-zlib... yes
checking for zlib.h... yes
checking for zlibVersion in -lz (default)... yes
checking for --with-ccmalloc... no
checking for --enable-opt... optimize
checking for --enable-threaded... yes (-DTHREADED)
checking for --enable-fastreg... yes (-DFASTREGACCESS)
checking for --enable-fasterreg... yes (-DFASTERREGACCESS)
checking for --enable-fastarith... no
checking for --enable-modules-static... yes (-DMODULES_LINK_STATIC)
checking c++ compiler option -fpic... yes
checking cc compiler option -fpic... yes
checking for --with-malloc... no
checking whether socklen_t is declared...... yes (-DHAVE_SOCKLEN_T)
checking whether we can do virtual sites...
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/ipc.h... yes
checking for sys/shm.h... yes
checking for shmget... yes
checking for shmat... yes
checking for shmdt... yes
checking for shmctl... yes
checking shared memory with a test program... failed
... sorry, we cannot do virtual sites.
checking for --enable-virtualsites... no
checking for --enable-miscbuiltins... no
checking whether .align is multiple... no
checking whether .align is power of 2... no
checking alignment of secondary tag for const terms... ok
checking if alignment of secondary tags for extensions needs padding... no
updating cache ../.././config.cache
creating ./config.status
creating Makefile.vars
creating Makefile
creating Makefile.rules
creating libdp/Makefile
creating libfd/Makefile
creating libfset/Makefile
creating OZCONF.h
creating oztool.sh
creating NONE-oztool
creating .gdbinit
creating conf-others.h
configuring in wish
running /bin/sh /root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/wish/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/wish
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 C compiler... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking for C preprocessor... (cached) gcc -E
checking for C++ compiler... (cached) c++
checking whether we are using GNU C++... (cached) yes
checking for C++ preprocessor... (cached) g++ -E
checking whether ln -s works... (cached) yes
checking whether to build with AquaTk... no
checking for tclConfig.sh... configure: error: Can't find tcl. Use --with-tcl to specify the directory which contains tclConfig.sh
configure: error: /root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/wish/configure failed for wish
configure: error: /root/rpmbuild/BUILD/mozart-1.4.0.20080704/platform/configure failed for platform
error: Bad exit status from /var/tmp/rpm-tmp.64452 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.64452 (%build)
Comme je comprend le problème, il ne trouve pas tcl et me demande de lui indiquer son emplacement.
Après quelques recherches, j'ai trouvé l'emplacement : /usr/lib64/tclConfig.sh .
Mais je ne sais pas comment utiliser la commande --with-tcl pour lui indiqué le path.
Merci d'avance 😉