CODE
wget http://fresh.t-systems-sfr.com/unix...yout-3.2.tar.gz
tar -zxvf mod_layout-3.2.tar.gz
cd mod_layout-3.2
mv Makefile.STATIC Makefile
It will ask if you want to overwite, press y and enter
pico -w Makefile
Find:
APXS=apxs
Change to:
APXS=/usr/local/apache/bin/apxs
Ctrl + X , y and enter to save the file..
make
make install
service httpd restart
tar -zxvf mod_layout-3.2.tar.gz
cd mod_layout-3.2
mv Makefile.STATIC Makefile
It will ask if you want to overwite, press y and enter
pico -w Makefile
Find:
APXS=apxs
Change to:
APXS=/usr/local/apache/bin/apxs
Ctrl + X , y and enter to save the file..
make
make install
service httpd restart
neither does this one:
CODE
1) Download and extract the latest version of mod_layout to a temp directory on your server
(http://software.tangent.org/downloa...yout-3.2.tar.gz)
2) Edit the file /usr/sbin/apxs
Look for the lines...
my $CFG_PREFIX = q(/etc/httpd); # substituted via APACI install
my $CFG_SBINDIR = q(/usr/sbin); # substituted via APACI install
my $CFG_INCLUDEDIR = q(/usr/include/apache); # substituted via APACI install
my $CFG_LIBEXECDIR = q(/usr/lib/apache); # substituted via APACI install
my $CFG_SYSCONFDIR = q(/etc/httpd/conf); # substituted via APACI install
And change them to...
my $CFG_PREFIX = q(/usr/local/apache); # substituted via APACI install
my $CFG_SBINDIR = q(/usr/local/apache/bin); # substituted via APACI install
my $CFG_INCLUDEDIR = q(/usr/local/apache/include); # substituted via APACI install
my $CFG_LIBEXECDIR = q(/usr/local/apache/libexec); # substituted via APACI install
my $CFG_SYSCONFDIR = q(/usr/local/apache/conf); # substituted via APACI install
3) Save apxs and return to your mod_layout install directory.
4) make
5) make install
(http://software.tangent.org/downloa...yout-3.2.tar.gz)
2) Edit the file /usr/sbin/apxs
Look for the lines...
my $CFG_PREFIX = q(/etc/httpd); # substituted via APACI install
my $CFG_SBINDIR = q(/usr/sbin); # substituted via APACI install
my $CFG_INCLUDEDIR = q(/usr/include/apache); # substituted via APACI install
my $CFG_LIBEXECDIR = q(/usr/lib/apache); # substituted via APACI install
my $CFG_SYSCONFDIR = q(/etc/httpd/conf); # substituted via APACI install
And change them to...
my $CFG_PREFIX = q(/usr/local/apache); # substituted via APACI install
my $CFG_SBINDIR = q(/usr/local/apache/bin); # substituted via APACI install
my $CFG_INCLUDEDIR = q(/usr/local/apache/include); # substituted via APACI install
my $CFG_LIBEXECDIR = q(/usr/local/apache/libexec); # substituted via APACI install
my $CFG_SYSCONFDIR = q(/usr/local/apache/conf); # substituted via APACI install
3) Save apxs and return to your mod_layout install directory.
4) make
5) make install