Hallo ich habe Probleme php zu instllieren.
ich habe php 4.3.2 downgeloadet. Und dann getippt:
./configure --prefix=/usr/local/php --with-config-file-path=/etc --with-mysql --with-apxs --with-gd --with-zlib-dir=/usr/lib
nun brichte er aber ab! Im Config.log steht (s. Unten)...
Hilfe irgendjemand ne Idee?
PS: BS: SuSe SLES8 (64bit)
(z/LINUX)
***config.log
conftest.c -lpng -lz -lresolv -lm -ldl -lnsl 1>&5
/usr/lib64/gcc-lib/s390x-suse-linux/3.2.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/lib64/gcc-lib/s390x-suse-linux/3.2.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/lib64/gcc-lib/s390x-suse-linux/3.2.2/../../../../s390x-suse-linux/bin/ld:/usr/lib/libpng.so: file format not recognized; treating as linker script
/usr/lib64/gcc-lib/s390x-suse-linux/3.2.2/../../../../s390x-suse-linux/bin/ld:/usr/lib/libpng.so:1: parse error
collect2: ld returned 1 exit status
configure: failed program was:
#line 28334 "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 png_write_image();
int main() {
png_write_image()
; return 0; }
***
ich habe php 4.3.2 downgeloadet. Und dann getippt:
./configure --prefix=/usr/local/php --with-config-file-path=/etc --with-mysql --with-apxs --with-gd --with-zlib-dir=/usr/lib
nun brichte er aber ab! Im Config.log steht (s. Unten)...
Hilfe irgendjemand ne Idee?
PS: BS: SuSe SLES8 (64bit)
(z/LINUX)
***config.log
conftest.c -lpng -lz -lresolv -lm -ldl -lnsl 1>&5
/usr/lib64/gcc-lib/s390x-suse-linux/3.2.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/lib64/gcc-lib/s390x-suse-linux/3.2.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/lib64/gcc-lib/s390x-suse-linux/3.2.2/../../../../s390x-suse-linux/bin/ld:/usr/lib/libpng.so: file format not recognized; treating as linker script
/usr/lib64/gcc-lib/s390x-suse-linux/3.2.2/../../../../s390x-suse-linux/bin/ld:/usr/lib/libpng.so:1: parse error
collect2: ld returned 1 exit status
configure: failed program was:
#line 28334 "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 png_write_image();
int main() {
png_write_image()
; return 0; }
***