RE: Question about installing 2.4.48 in a non-standard location.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)     jpcauhape@xxxxxxxxxxx

-----Original Message-----
From: Carsten Reith <carsten.reith@xxxxxxxxxxx> 
Sent: Tuesday, September 21, 2021 1:42 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  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)     jpcauhape@xxxxxxxxxxx<mailto:jpcauhape@xxxxxxxxxxx>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux