You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Gomez Henri <ne...@slib.fr> on 2001/02/05 13:35:05 UTC

apxs ?

I sent some time ago a modification for apxs and apachectl

=>

--- apxs.in.orig Mon Feb  5 13:10:52 2001
+++ apxs.in Mon Feb  5 13:11:33 2001
@@ -73,7 +73,7 @@
 my $prefix            = "$CFG_PREFIX";
 my $CFG_EXEC_PREFIX   = "@exec_prefix@";
 my $exec_prefix       = "$CFG_EXEC_PREFIX";
-my $CFG_SBINDIR       = "@bindir@";
+my $CFG_SBINDIR       = "@sbindir@";
 my $CFG_INCLUDEDIR    = "@includedir@";
 my $CFG_LIBEXECDIR    = "@libexecdir@";
 my $CFG_SYSCONFDIR    = "@sysconfdir@";
--- apachectl.in.orig Mon Feb  5 13:12:27 2001
+++ apachectl.in Mon Feb  5 13:13:16 2001
@@ -28,7 +28,7 @@
 PIDFILE=@prefix@/logs/httpd.pid
 #
 # the path to your httpd binary, including options if necessary
-HTTPD='@prefix@/bin/httpd'
+HTTPD='@sbindir@/httpd'
 #
 # a command that outputs a formatted text version of the HTML at the
 # url given on the command line.  Designed for lynx, however other

<=

I still couldn't use apxs to do :

apxs -c -o mod_jk.so mod_jk.c ../common/*.c 

Thanks for any help since I really need apxs to build mod_jk 
(the Apache tomcat connector) for Apache 2.0 ....

Also the missing release.h included from httpd.h make the build fail ?-(
 


Re: apxs ?

Posted by rb...@covalent.net.
> I still couldn't use apxs to do :
> 
> apxs -c -o mod_jk.so mod_jk.c ../common/*.c 
> 
> Thanks for any help since I really need apxs to build mod_jk 
> (the Apache tomcat connector) for Apache 2.0 ....

Could you post the errors you were getting?  I have just done the
following on a proprietary module that I am writing

apxs -c *.c
apxs -i proprietary.la

And that worked for me.  I believe the problem may be that we are creating
.la files instead of .so files in the compile step.  The .so is now
created by libtool when we install using the -i flag to apxs.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------



Re: apxs ?

Posted by rb...@covalent.net.
> --- apxs.in.orig Mon Feb  5 13:10:52 2001
> +++ apxs.in Mon Feb  5 13:11:33 2001
> @@ -73,7 +73,7 @@
>  my $prefix            = "$CFG_PREFIX";
>  my $CFG_EXEC_PREFIX   = "@exec_prefix@";
>  my $exec_prefix       = "$CFG_EXEC_PREFIX";
> -my $CFG_SBINDIR       = "@bindir@";
> +my $CFG_SBINDIR       = "@sbindir@";
>  my $CFG_INCLUDEDIR    = "@includedir@";
>  my $CFG_LIBEXECDIR    = "@libexecdir@";
>  my $CFG_SYSCONFDIR    = "@sysconfdir@";
> --- apachectl.in.orig Mon Feb  5 13:12:27 2001
> +++ apachectl.in Mon Feb  5 13:13:16 2001
> @@ -28,7 +28,7 @@
>  PIDFILE=@prefix@/logs/httpd.pid
>  #
>  # the path to your httpd binary, including options if necessary
> -HTTPD='@prefix@/bin/httpd'
> +HTTPD='@sbindir@/httpd'
>  #
>  # a command that outputs a formatted text version of the HTML at the
>  # url given on the command line.  Designed for lynx, however other

You are using sbindir, but we always install to bindir.  Is there a reason
for that?

> I still couldn't use apxs to do :
> 
> apxs -c -o mod_jk.so mod_jk.c ../common/*.c 
> 
> Thanks for any help since I really need apxs to build mod_jk 
> (the Apache tomcat connector) for Apache 2.0 ....

APXS has never been able to compile multiple .c files in the same
line.  The biggest problem we have is that we need to allow people to
compile modules with multiple .c files.  I will try to get something done
today to make this possible.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------




Re: apxs ?

Posted by rb...@covalent.net.
I'll look at this today.  Sorry it has taken so long to get to this stuff.

Ryan

On Mon, 5 Feb 2001, Gomez Henri wrote:

> I sent some time ago a modification for apxs and apachectl
> 
> =>
> 
> --- apxs.in.orig Mon Feb  5 13:10:52 2001
> +++ apxs.in Mon Feb  5 13:11:33 2001
> @@ -73,7 +73,7 @@
>  my $prefix            = "$CFG_PREFIX";
>  my $CFG_EXEC_PREFIX   = "@exec_prefix@";
>  my $exec_prefix       = "$CFG_EXEC_PREFIX";
> -my $CFG_SBINDIR       = "@bindir@";
> +my $CFG_SBINDIR       = "@sbindir@";
>  my $CFG_INCLUDEDIR    = "@includedir@";
>  my $CFG_LIBEXECDIR    = "@libexecdir@";
>  my $CFG_SYSCONFDIR    = "@sysconfdir@";
> --- apachectl.in.orig Mon Feb  5 13:12:27 2001
> +++ apachectl.in Mon Feb  5 13:13:16 2001
> @@ -28,7 +28,7 @@
>  PIDFILE=@prefix@/logs/httpd.pid
>  #
>  # the path to your httpd binary, including options if necessary
> -HTTPD='@prefix@/bin/httpd'
> +HTTPD='@sbindir@/httpd'
>  #
>  # a command that outputs a formatted text version of the HTML at the
>  # url given on the command line.  Designed for lynx, however other
> 
> <=
> 
> I still couldn't use apxs to do :
> 
> apxs -c -o mod_jk.so mod_jk.c ../common/*.c 
> 
> Thanks for any help since I really need apxs to build mod_jk 
> (the Apache tomcat connector) for Apache 2.0 ....
> 
> Also the missing release.h included from httpd.h make the build fail ?-(
>  
> 
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------