configure cannot find program
hi,
I'm trying to ./configure jk2, the jakarta connector (apache module) for Apache/Tomcat... in order to run configure, you have to specify the absolute path to a program called 'apxs', which is needed to compile the apache module. so (among other things) i passed this to the script.. > ./configure --with-apxs=/home/me/apache/bin/apxs then it spews out the usual checks for programs and compilers.... until it reaches apxs and it says: need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl could not find /home/me/apache/bin/apxs configure: error: You must specify a valid --with-apxs path (and it then it "exit 1"s) so I dont get it... i can go to that directory and type ./apxs and the program runs ok... but for some reason the configure script cant find it, let alone run it... does anyone have any clues? Is there some sort of PATH or other environment variable I'm meant to use or something? Im stuck.. |
make sure the file permissions are 777 or 755
chmod 755 /home/me/apache/bin/apxs and any directorys below that, leading up to the program. |
yeah, I tried changing permissions, which didnt seem to help.
But then I realised that apxs was already installed with another Apache distribution on the same machine.... I was quite tired when making the posting which is why i didn't realise this earlier. so when i pointed the ./configure script towards the previously installed apxs, it worked fine, allowing me to completely run the ./configure script - no worries. |
All times are GMT -5. The time now is 12:41 PM. |