Carsten,

I use the first method you describe. It's always been pretty simple to 
modify the pathnames before.

I can see how the multiple source trees/build targets would work, but the
problem is that some systems would require 4 build targets. I'd like to 
keep it simple by have just 1 build target, and then configuring it to 
local needs, if necessary.

When I execute the config test, I cd to the bin directory and just give
the command

# ./apachectl configtest

That way there is no doubt as to which apachectl is being executed.

Jeffrey Cauhape - IT Professional III - Linux and Solaris Administrator
Nevada Department of Employment, Training and Rehabilitation
(775) 224-6836 (cell)     jpcauh...@detr.nv.gov

-----Original Message-----
From: Carsten Reith <carsten.re...@t-online.de> 
Sent: Tuesday, September 21, 2021 1:42 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Question about installing 2.4.48 in a non-standard 
location.

Hi,

what do you do exactly ?

- Do you build it with configure --prefix=/apps/apache_2.4.48 - make - make 
install and then copy it to the two target directories ?
- Or do you build it two times modifiying the --prefix appropriately ?

I would strongly suggest to install it the second way. Or maybe even to have 
two source tress (unless disk space is a severe issue).

Where do you execute the apachectl configtest ?

Cheers,

Carsten


I would strongly

Am Tue, Sep 21, 2021 at 06:28:34PM +0000 schrieb Jeff Cauhape:
> Folks,
> 
> When I built 2.4.48 from source, I built it in /apps/apache_2.4.48 
> directory. However, because of the way our servers are managed, I need to 
> install this as /apps/apache_2.4.48_int and /apps/apache_2.4.48_ext.
> When I have done this for earlier versions of Apache, I just edited 
> the path names in apachectl, envvars, envvars_std, and in httpd.conf.
> 
> This doesn't seem to be adequate anymore.
> 
> I have also changed pathnames in apxs, apu-1-config and apr-1-config, 
> but am still getting an error message when I run "apachectl configtest"
> 
> [root@appwebdev1ie bin]# ./apachectl configtest
> httpd: Could not open configuration file 
> /apps/apache_2.4.48/conf/httpd.conf: No such file or directory
> 
> Can someone toss me a clue as to where else this needs to be 
> corrected? Obviously  something is checking the default build path and I 
> don't know where this is going on.
> 
> Thank you,
> 
> Jeffrey Cauhape - IT Professional III - Linux and Solaris 
> Administrator Nevada Department of Employment, Training and Rehabilitation
> (775) 224-6836 (cell)     jpcauh...@detr.nv.gov<mailto:jpcauh...@detr.nv.gov>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to