|
I have had a strange problem with Apache 1.3.9's
source. I was compiling it with php 3.0.12 as a module thru APACI the dso
way with support for Mysql ( i have a custom compiled copy in /etc/local ) ,
when the Compile process gave an error - gcc , unknown option -rpath and a
stream or errors after that point. I remembered that rpath is an option for the
Linker/Loader -Ld and so i tried to do the make by hand and everything worked.
ld archived and stiched together the libraries without trouble. Then i looked
more closely in the makefile and discovered that the option Wl, option format
worked *only* with the immediately next parameter . I then replaced $SHLIBS
==gcc with gcc -Xlinker and everything compiled cleanly in this directory.
However, the Make process promptly stopped with the same problem at the next
module directory , at mod_proxy.On a hunch i checked out all the makefiles and
discovered the same problem with ALL the module directories. I wrote -Xlinker
everywhere and everything compiled and linked merrily. The funny thing is that
this problem never occured when mysql was not included.While i understand that
the library path /usr/local/lib/mysql does not have to be included for non-mysql
builds , Why should this problem of passing the linker parameters/switches occur
in gcc in the makefile as generated by configure for Apache? Has anybody else
had this problem . Can anyone else check this out for reproducibility . It might
be a genuine bug during the makefile generation process for the apache Configure
script, or i might be missing something.
Another thing i want to ask is has anybody
successfully compiled in mod_frontpage v 4 -i.e. frontpage 2000 extensions in
apache. The makefile itself has errors with too many colons in the clean and ::
clean entries. it is a 14 k download so If someone manages it successfully,
could they please let me know.
Shanker
|
