compile apachejserv with error

I just download apachejserv and run
./configure and receive this error:
any help is appreciated.

WARNING: --with-apache-src is undefined: assuming shared object build
checking for apxs... configure: error: not found


thanks in advance
nngdemiAsked:
Who is Participating?
 
jlevieConnect With a Mentor Commented:
So, we're done with this? It would be greatly appreciated if you'd select a comment as the answer and grade it. If you don't want to do that I can "Propose and Answer"
0
 
jlevieCommented:
I think that if you look at the apachejserv installtion documentation, you'll see that you either must specify the apache source dir or you must use apxs in the configue command, something like:

../configure --with-apxs=/path-apache/bin/apxs

There may also be other configure options required, and they'll be noted in the installation instructions.
0
 
jlevieCommented:
Sorry about the typos, I can't seem to type this evening...
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
nngdemiAuthor Commented:
after successfully installing apache1;
I ran ./configure -with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local/jserv
to install apapcheJserv and still
get the error:

Please help, thanks.


checking for chmod... /bin/chmod
checking for GNU make... GNU Make version 3.78.1, by Richard Stallman and Roland
 McGrath.
/opt/gnu/bin/make
checking for working const... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for mode_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ANSI C header files... (cached) yes
checking for gettimeofday... yes
WARNING: --with-apache-src is undefined: assuming shared object build
checking for apxs... need to check for Perl first, apxs depends on it...
checking for perl... /opt/gnu/bin/perl
could not find apxs
configure: error: If you do not specify a valid --with-apache-src directory
                  then you must specify a valid --with-apxs path


0
 
jlevieCommented:
Is there an apxs executable in /usr/local/apache/bin? It's possible that your apache installation didn't include it.

If you don't have apxs, you'll need to get and install a binary copy of apache that does have it, or just get the apache sources and build your own. It's not very difficult to build your own apache.
0
 
nngdemiAuthor Commented:
i got it run thanks;
I got an old version of apache;
it works with 1.3.12.

thanks again.
0
All Courses

From novice to tech pro — start learning today.