Probleme beim compilieren von mod_php4
Hallo! Ich habe jetzt schon mehrfach versucht, das bei der 7.3 mitgelieferte Source-RPM von mod_php4 mit pdflib-Support neu zu kompilieren. Dummerweise bricht das rpm -bb jedesmal mit folgenden Zeilen ab: checking for mcrypt support... yes checking for mcrypt_module_open in -lmcrypt... no checking für init_mcrypt in -lmcrypt... no configure: error: Sorry Bad exit status from... Ich hab schon die aktuelle libmcrypt nachinstalliert, aber das hat nichts gebracht. Hat jemand eine Idee? Danke und viele Grüße, Heiko -- www.computerbetrug.de Gegen Straftaten im Internet
On Thu, 21 Feb 2002 13:06:57 +0100, Peter Wiersig
On Thu, Feb 21, 2002 at 08:56:08AM +0100, Heiko Rittelmeier wrote:
Ich hab schon die aktuelle libmcrypt nachinstalliert, aber das hat nichts gebracht. Hat jemand eine Idee?
libmcrypt-devel installiert? Relevante Zeilen aus config.log?
libmcrypt-devel: ja, denke schon. config.log: -------------------------- configure:26734: checking whether to enable japanese encoding translation configure:26760: checking for MCAL support configure:27122: checking for mcrypt support configure:27176: checking for mcrypt_module_open in -lmcrypt configure:27197: gcc -o conftest -O2 -mcpu=i486 -fno-strength-reduce -fPIC -DHAVE_LIBDL=1 -I/usr/include/ucd-snmp -I/usr/include/gd -I/usr/lib/jdk1.1.8/include/linux -I/usr/lib/jdk1.1.8/include -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lmcrypt -L/usr/lib -lltdl -lmcal -lldap -llber -lgmp -lgd -lt1 -lttf -lX11 -lXpm -lpng -lz -ljpeg -lz -lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv 1>&5 /usr/i486-suse-linux/bin/ld: cannot find -lgd collect2: ld returned 1 exit status configure: failed program was: #line 27186 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mcrypt_module_open(); int main() { mcrypt_module_open() ; return 0; } configure:27249: checking for init_mcrypt in -lmcrypt configure:27270: gcc -o conftest -O2 -mcpu=i486 -fno-strength-reduce -fPIC -DHAVE_LIBDL=1 -I/usr/include/ucd-snmp -I/usr/include/gd -I/usr/lib/jdk1.1.8/include/linux -I/usr/lib/jdk1.1.8/include -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lmcrypt -L/usr/lib -lmcal -lldap -llber -lgmp -lgd -lt1 -lttf -lX11 -lXpm -lpng -lz -ljpeg -lz -lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv 1>&5 /usr/i486-suse-linux/bin/ld: cannot find -lgd collect2: ld returned 1 exit status configure: failed program was: #line 27259 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char init_mcrypt(); int main() { init_mcrypt() ; return 0; } Danke! Heiko
Am Fre, 2002-02-22 um 09.11 schrieb Heiko Rittelmeier:
On Thu, 21 Feb 2002 13:06:57 +0100, Peter Wiersig
wrote: On Thu, Feb 21, 2002 at 08:56:08AM +0100, Heiko Rittelmeier wrote:
Ich hab schon die aktuelle libmcrypt nachinstalliert, aber das hat nichts gebracht. Hat jemand eine Idee?
libmcrypt-devel installiert? Relevante Zeilen aus config.log?
libmcrypt-devel: ja, denke schon.
config.log: -------------------------- configure:26734: checking whether to enable japanese encoding translation configure:26760: checking for MCAL support configure:27122: checking for mcrypt support configure:27176: checking for mcrypt_module_open in -lmcrypt configure:27197: gcc -o conftest -O2 -mcpu=i486 -fno-strength-reduce -fPIC -DHAVE_LIBDL=1 -I/usr/include/ucd-snmp -I/usr/include/gd -I/usr/lib/jdk1.1.8/include/linux -I/usr/lib/jdk1.1.8/include -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lmcrypt -L/usr/lib -lltdl -lmcal -lldap -llber -lgmp -lgd -lt1 -lttf -lX11 -lXpm -lpng -lz -ljpeg -lz -lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv 1>&5 /usr/i486-suse-linux/bin/ld: cannot find -lgd ^^^ Da steht, was fehlt.
Ralf
Hallo Heiko ich hab Gestern abend mod_php4 (VR 4.1.1) unter SuSE 7.3 gebaut, da hat es funktioniert. Mit den config Parametern von SuSE (phpinfo()) Wenn du mcrypt nicht wirklich brauchst würde ich es weglasen baust du als User oder root ? Als user geht die mcrypt bei mir auch nicht. Ich bin da nicht der Profi aber hast du gd-devel installiert ? der versucht hier mit gd zu linken /usr/i486-suse-linux/bin/ld: cannot find -lgd Wenn du noch etwas warten kannst, ich möchte nächste Woche davon ein rpm packet bauen. (xml und TTF funktionieren bei meiner Version) Grüße Torsten
participants (4)
-
Heiko Rittelmeier
-
Peter Wiersig
-
Ralf Corsepius
-
Torsten Rosenberger