Alexander Solovey's clues to compile mod_perl were a godsend...
But now I'm pulling out my hair trying to compile libapreq under Cygwin.

I get the following string of errors...

# Begin Snippet
...
LD_RUN_PATH="/home/Administrator/.cpan/build/libapreq-1.0/Request/../blib/arch/a
uto/libapreq" ld2  -s -L/usr/local/lib Request.o  -o 
../blib/arch/auto/Apache/Re
quest/Request.dll  /usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a 
-L/home
/Administrator/.cpan/build/libapreq-1.0/Request/../blib/arch/auto/libapreq 
-lapr
eq
dllwrap --dllname Request.dll --driver-name gcc --dlltool dlltool 
--export-all-s
ymbols --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/home/Administrator/.cpan/build/libapreq-1.0/Request/../blib/arch/auto/li
bapreq -lapreq
dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
Request.o(.text+0x185):Request.c: undefined reference to `perl_request_rec'
Request.o(.text+0xa26):Request.c: undefined reference to `sv2request_rec'
Request.o(.text+0xcec):Request.c: undefined reference to `ap_pcalloc'
Request.o(.text+0xcf4):Request.c: undefined reference to `ap_null_cleanup'
Request.o(.text+0xd08):Request.c: undefined reference to 
`ap_register_cleanup'
Request.o(.text+0xf70):Request.c: undefined reference to `ap_pcalloc'
Request.o(.text+0xf78):Request.c: undefined reference to `ap_null_cleanup'
Request.o(.text+0xf8c):Request.c: undefined reference to 
`ap_register_cleanup'
Request.o(.text+0x16d1):Request.c: undefined reference to `hvrv2table'
Request.o(.text+0x1728):Request.c: undefined reference to 
`mod_perl_tie_table'
Request.o(.text+0x1a59):Request.c: undefined reference to `ap_table_unset'
Request.o(.text+0x1b56):Request.c: undefined reference to `ap_table_add'
Request.o(.text+0x1c1c):Request.c: undefined reference to `ap_table_set'
Request.o(.text+0x1ce2):Request.c: undefined reference to `ap_table_get'
Request.o(.text+0x1f2c):Request.c: undefined reference to 
`mod_perl_tie_table'
Request.o(.text+0x400e):Request.c: undefined reference to `ap_table_get'
Request.o(.text+0x47a9):Request.c: undefined reference to `ap_table_get'
Request.o(.text+0x487d):Request.c: undefined reference to 
`mod_perl_tie_table'

# End Snippet

According to this message:
http://sources.redhat.com/ml/cygwin/2002-01/msg00230.html

I can search the modperl archives with the keyword 'cygwin' and find 
clues on how to compile 'Apache::Request'

Unfortunately, the only clue I found was this:
http://www.mail-archive.com/modperl@apache.org/msg23958.html

Which says I need to specify the location and name of the apache lib to 
link against.

How exactly can I accomplish this? (What are the command line switches 
to do this?)

Thank you for your time,
Daniel Fisher

ps- Ultimately, I'm looking to use AxKit on mod_perl through Cygwin.
Has anyone else accomplished this?
(I know that ActiveState's Perl *should* support AxKit, but the <get-xml 
column='column_name'> tag didn't work because of (AFAIK) a problem with 
XPath)


Reply via email to