baskiii Bonjour amis tuxiens :lol:, Comme le titre du post l'indique, j'ai un petit souci d'installation. Comme c'est la première fois que je vois cette erreur je ne sais quoi faire 🙁. Je compte donc sur vous 😉. Voici donc le message d'erreur : [root@localhost Download]# rpm -ivh mozart-1.3.2.20060615-4.i386.rpm Preparing... ########################################### [100%] 1:mozart ########################################### [100%] error: unpacking of archive failed on file /usr/lib/mozart/platform/linux-i486/lib/libgcc_s.so.1;48d930c9: cpio: MD5 sum mismatch Merci d'avance :-P
manawy ton paquet rpm comporte une erreur, il ne faut pas l'utiliser. Le MD5 permet d'avoir une "empreinte" de ton fichier. Deux fichiers différent auront deux sommes MD5 différentes. Et apparemment, un des fichiers ne donne pas la bonne somme. Il y a donc un fichier corrompu.
baskiii Merci pour ta réponse Manawy 😉 Si j'ai bien compris, ce rpm est a jeter 🙁 . Y a t il moyen d'installer via yum(ca m'étonnerais mais bon 🙂 )? Voila le site du programme ou j'ai piogé ce rpm : http://www.mozart-oz.org. Que dois je faire ? :roll:
baskiii [root@localhost Download]# rpm -ihv mozart-1.4.0.20080704-16189.src.rpm error: cannot create %sourcedir /usr/src/redhat/SOURCES 🙁 Un probleme en appelle un autre :-P, que dois je faire pour y remédier ? Merci d'avance 😉
baskiii [root@localhost Download]# rpm -ivh mozart-1.4.0.20080704-16189.src.rpm 1:mozart ########################################### [100%] [root@localhost Download]# 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.83212 + umask 022 + cd /usr/src/redhat/BUILD + cd /usr/src/redhat/BUILD + rm -rf mozart-1.4.0.20080704 + /usr/bin/gzip -dc /usr/src/redhat/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 /usr/src/redhat/BUILD + /usr/bin/gzip -dc /usr/src/redhat/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.54419 + umask 022 + cd /usr/src/redhat/BUILD + cd mozart-1.4.0.20080704 + : '-O2 -g -m64 -mtune=generic' + : '-O2 -g -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... /usr/src/redhat/BUILD/mozart-1.4.0.20080704 checking for BUILDTOP... /usr/src/redhat/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... /usr/src/redhat/BUILD/mozart-1.4.0.20080704/mkinstalldirs checking for oz version... 1.4.0 checking for ozplatform... /usr/src/redhat/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... 20080918 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 /usr/src/redhat/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=/usr/src/redhat/BUILD/mozart-1.4.0.20080704/platform loading cache .././config.cache checking for SRCTOP... (cached) /usr/src/redhat/BUILD/mozart-1.4.0.20080704 checking for BUILDTOP... (cached) /usr/src/redhat/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) /usr/src/redhat/BUILD/mozart-1.4.0.20080704/mkinstalldirs checking for oz version... (cached) 1.4.0 checking for ozplatform... (cached) /usr/src/redhat/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) 20080918 checking for OZLOADSEP... (cached) : checking for OZLOADWIN... (cached) checking for --enable-wish... yes creating ./config.status creating Makefile configuring in dss running /bin/sh /usr/src/redhat/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=/usr/src/redhat/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++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details. configure: error: /usr/src/redhat/BUILD/mozart-1.4.0.20080704/platform/dss/configure failed for dss configure: error: /usr/src/redhat/BUILD/mozart-1.4.0.20080704/platform/configure failed for platform error: Bad exit status from /var/tmp/rpm-tmp.54419 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.54419 (%build) Encore un petit problème :roll::roll:
baskiii arf 🙁 ca a l'air laborieux :-P . Existe un petit tuto sympa à ce sujet?? :-D bon j'abuse un peu la :-P je vais un peu chercher... Encore merci pour tes réponse proxy 😉
eponyme oui il en existe un, dans la doc de ce site 🙂 tu y trouvera tout ce qu'il faut pour builder un package proprement. epo
baskiii Effectivement je vien de suivre un tuto dans la doc et j'ai réussit :-D :hammer: Merci à tous 😉, la prochaine fois je commencerais par chercher dans la doc avant de poster dsl :roll: