----- Original Message -----
From: "Andreas Kyek"
On Tuesday 02 September 2003 12:27, suse-linux@mado-online.de wrote:
Hallo Liste,
folgendes Probleme habe ich.
Ich besitze hier ein Suse 8.2 System und möchte PHP-4.3.1 von der CD installieren. Wie kann ich aber vorher die Datei mod_php4.spec so ändern, das ich ein weiteres Modul (PDFLib) mit installiere.
Der Eintrag lautet ja --with-pdflib=/usr/local/lib. Wie müsste ich vorgehen bzw. wie entpacke ich das RPM-File und erstelle nach meiner Änderung das RPM-File wieder?
a) installiere das Source-rpm (rpm -i ...) b) cd /usr/src/packages/SPECS c) vi "name_des_specfiles" d) rpm -bb name_des_specfiles
Hallo Andreas, nachdem ich rpm -bb mod_php4.spec ausgeführt habe bekomme ich folgende Fehlermeldung: dirname: zu wenige Argumente »dirname --help« gibt weitere Informationen. dirname: zu wenige Argumente »dirname --help« gibt weitere Informationen. sh: line 1: apxs2-prefork: command not found sh: line 1: apxs2-prefork: command not found sh: line 1: apxs2-prefork: command not found sh: line 1: apxs2-prefork: command not found sh: line 1: apxs2-prefork: command not found sh: line 1: apxs2-prefork: command not found sh: line 1: apxs2: command not found sh: line 1: apxs2-prefork: command not found sh: line 1: apxs2-prefork: command not found sh: line 1: apxs2-prefork: command not found Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.57884 + umask 022 + cd /usr/src/packages/BUILD + '[' '!' -e /usr/include/libxml ']' + '[' -e /usr/include/libxml2/libxml/ ']' + cd /usr/src/packages/BUILD + rm -rf php-4.3.1 + /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/php-4.3.1.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd php-4.3.1 ++ /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,g-w,o-w . + cd /usr/src/packages/BUILD + /bin/mkdir -p php-4.3.1 + cd php-4.3.1 + /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/dist.99.linux.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/asp2php-0.76.12.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' ++ /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,g-w,o-w . + echo 'Patch #0 (php-4.3.0RC2.dif):' Patch #0 (php-4.3.0RC2.dif): + patch -p1 -s + echo 'Patch #1 (php-4.3.0RC2-java.dif):' Patch #1 (php-4.3.0RC2-java.dif): + patch -p0 -s + echo 'Patch #2 (php-4.3.0-lib64.dif):' Patch #2 (php-4.3.0-lib64.dif): + patch -p1 -s + echo 'Patch #3 (php-4.3.0-ini.dif):' Patch #3 (php-4.3.0-ini.dif): + patch -p0 -s + echo 'Patch #4 (php-4.3.0RC2-automake.dif):' Patch #4 (php-4.3.0RC2-automake.dif): + patch -p0 -s + echo 'Patch #5 (php-4.3.0-qt-mt.dif):' Patch #5 (php-4.3.0-qt-mt.dif): + patch -p1 -s + mkdir -p dist/include/ + mkdir -p dist/lib/ + mv dist/swf.h dist/include/ + mv dist/libswf.a dist/lib/ + /usr/share/apache2/get_module_list /var/tmp/rpm-tmp.57884: line 68: /usr/share/apache2/get_module_list: Datei oder Verzeichnis nicht gefunden Fehlerhafter Status nach Ausführen von /var/tmp/rpm-tmp.57884 (%prep) was mach ich denn nur falsch Marko
Dein rpm liegt dann unter /usr/src/packages/RPM. Das kannst Du installieren.
Andreas
-- Um die Liste abzubestellen, schicken Sie eine Mail an: suse-linux-unsubscribe@suse.com Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-linux-help@suse.com