RE: mod-perl with cygwin

2002-01-18 Thread Dan Horne

I got mod_perl installed with Apache, but then couldn't get libapreq added

Dan

-Original Message-
From: úÁÑÃ á.á. [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 8:14 PM
To: [EMAIL PROTECTED]
Subject: mod-perl with cygwin


Hello modperl,

  Can anybody install mod_perl on cygwin ports?

--
Best regards,
 úÁÑÃ  mailto:[EMAIL PROTECTED]







RE: Re[2]: Installing mod_perl with ActiveState

2002-01-10 Thread Dan Horne

Sorry - I forgot to say that after I reinstalled apache in included
"AddModule mod_perl.c" it all worked okay

cheers

Dan

-Original Message-
From: C.Hauser - IT assistance GmbH [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 10:09 PM
To: Dan Horne
Subject: Re[2]: Installing mod_perl with ActiveState


So you call later

PerlRequire E:/home/utils/startup.pl

Might be there an error in startup.pl?


== beginn original ==
Date: Donnerstag, 10. Januar 2002, 10:04:35
Subject: Installing mod_perl with ActiveState

CU, cheers for this -

2 Things:

1. I reinstalled apache in c:/apache
2. I added "AddModule mod_perl.c" as you mentioned below. I did try with my
old installation, but it didn't seem to parse. I don't know what was
different this time other than my installation directory

Thanks again

Dan



-Original Message-
From: C.Hauser - IT assistance GmbH [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 9:49 PM
To: Dan Horne
Cc: [EMAIL PROTECTED]
Subject: Re: Installing mod_perl with ActiveState



> The installation of mod_perl (from theoryx5.uwinnipeg.ca) via ppm fails
when
> it attempts to install mod_perl.so to c:\apache root. The default location
> for apache when I installed it was c:\program files\apache group\apache. I
> followed the instructions and manually copied mod_perl.so to my modules
> directory.

Does it now fails in Installtion or ...

> LoadModule perl_module modules/mod_perl.so
> in httpd.conf, which parses okay.

... does it parse OK?

I used the above ingredients and the result was OK, from the scratch.
I installed it in E:\Server\Apache, so no spaces. But this shouldn't
be the problem?

LoadModule perl_module modules/mod_perl.so
AddModule mod_perl.c


CU Christian



=== end original 







RE: Installing mod_perl with ActiveState

2002-01-10 Thread Dan Horne

CU, cheers for this -

2 Things:

1. I reinstalled apache in c:/apache
2. I added "AddModule mod_perl.c" as you mentioned below. I did try with my
old installation, but it didn't seem to parse. I don't know what was
different this time other than my installation directory

Thanks again

Dan



-Original Message-
From: C.Hauser - IT assistance GmbH [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 9:49 PM
To: Dan Horne
Cc: [EMAIL PROTECTED]
Subject: Re: Installing mod_perl with ActiveState



> The installation of mod_perl (from theoryx5.uwinnipeg.ca) via ppm fails
when
> it attempts to install mod_perl.so to c:\apache root. The default location
> for apache when I installed it was c:\program files\apache group\apache. I
> followed the instructions and manually copied mod_perl.so to my modules
> directory.

Does it now fails in Installtion or ...

> LoadModule perl_module modules/mod_perl.so
> in httpd.conf, which parses okay.

... does it parse OK?

I used the above ingredients and the result was OK, from the scratch.
I installed it in E:\Server\Apache, so no spaces. But this shouldn't
be the problem?

LoadModule perl_module modules/mod_perl.so
AddModule mod_perl.c


CU Christian







Installing mod_perl with ActiveState

2002-01-10 Thread Dan Horne

Hi all

I have just installed the binary of Apache v1.3.22 on Windows 2000 and have
attempted to add mod_perl. I am using ActiveState Perl 5.6.1

The installation of mod_perl (from theoryx5.uwinnipeg.ca) via ppm fails when
it attempts to install mod_perl.so to c:\apache root. The default location
for apache when I installed it was c:\program files\apache group\apache. I
followed the instructions and manually copied mod_perl.so to my modules
directory.

However, when I run "apache -t" I am warned of "Invalid command
'PerlHander'" in my startup.pl file. This suggests that mod_perl is not
installed. ppm -query mod_perl suggests that it is installed correctly by
ppm. I have tried installing and reinstalling, but to no avail.

I have also entered:

LoadModule perl_module modules/mod_perl.so

in httpd.conf, which parses okay.

Any ideas?

Dan






Apache::REquest on cygwin

2002-01-03 Thread Dan Horne

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