The problem is actually with APXS. cPanel installs Apache to a non default directory so APXS can't find it to query it's version info creating errors when you try to install mod_layout.
Here's how I got it installed...
1) Download and extract the latest version of mod_layout to a temp directory on your server
(
http://software.tangent.org/download...out-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
It should install just fine..
cPanel.net Support Ticket Number:
cPanel.net Support Ticket Number: