From: William L. <wil...@co...> - 2005-08-02 12:35:01
|
Hello, I've been trying to compile this module on my development web server for the company I work for. I can't get pass the "./configure" stage. It aborts with the following: [root@cooeps php-java-bridge-2.0.7]# ./configure --with-java=/usr/local/IBMJava2-142 ... ... checking for unistd.h... yes checking whether AF_LOCAL is declared... yes checking whether PF_LOCAL is declared... yes checking for socket in -lsocket... no checking for sem_init in -lrt... yes checking for pthreads_cflags... checking for pthreads_lib... configure: error: host_alias is not set. Make sure to run config.guess I then run "config.guess" and I get the following: i686-pc-linux-gnu I retry with configure but still it fails in the same part. Then I try adding the --host parameter to the configure script: [root@cooeps php-java-bridge-2.0.7]# ./configure --host=i686-pc-linux-gnu --with-java=/usr/local/IBMJava2-142 configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for i686-pc-linux-gnu-gcc... no checking for gcc... gcc ... ... checking whether AF_LOCAL is declared... yes checking whether PF_LOCAL is declared... yes checking for socket in -lsocket... no checking for sem_init in -lrt... yes checking for pthreads_cflags... checking for pthreads_lib... checking for broken stdio buffering... no checking for broken gcc installation... no checking for abstract namespace... yes checking for struct ucred... yes configure: error: cannot run And here is where I am stuck. According to the project web page I am complying with the minimum version requests for the tools needed to make the build. I am using RedHat 9 with the following packages: - kernel-2.4.20-8 - JDK from IBM 1.4.2 (IBMJava2-142) - gcc-3.2.2-5 - apache 1.3.28 (compiled from source) - php 4.3.2 (compiled from source) - libtool-1.4.3-5 - automake-1.6.3-5 - make-3.79.1-17 - autoconf-2.57-3 What can I do? any ideas? The funny thing is that I configured the module successfully in my workstation with Fedora Core 3 and the latest updates. Thanx in advance, -William |