PDA

View Full Version : Problems Installing PHP on IBM AIX/RS6000


requestcode
11-15-2002, 04:57 PM
I am attempting to install PHP on an IBM AIX/RS6000 (IBM's flavor of UNIX) and the configure script is getting an error that says the C compiler is unable to compile executables. How do I check to see if I even have a C compiler, what one it is and if I don't have one where can I get one? If this helps here is the last part of the config.log

configure:2005: checking for gcc
configure:2035: checking for cc
configure:2118: checking whether the C compiler (cc ) works
configure:2134: cc -o conftest conftest.c 1>&5
1506-333 (S) License failure: acquire: No servers available for this vendor (network license server/library).
configure: failed program was:

#line 2129 "configure"
#include "confdefs.h"

main(){return(0);}

Thank you for any help you can give me.

requestcode
11-15-2002, 08:39 PM
I was able to get past my previous problem by installing GCC. Now I have another problem. Here is the message from the output:

checking for Apache 1.x module support via DSO through APXS

Sorry I was not able to successfully run APXS. Possible Reasons:

1. Perl is not installed.
2. Apache was not compiled with DSO support.
3. 'apxs' is not in your path.

The output of /usr/HTTPServer/bin/apxs follows

./tmp/src/php-4.2.3/configure[3308]: /usr/HTTPServer/bin/apxs - not found

configure error aborting.

This is the command that I used:
./tmp/src/php-4.2.3/configure --with-apxs=/usr/HTTPServer/bin/apxs

I also tried it this way and received the message of unable to execute:

./tmp/src/php-4.2.3/configure --with-apxs=/usr/HTTPServer/bin/

Perl is installed, 'apxs' is in the specified directory. I am also loged in as root. Any suggestions? Thank you.