httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomo <shelty_...@yahoo.com>
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,libapreq.so.1 -o
.libs/libapreq.so.1.0.0
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libapreq.so.1: cannot open file: No such file or
directory
ld: fatal: File processing errors. No output written to
.libs/libapreq.so.1.0.0
collect2: ld returned 1 exit status
make: *** [libapreq.la] Error 1

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

Regards,
Tomo

--- "David N. Welton" <davidw@dedasys.com> wrote:
> Tomo <shelty_dog@yahoo.com> writes:
> 
> > My DSO module compiles ok with apxs...
> > gcc -DSOLARIS2=260 -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT
> > -I../lib/expat-lite -fpic -DSHARED_MODULE
> > -I/home/acunzoth/dump/Apache/include  -c mod_teldir.c
> > ld -G -o mod_teldir.so 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: http://www.dedasys.com/
>      Personal: http://www.dedasys.com/davidw/
> Free Software: http://www.dedasys.com/freesoftware/
>    Apache Tcl: http://tcl.apache.org/


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Mime
View raw message