LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-28-2004, 12:25 AM   #1
jonnycarlos
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora Core 1
Posts: 24

Rep: Reputation: 15
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..
 
Old 04-28-2004, 01:48 AM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
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.
 
Old 04-29-2004, 06:51 PM   #3
jonnycarlos
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora Core 1
Posts: 24

Original Poster
Rep: Reputation: 15
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.

Last edited by jonnycarlos; 04-29-2004 at 09:08 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
./configure can never find x ??? Stevetgn Linux - Software 4 04-28-2009 10:11 PM
./configure can't find Qt death_au Linux - Software 5 03-03-2007 09:43 AM
./configure cant find libXext addison014 Linux - Newbie 4 03-15-2005 03:10 PM
can't find it and configure it... NonSumPisces Linux - Software 1 05-26-2004 06:29 PM
help with installing a program, using ./configure litestep23 Linux - Newbie 4 02-21-2003 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration