You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Zottl, Julian (Contractor)" <ju...@fanniemae.com> on 2005/08/30 23:04:02 UTC

[users@httpd] Compiling issue...

Hello all,
Recently I compiled Apache 2.0.49 on Suse Linux using the following:
./configure --enable-layout=FannieMae --with-program-name=apache2
--disable-mandir --disable-iconsdir --enable-static-rotatelogs \
--disable-isapi --enable-static-rotatelogs --disable-autoindex
--enable-info --disable-userdir --enable-rewrite --enable-so
--with-mpm=worker

Everything compiles successfully, however, after compiling, I need to
manually modify apachectl to point to the correct places.  Specifically,
I need to edit:
pname=apache2
sysconfig_apache=/etc/sysconfig/$pname
sysconfdir=/etc/apache2

test -s $sysconfig_apache && source $sysconfig_apache
httpd_conf=${APACHE_HTTPD_CONF:-$sysconfdir/httpd.conf}

I have looked in the configure script and the Makefile, but am unable to
find which script modifies these during compiling.  I have tried
modifying ./support/apachectl before the compile, but it gets over
written.  Any help is much appreciated!
Take care,
Julian

Julian Zottl
FannieMae Web Server Engineering Group



Re: [users@httpd] Compiling issue...

Posted by Joshua Slive <js...@gmail.com>.
On 8/30/05, Zottl, Julian (Contractor) <ju...@fanniemae.com> wrote:
> 
> 
> Hello all, 
> Recently I compiled Apache 2.0.49 on Suse Linux using the following: 
> ./configure --enable-layout=FannieMae --with-program-name=apache2
> --disable-mandir --disable-iconsdir --enable-static-rotatelogs \
> 
> --disable-isapi --enable-static-rotatelogs --disable-autoindex --enable-info
> --disable-userdir --enable-rewrite --enable-so --with-mpm=worker
> 
> Everything compiles successfully, however, after compiling, I need to
> manually modify apachectl to point to the correct places.  Specifically, I
> need to edit:
> 
> pname=apache2 
> sysconfig_apache=/etc/sysconfig/$pname 
> sysconfdir=/etc/apache2 
> 
> test -s $sysconfig_apache && source $sysconfig_apache 
> httpd_conf=${APACHE_HTTPD_CONF:-$sysconfdir/httpd.conf} 
> 
> I have looked in the configure script and the Makefile, but am unable to
> find which script modifies these during compiling.  I have tried modifying
> ./support/apachectl before the compile, but it gets over written.  Any help
> is much appreciated!

Those defines that you mention are not present in apachectl as
distributed from httpd.apache.org.  Perhaps this is some script
provided by SUSE, in which case I would not expect it to be fixed by
an apache source install.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Compiling issue...

Posted by Ian Joyce <ia...@gmail.com>.
On 8/30/05, Zottl, Julian (Contractor) <ju...@fanniemae.com> wrote:
>  
> 
> Hello all, 
> Recently I compiled Apache 2.0.49 on Suse Linux using the following: 
> ./configure --enable-layout=FannieMae --with-program-name=apache2
> --disable-mandir --disable-iconsdir --enable-static-rotatelogs \ 
> 
> --disable-isapi --enable-static-rotatelogs --disable-autoindex --enable-info
> --disable-userdir --enable-rewrite --enable-so --with-mpm=worker 
> 
> Everything compiles successfully, however, after compiling, I need to
> manually modify apachectl to point to the correct places.  Specifically, I
> need to edit: 

See: http://httpd.apache.org/docs/2.0/programs/configure.html#installationdirectories

> Take care, 
> Julian 

--Ian

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org