httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomo <>
Subject Re: libapreq for C only tests
Date Wed, 18 Dec 2002 01:19:54 GMT
Hi Dave
"You aren't compiling in the apache_request* stuff."
I did not compile anything when untaring the package. 
Can you give me more detail or example of the meaning?

As for installing libapreq like in INSTALL notes..

I tried a make on the Makefile.noperl
(No Errors. What do I do now?)
# /Net/satools/tools/bin/.SunOS/.5.8/make
gcc -c `../../Apache/apxs -q CFLAGS` -I`../../Apache/apxs -q
INCLUDEDIR`  apache_request.c
gcc -c `../../Apache/apxs -q CFLAGS` -I`../../Apache/apxs -q
INCLUDEDIR`  apache_multipart_buffer.c
rm -rf libapreq.a
/usr/ccs/bin/ar cr libapreq.a apache_request.o apache_cookie.o
apache_multipart_buffer.o && : libapreq.a
chmod 755 libapreq.a

I also tried 'configure --with-apache-includes/blah/blah'
and ran make
gcc -shared  apache_cookie.lo apache_request.lo
apache_multipart_buffer.lo  -lc  -Wl,-soname -Wl, -o
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file cannot open file: No such file or
ld: fatal: File processing errors. No output written to
collect2: ld returned 1 exit status
make: *** [] Error 1

I just want to get my #include apache_request.h to work in module
without change my environment much.


--- "David N. Welton" <> wrote:
> Tomo <> writes:
> > My DSO module compiles ok with apxs...
> > -I../lib/expat-lite -fpic -DSHARED_MODULE
> > -I/home/acunzoth/dump/Apache/include  -c mod_teldir.c
> > ld -G -o mod_teldir.o -lldap
> You aren't compiling in the apache_request* stuff.
> > Is there something missing to get the C parts working?
> I use the C parts just fine with Apache Rivet - I just copy it over.
> I do my own compiles though, and only use apxs to query for compile
> information.
> -- 
> David N. Welton
>    Consulting:
>      Personal:
> Free Software:
>    Apache Tcl:

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

View raw message