[thelist] freebie tip

Daniel J. Cody djc at members.evolt.org
Wed Feb 20 13:49:01 CST 2002


<tip type="installing chili!soft asp on linux">

If you've got a version of Apache newer than 1.3.12, which is what
Chili!Soft ASP supports out of the box, you're going to have to compile
your own module. No biggie! In fact, there are detailed instructions
available at
http://www.chilisoft.com/howto/apache_mod.asp
that will guide you through the process.

However, if you're trying to build your module, and using the line
gcc -c -fPIC -I/path/to/apache/include -I. mod_casp2.c
and its throwing an error about a missing with something like:

/usr/local/apache_1.3.22/src/include/ap_config.h:114:16: os.h: No such
file or directory

Don't fret! Simply include another directory(the -I flag) into the
command which *DOES* contain the os.h(header file), usually
$APACHE_SRC_HOME/src/os/unix and it'll compile your module! Heres an
example:

gcc -c -fPIC -I/usr/local/apache_1.3.22/src/include
-I/usr/local/apache_1.3.22/src/os/unix -I. mod_casp2.c

Assuming your apache source is in /usr/local/apache_1.3.22 of course.

I'm sure this will save someone a headache someday :)

</tip>

.djc.




More information about the thelist mailing list