Mailinglist Archive: opensuse (2532 mails)
| < Previous | Next > |
[opensuse] compiling php5 suse 10.0 x86_64
- From: Andre Hübner <andre.huebner@xxxxxx>
- Date: Tue, 6 May 2008 11:41:48 +0200
- Message-id: <001a01c8af5d$67e1a6c0$a61310ac@xxxxxxxxx>
Hello List,
im litte experienced compiling/packaging software under comman Suse10.1 32Bit i586
Now i try to compile php5 on Suse 10.0 x86-64
I have some problems that configure of php5 cannot found my libs.
example:
part of configure is --with-png-dir=/usr
i got:
configure: error: libpng.(a|so) not found.
libpng and libpng-devel are installed
Configure only works if i install libpng-32bit and libpng-devel-32bit, but i think i should use 64bit Software.
More problems at --with-xpm-dir=/usr
error in config.log is
configure:46599: checking for XpmFreeXpmImage in -lXpm
configure:46629: gcc -o conftest -g -O2 -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -lX11 conftest.c -lXpm -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm >&5
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
The compatible libs are in /usr/X11R6/lib64/ but how to tell the configure of php?
sry, its my first time to compile under 64 bit and i did not expect these problems.
What im doing wrong?
Thank you
Andre
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
im litte experienced compiling/packaging software under comman Suse10.1 32Bit i586
Now i try to compile php5 on Suse 10.0 x86-64
I have some problems that configure of php5 cannot found my libs.
example:
part of configure is --with-png-dir=/usr
i got:
configure: error: libpng.(a|so) not found.
libpng and libpng-devel are installed
Configure only works if i install libpng-32bit and libpng-devel-32bit, but i think i should use 64bit Software.
More problems at --with-xpm-dir=/usr
error in config.log is
configure:46599: checking for XpmFreeXpmImage in -lXpm
configure:46629: gcc -o conftest -g -O2 -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -lX11 conftest.c -lXpm -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm >&5
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
The compatible libs are in /usr/X11R6/lib64/ but how to tell the configure of php?
sry, its my first time to compile under 64 bit and i did not expect these problems.
What im doing wrong?
Thank you
Andre
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |