httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregorius, Bryan" <>
Subject Apache Compilation Question
Date Thu, 29 Nov 2001 19:16:53 GMT

I have been banging my head against the wall trying to figure out a problem
I was having while building my custom module (as a DSO). My module uses
another DSO which contains some utility functions and my logging library. I
was finally able to get it to compile this morning, but I had to hand edit
the Makefile that gets generated by Configure in the src/modules/extra
directory and add the path to my utility library to the LIBS_SHLIB line.
After many hours of digging through scripts trying to figure out why I the
path I was specifying on the command line wasn't making it to the Makefile,
I finally found the problem. Trouble is I don't know how to fix it.
In the script around line 35 there is a line: arg="'echo $opt | cut
I believe that this is supposed to strip off the beginning of the
LIBS_SHLIB="-L/my/path" line so it can then cut the option -L out and add
/my/path to the list of dirs a couple lines later. When I look at the output
from the script I noticed that the first cut is not cutting to the '=' I
only cuts EX off the beginning of the line. The result is that the second
cut does not see the -L and my directory is not added to the list.

Does anyone know how I can specify a -L/my/path option correctly so it will
be stuck into the LIBS_SHLIB line in the Makefile of the src/modules/extra
directory? My workaround is to hand edit the Makefile, but this is
unacceptable as I need to completely automate the build process.

Any help would be greatly appreciated,

Bryan Gregorius 
Xerox Corporation
Software Developer Engineer, Network Core 
Office Systems Group 
Controller Systems Design & Development 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message