Hi!

I am having a similar issue on solaris8.  I understand this is a forum for 
opensolaris but I think maybe the resolution is same too.   I would appreciate 
if you would let me know what the source of the issue was and the resolution 
for it.  below is the summary ...

I am getting the following error when trying to configure php 5.1.6 with apache 
2.2 with libxml on solaris. I have libxml2-2.6.26 built and installed. The 
configure script fails with the following error


Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /local/build/php5/libxml2
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for details.
Compiling (15mins) ...
make: Fatal error: No arguments to build
Installing (10mins) ...
make: Fatal error: Don't know how to make target `install'


The config.log says
configure:18250: checking whether to enable dmalloc
configure:18338: checking whether to enable IPv6 support
configure:18368: checking how big to make fd sets
configure:18388: checking whether to enable versioning
configure:18440: checking whether to enable LIBXML support
configure:18487: checking libxml2 install dir
configure:18647: checking whether libxml build works
configure:18674: gcc -o conftest -g -O2 -pthreads -D_POSIX_PTHREAD_SEMANTICS 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -R/usr/ucblib -L/usr/ucblib 
-R/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2 
-L/usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.2 -R/local/build/php5/libxml2/lib 
-L/local/build/php5/libxml2/lib conftest.c

-lresolv -lm -ldl -lnsl -lsocket -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl 
1>&5
configure: failed program was:
#line 18663 "configure"
#include "confdefs.h"


char xmlInitParser();
int main() {
xmlInitParser();
return 0;
}


The problem seems to be with -liconv option. I am not sure why the dependency 
on the libconv library is introduced. It does not run into issues and runs to 
completion if I just copy the library to the default search path of /usr/lib. 
However, I run into the issue if I run configure with --with-iconv option 
specifying the actual installation directory.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to