5. August 200421 j Habe mich noch mal schlau gemacht: http://www.redhat.com/docs/books/max-rpm/max-rpm-html/ch-rpm-b-command.html Um das rpm-Paket zu erzeugen nimmst du -bc, um es gleich zu installieren nimmst du -bi. ich danke dir, aber ich platz gleich hier. man man man radius01:/usr/local/src # rpm -bc mod_php4-4.3.8-1.src.rpm File /usr/local/src/mod_php4-4.3.8-1.src.rpm does not appear to be a specfile. radius01:/usr/local/src # rpm -bi mod_php4-4.3.8-1.src.rpm File /usr/local/src/mod_php4-4.3.8-1.src.rpm does not appear to be a specfile.
5. August 200421 j Kein Wunder. Ich habe ja auch Mist erzählt. rpm --rebuild <source> ansatzweise sah das schon bessre aus aber: radius01:/usr/local/src # rpm --rebuild mod_php4-4.3.8-1.src.rpm Installing mod_php4-4.3.8-1.src.rpm sh: line 1: apxs: command not found sh: line 1: apxs: command not found dirname: too few arguments Try `dirname --help' for more information. dirname: too few arguments Try `dirname --help' for more information. sh: line 1: apxs: command not found sh: line 1: apxs: command not found sh: line 1: apxs: command not found sh: line 1: apxs: command not found sh: line 1: apxs: command not found sh: line 1: apxs: command not found sh: line 1: apxs2-prefork: command not found sh: line 1: apxs2-prefork: command not found sh: line 1: apxs: command not found sh: line 1: apxs: command not found sh: line 1: apxs: 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: apxs: command not found sh: line 1: apxs: command not found sh: line 1: apxs: 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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.27710 + 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.8 + /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/php-4.3.8.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd php-4.3.8 ++ /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 + rm -rf swf + /bin/mkdir -p swf + cd swf + /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/dist.99.linux.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 . + mkdir -p dist/include/ + mkdir -p dist/lib/ + mv dist/swf.h dist/include/ + mv dist/libswf.a dist/lib/ + cd /usr/src/packages/BUILD + /bin/mkdir -p php-4.3.8 + cd php-4.3.8 + /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.3.diff):' Patch #0 (php-4.3.3.diff): + patch -p0 -s /var/tmp/rpm-tmp.27710: line 65: patch: command not found Bad exit status from /var/tmp/rpm-tmp.27710 (%prep)
5. August 200421 j Welche Apache-Version läuft denn bei dir? Er sucht das apxs-Script aus dem bin-Ordner der Apache-Installation. Das wird benötigt, um Module für den Apache zu erstellen. Du kannst auch versuchen die Parameter noch per rpm zu setzen. Normalerweise heist der Apache-Parameter --with-apxs=/abs/pfad/zum/apxs Ausserdem scheint er noch den Befehl patch nicht zu kennen.
5. August 200421 j Welche Apache-Version läuft denn bei dir? Er sucht das apxs-Script aus dem bin-Ordner der Apache-Installation. Das wird benötigt, um Module für den Apache zu erstellen. Du kannst auch versuchen die Parameter noch per rpm zu setzen. Normalerweise heist der Apache-Parameter --with-apxs=/abs/pfad/zum/apxs radius01:/usr/local/src # rpm -qa |grep apache apache-1.3.26-57 kann das sein, das ich das apxs auch noch nachinstalliren muss, oder ist das std. beim apache mit bei? oder ist das vielleicht im apache-devel?
5. August 200421 j Du kannst ja mal nach der Datei suchen. Mögliche Pakete wo das Script enthalten sein könnte: apache-dev, apache-devel, httpd-devel
5. August 200421 j oder ist das vielleicht im apache-devel? Ja, da ist es drin. Den Pfad findest du dann mit whereis apxs oder wenn du die findutils installiert hast mit updatedb und locate apxs
6. August 200421 j Also weiter gehts: Apache-devel installiert: radius01:/usr/local/src # rpm -i --test apache-devel-1.3.26-57.i586.rpm radius01:/usr/local/src # rpm -i apache-devel-1.3.26-57.i586.rpm installation geprüft: radius01:/usr/local/src # rpm -qa |grep apache apache-1.3.26-57 apache-devel-1.3.26-57 RPM versucht zu builden: radius01:/usr/local/src # rpm --rebuild mod_php4-4.3.8-1.src.rpm Installing mod_php4-4.3.8-1.src.rpm dirname: too few arguments Try `dirname --help' for more information. dirname: too few arguments Try `dirname --help' for more information. 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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.25365 + 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.8 + /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/php-4.3.8.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd php-4.3.8 ++ /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 + rm -rf swf + /bin/mkdir -p swf + cd swf + /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/dist.99.linux.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 . + mkdir -p dist/include/ + mkdir -p dist/lib/ + mv dist/swf.h dist/include/ + mv dist/libswf.a dist/lib/ + cd /usr/src/packages/BUILD + /bin/mkdir -p php-4.3.8 + cd php-4.3.8 + /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.3.diff):' Patch #0 (php-4.3.3.diff): + patch -p0 -s /var/tmp/rpm-tmp.25365: line 65: patch: command not found Bad exit status from /var/tmp/rpm-tmp.25365 (%prep) APXS gesucht: radius01:/usr/local/src # which apxs /usr/sbin/apxs 2. Versuch: radius01:/usr/local/src # rpm --rebuild --with-apxs-/usr/sbin/apxs mod_php4-4.3.8-1.src.rpm --with-apxs-/usr/sbin/apxs: unknown option 3. Versuch: radius01:/usr/local/src # rpm --rebuild mod_php4-4.3.8-1.src.rpm --with-apxs-/usr/sbin/apxs --with-apxs-/usr/sbin/apxs: unknown option brauch ich vielleicht apxs2 ?
6. August 200421 j Der aktuelle Fehler: Er kann das Kommando "patch" nicht finden. Also nu lade ich das Patch Pakage runter: http://rpmseek.com/rpm-dl/patch-2.5.4-148.alpha.html?hl=de&cs=patch:PN:0:0:0:0:618231
6. August 200421 j ich liebe dieses Betriebsystem.... also folgendes radius01:/usr/local/src # rpm -i --test patch-2.5.4-148.alpha.rpm error: failed dependencies: libc.so.6.1 is needed by patch-2.5.4-148 libc.so.6.1(GLIBC_2.0) is needed by patch-2.5.4-148 libc.so.6.1(GLIBC_2.1) is needed by patch-2.5.4-148 libc.so.6.1(GLIBC_2.1.3) is needed by patch-2.5.4-148 radius01:/usr/local/src # rpm -qa |grep glibc glibc-2.2.5-164 glibc-devel-2.2.5-163 glibc-locale-2.2.5-163 glibc-info-2.2.5-163 glibc-i18ndata-2.2.5-163 radius01:/usr/local/src # Warum findet der die glibc nicht, obwohl sie installiert ist?
6. August 200421 j ich such jetzt schon den ganzen tag nach einer libc zum download, kann aber nichts finden...
6. August 200421 j Suche mal bitte nach der Datei libc.so. Kann sein, dass patch eine aktuellere Version will, als du hast. War bei deiner Install-CD keine rpm dabei für patch?
3. September 200421 j Hallo zusammen, das Ursprüngliche Problem besteht noch, aber ich habe mich dazu entschlossen jetzt nicht alle packages einzeln durchzugehen und bei jedem die jeweiligen Abhängigkeiten im Inet zu suchen und nachzuinstallieren. Also nun meine neue Frage zum thema mod_php4: Weiss jemand einen Link bei dem ich entweder: 1) eine Anleitung mit verweisen auf alle notwenidgen Abhängigkeiten erhalte oder 2) ein vollständiges RPM mit dem ich auf meinem SUSE 8.1 Enterprise Server - United Linux 1.0 mod_php4.3.X installieren kann?! Vielen Dank im vorraus!
6. September 200421 j hm naja, da es anscheinend keine möglichkeiten gibt, kann mir jemand helfen, wo ich folgende dependencies finde: radius01:/usr/local/src/mod_php # rpm -U --test mod_php4-core-4.3.2-1.i386.rpm error: failed dependencies: libGL.so.1 is needed by mod_php4-core-4.3.2-1 libGLU.so.1 is needed by mod_php4-core-4.3.2-1 libdb-3.1.so is needed by mod_php4-core-4.3.2-1 libgdk-1.2.so.0 is needed by mod_php4-core-4.3.2-1 libgtk-1.2.so.0 is needed by mod_php4-core-4.3.2-1 liblcms.so.1 is needed by mod_php4-core-4.3.2-1 libltdl.so.0 is needed by mod_php4-core-4.3.2-1 libmm.so.11 is needed by mod_php4-core-4.3.2-1 libmng.so.1 is needed by mod_php4-core-4.3.2-1 libpdf.so.0 is needed by mod_php4-core-4.3.2-1 libpng.so.2 is needed by mod_php4-core-4.3.2-1 libqt.so.2 is needed by mod_php4-core-4.3.2-1 libstdc++-libc6.2-2.so.3 is needed by mod_php4-core-4.3.2-1 libtiff.so.3 is needed by mod_php4-core-4.3.2-1 libttf.so.2 is needed by mod_php4-core-4.3.2-1 mod_php4-core = 4.2.2 is needed by mod_php4-4.2.2-124 suchmaschinen wie www.rpmseek.com usw kenne ich, aber ich kann darauf keine "libGL" etc. finden der Google hat mir auch nicht geholfen: http://www.google.de/search?hl=de&ie=UTF-8&q=suse+8.1+libGL&btnG=Google-Suche&meta=
7. September 200421 j also nach unendlichen versuchen hab ich mich nun doch entschienden, den XAMPP zu installieren http://www.apachefriends.org/de/xampp-linux.html
Archiv
Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.