Mezzelfo
02-05-2003, 22:09
Ho fatto rpm --rebuild kopete-0.6.1a-3mdk90akc.src.rpm.
Alla fine mi ha dato questo:
grep: /usr/lib/libfam.la: No such file or directory
sed: impossibile leggere /usr/lib/libfam.la: No such file or directory
libtool: link: `/usr/lib/libfam.la' is not a valid libtool archive
make[4]: *** [libkopeteui.la] Error 1
make[4]: Leaving directory `/usr/src/RPM/BUILD/kopete-0.6.1a/kopete/libkopete/ui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/kopete-0.6.1a/kopete/libkopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/kopete-0.6.1a/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/kopete-0.6.1a'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.4109 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.4109 (%build)
Il file /var/tmp/rpm-tmp.4109 è così:
#!/bin/sh
RPM_SOURCE_DIR="/usr/src/RPM/SOURCES"
RPM_BUILD_DIR="/usr/src/RPM/BUILD"
RPM_OPT_FLAGS="-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro"
RPM_ARCH="i386"
RPM_OS="linux"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
RPM_DOC_DIR="/usr/share/doc"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="kopete"
RPM_PACKAGE_VERSION="0.6.1a"
RPM_PACKAGE_RELEASE="3akc"
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
RPM_BUILD_ROOT="/var/tmp/kopete"
export RPM_BUILD_ROOT
set -x
umask 022
cd /usr/src/RPM/BUILD
cd kopete-0.6.1a
CFLAGS="$(echo "-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -fPIC -D_GNU_SOURCE" | /bin/sed -e 's@i[3456]86@i586@g') -pipe"
CXXFLAGS="$(echo "-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -fPIC -D_GNU_SOURCE -DNDEBUG -DNO_DEBUG -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT" | /bin/sed -e 's@i[3456]86@i586@g;s@-fomit-frame-pointer@@') -pipe"
export CFLAGS CXXFLAGS
if test -x /usr/bin/getconf ; then
CPUS="$(/usr/bin/getconf _NPROCESSORS_ONLN 2>/dev/null)"
fi
if test "x$CPUS" = "x" -o "x$CPUS" = "x0"; then
CPUS=1
fi
./configure --prefix="/usr" \
--exec-prefix="/usr" \
--sysconfdir="/etc" \
--enable-shared \
--disable-rpath \
--disable-debug \
--with-gnu-ld \
--includedir="/usr/include" \
--disable-final \
--disable-static \
--disable-objprelink \
--enable-threading \
--enable-mt \
--disable-embedded \
--disable-qtopia \
--with-qt-dir="/usr/lib/qt3" \
--with-qt-libraries="/usr/lib/qt3/lib" \
--with-qt-includes="/usr/lib/qt3/include" \
--build="i586-mandrake-linux-gnu" \
--host="i586-mandrake-linux-gnu"
/usr/bin/make -j $[ $CPUS * 2 ]
#
# INSTALL SECTION
exit 0
Cosa c'è che non va?
Voglio installare Kopete!!!
Alla fine mi ha dato questo:
grep: /usr/lib/libfam.la: No such file or directory
sed: impossibile leggere /usr/lib/libfam.la: No such file or directory
libtool: link: `/usr/lib/libfam.la' is not a valid libtool archive
make[4]: *** [libkopeteui.la] Error 1
make[4]: Leaving directory `/usr/src/RPM/BUILD/kopete-0.6.1a/kopete/libkopete/ui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/kopete-0.6.1a/kopete/libkopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/kopete-0.6.1a/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/kopete-0.6.1a'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.4109 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.4109 (%build)
Il file /var/tmp/rpm-tmp.4109 è così:
#!/bin/sh
RPM_SOURCE_DIR="/usr/src/RPM/SOURCES"
RPM_BUILD_DIR="/usr/src/RPM/BUILD"
RPM_OPT_FLAGS="-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro"
RPM_ARCH="i386"
RPM_OS="linux"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
RPM_DOC_DIR="/usr/share/doc"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="kopete"
RPM_PACKAGE_VERSION="0.6.1a"
RPM_PACKAGE_RELEASE="3akc"
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
RPM_BUILD_ROOT="/var/tmp/kopete"
export RPM_BUILD_ROOT
set -x
umask 022
cd /usr/src/RPM/BUILD
cd kopete-0.6.1a
CFLAGS="$(echo "-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -fPIC -D_GNU_SOURCE" | /bin/sed -e 's@i[3456]86@i586@g') -pipe"
CXXFLAGS="$(echo "-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -fPIC -D_GNU_SOURCE -DNDEBUG -DNO_DEBUG -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT" | /bin/sed -e 's@i[3456]86@i586@g;s@-fomit-frame-pointer@@') -pipe"
export CFLAGS CXXFLAGS
if test -x /usr/bin/getconf ; then
CPUS="$(/usr/bin/getconf _NPROCESSORS_ONLN 2>/dev/null)"
fi
if test "x$CPUS" = "x" -o "x$CPUS" = "x0"; then
CPUS=1
fi
./configure --prefix="/usr" \
--exec-prefix="/usr" \
--sysconfdir="/etc" \
--enable-shared \
--disable-rpath \
--disable-debug \
--with-gnu-ld \
--includedir="/usr/include" \
--disable-final \
--disable-static \
--disable-objprelink \
--enable-threading \
--enable-mt \
--disable-embedded \
--disable-qtopia \
--with-qt-dir="/usr/lib/qt3" \
--with-qt-libraries="/usr/lib/qt3/lib" \
--with-qt-includes="/usr/lib/qt3/include" \
--build="i586-mandrake-linux-gnu" \
--host="i586-mandrake-linux-gnu"
/usr/bin/make -j $[ $CPUS * 2 ]
#
# INSTALL SECTION
exit 0
Cosa c'è che non va?
Voglio installare Kopete!!!