Re: can not install - bad documentation

Mansour <[email protected]> Sun, 10 Sep 2006 14:08:32 -0300
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
Can any one help please ??? I really need to get this to work, as I am 
working already on a project that was planned based on the assumption 
this will work. It will take me alot of work to modify the project to 
work with somehting else. Here's again what 's going on:

I'm using mod_layout-4.0.1a , apache 2.0 on fedora 3. 
When I tried to install mod_layout using "make install", I got this error:

######################################################
Makefile:7: /usr/local/apache2/build/special.mk: No such file or directory
make: *** No rule to make target `/usr/local/apache2/build/special.mk'. 
Stop.
#######################################################


I had to modify the MakeFile to reflect the root for my apache, here's what I did:
###################################################################### 
#
builddir=$(shell pwd)
top_srcdir=/usr/lib/httpd/
top_builddir=/usr/lib/httpd/
include /usr/lib/httpd/build/special.mk


#   the used tools
APXS=/usr/sbin/apxs
###################################################################### 


Then I tried again "make install". I got this error:

###################################################################### 
/bin/sh /usr/lib/apr/build/libtool --silent --mode=install cp
mod_layout.la /usr/lib/httpd/modules/
make[1]: Leaving directory `/root/mod_layout-4.0.1a'
/usr/sbin/apxs -i -n liblayout.so -e liblayout.la
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/bin/sh
/usr/lib/apr/build/libtool' liblayout.la /usr/lib/httpd/modules
/bin/sh /usr/lib/apr/build/libtool --mode=install cp liblayout.la
/usr/lib/httpd/modules/
libtool: install: `liblayout.la' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
apxs:Error: Command failed with rc=65536
###################################################################### 

So, I tried "make" then "make install", it worked fine and installation 
reported no probelms
Then I modified apache config to load the module, but that's what I got 
when restarted apache:

mod_layout.so: undefined symbol: create_layout_request


I really need help in this, as I googled every where for similar issue. couldn't find anyhting useful.