You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dan Horne <dh...@xtra.co.nz> on 2002/01/04 04:24:36 UTC

Apache::REquest on cygwin

Hi

I've been trting to get mod_perl working under cygwin. I've manages to
install both Apache and mod_perl and have tested the earlier scripts in the
O'Reilly "Writing Apache Modules" -e.g. The guestbook app.

However, I can't get Apache::Request installed. The tail end of the make is:

:
lots of undefined symbols
:

/tmp/libapreq-0.33/Request/../blib/arch/auto/libapreq/libapreq.a(apache_mult
ipart_buffer.o)(.text+0x377):apache_multipart_buffer.c: undefined reference
to `ap_make_table'
/tmp/libapreq-0.33/Request/../blib/arch/auto/libapreq/libapreq.a(apache_mult
ipart_buffer.o)(.text+0x3bf):apache_multipart_buffer.c: undefined reference
to `ap_table_add'
/tmp/libapreq-0.33/Request/../blib/arch/auto/libapreq/libapreq.a(apache_mult
ipart_buffer.o)(.text+0x4e2):apache_multipart_buffer.c: undefined reference
to `ap_pstrcat'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
perlld: *** system() failed to execute
dllwrap --dllname Request.dll --driver-name gcc --dlltool
dlltool --export-all-symbols --as as --output-def
libRequest.def --output-lib libRequest.a \
-s -L/usr/local/lib Request.o
/usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a -L/tmp/libapreq-0.33/R
equest/../blib/arch/auto/libapreq -lapreq

make[1]: *** [../blib/arch/auto/Apache/Request/Request.dll] Error 1
make[1]: Leaving directory `/tmp/libapreq-0.33/Request'
make: *** [subdirs] Error 2

__END__

Has anyone got this working? I'd certainly appreciate some feedback

Thanks

Dan




Re: Apache::REquest on cygwin

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Fri, 4 Jan 2002, Dan Horne wrote:

> I've been trting to get mod_perl working under cygwin. I've manages to
> install both Apache and mod_perl and have tested the earlier scripts in the
> O'Reilly "Writing Apache Modules" -e.g. The guestbook app.
>
> However, I can't get Apache::Request installed. The tail end of the make is:
> :
> lots of undefined symbols
> :
> /tmp/libapreq-0.33/Request/../blib/arch/auto/libapreq/libapreq.a(apache_mult
> ipart_buffer.o)(.text+0x377):apache_multipart_buffer.c: undefined reference
> to `ap_make_table'
[ ... ]

I'm not very familiar with building things on cygwin, but
you may have to specify the location and name of the apache
lib to link against.

best regards,
randy kobes