perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: binary build of Embperl for Win32 Apache2
Date Wed, 12 Feb 2003 23:18:22 GMT
>
> > When you get asked for ApacheCore.lib, anwser with the full
> > path (includeing filename) to libhttpd.lib e.g.
> >
> > C:\Programme\Apache2\bin\libhttpd.lib
> >
> > then it should work, but I didn't have tested it yet
>
> I tried this, and it started compiling OK, but then there
> were a couple of problems (this is on Embperl-2.0b8, with
> ActivePerl 8xx and Apache 2.0.43) ....
>....

Randy, thanks for the work you have done. As soon as my time permits I will
continue at this point and hopefully we get it working soon

Gerald






> - epinit.c and epio.c both couldn't find errno - I defined
> errno as (*_errno()) (as in Win32's errno.h) , just to get past
> this;
>
> - in the ProviderApOutFilter_Callback function in epapfilter.c,
> Win32 didn't like the apr_bucket_read() call at about line 218;
> it complained about the wrong number of arguments to PerlIO_read.
> I commented this call out, which isn't the right thing to
> do, but just to get past this;
>
> - the compilation succeeded, and after adding in by hand
> libapr.lib and libaprutil.lib, everything linked fine.
>
> However, in running the tests, an unhandled exception in
> the perl58.dll occured for the first test (an access violation)
> in off-line mode. The same thing occurred with and without
> libxml2 support.
>
> In trying to run the tests under Apache, a similar access
> viloation occurred - there were a few things needed beforehand
> to get it to this point though -
> - in Embperl.pm, insert a 'use Apache2' at around line 69,
> for use under mod_perl 2,
> - in test/conf/httpd.conf.src, comment out at about line 100
> the LockFile directive,
> - in test/conf/startup.pl, insert a 'use Apache2' at around
> line 34, for mod_perl 2,
> - in blib/arch/auto/Embperl/, copy Embperl.dll to Embperl.so,
> - in Makefile.PL, at around line 71, change the 'name'
> associated with mod_actions.c to 'actions_module'
>
> --
> best regards,
> randy
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message