• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

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
0
nngdemi
Asked:
nngdemi
  • 4
  • 2
1 Solution
 
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
 
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
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
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
 
jlevieCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now