I tried to install HTML::Embperl with Apache/mod_perl on
a Sparc/Solaris server, but 'make test' failed with an error on the
module Apache/Session/Win32.pm.

Did someone already encounter/solve this kind of problem ?

Regards.

______________________________________
Jean-Philippe FAUVELLE  <[EMAIL PROTECTED]>
France Telecom Hosting
40 rue Gabriel Crie, 92245 Malakoff Cedex, France
[http://www.fth.net/] [+33 (0) 1 46 12 67 89]


1) My config is:

OS = Solaris
apache V1.3.9
mod_perl V1.21
Apache::Session  V1.03
Perl  V5.00503
Embperl  V1.2b8


2) Apache and mod_perl works fine and were installed at the
same time, with the following commands:

>cd /usr/local/apache/build
>lwp-download http://www.apache.org/dist/apache_1.3.9.tar.gz
>lwp-download http://perl.apache.org/dist/mod_perl-1.21.tar.gz
>tar zvxf apache_1.3.9.tar.gz
>tar zvxf mod_perl-1.21.tar.gz
>cd mod_perl-1.21
>perl Makefile.PL APACHE_SRC=../apache_1.3.9/src \
>   DO_HTTPD=1 USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1 \
>   PERL_CHILD_INIT=1 PERL_STACKED_HANDLERS=1                   # pour
Apache::DBI
>make
>make test
>make install
>cd ../apache_1.3.9
>make install

all ran ok


3) Here is the output produced when building Embperl:

>cd opt/Homes/cpan/HTML-Embperl-1.2b8
>perl Makefile.PL

>Build with support for Apache mod_perl?(y/n) [y]
>Searching for Apache sources...
>Look at ..
>Look at ../src
>Look at ./src
>Apache source not found, enter path name or q to quit []
/usr/local/apache/build/apache_1.3.9
>Searching for Apache sources...
>Look at /usr/local/apache/build/apache_1.3.9
>Look at /usr/local/apache/build/apache_1.3.9/src
>Use /usr/local/apache/build/apache_1.3.9/src as Apache source(y/n) [y]
>Will use /opt/FSFutils/apache/build/apache_1.3.9/src for Apache Headers
>Apache Version Server version: Apache/1.3.9 (Unix)
>Test start /opt/FSFutils/apache/build/apache_1.3.9/src/httpd
>Test httpd will run as user nobody and group other
>Test httpd will listen on port 8529
>Found mod_perl  Version 1.21
>Found LWP::UserAgent  Version 1.68
>Found HTML::HeadParser  Version 2.10
>Found Apache::Session  Version 1.03
>Found CGI  Version 2.56
>Checking if your kit is complete...
>Warning: the following files are missing in your kit:
>        EmbperlD.pod
>        FeaturesD.pod
>        IntroD.pod
>Please inform the author.
>Writing Makefile for HTML::Embperl

>make

... all ran ok ...

>make test

>PERL_DL_NONLAZY=0
/usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.00503/su
n4-solaris ->I/usr/local/lib/perl5/5.00503 test.pl
>
>loading...                    ok
>
>Testing offline mode...
>
>ascii...                      ok
>pure.htm...                   ok
>plain.htm...                  ok

> ... cut (all ok)

>opmask/opmask.htm...          ok
>opmask/opmasktrap.htm...      ok
>
>Testing Execute function...
>
>div.htm from file...          ok
>div.htm from memory...        ok
>div.htm to memory...          ok
>div.htm from/to memory...     ok
>error.htm to memory...        ok
>Use of uninitialized value at (eval 1218) line 1.
>
>Starting httpd...       [Fri Oct  8 17:09:47 1999] [error] Can't locate
Apache/Session/Win32.pm in @INC (@INC >contains: blib/arch blib/lib .
/usr/local/lib/perl5/5.00503/sun4->solaris /usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/sun4->solaris
/usr/local/lib/perl5/site_perl/5.005
/opt/Homes/cpan/HTML-Embperl-1.2b8/test/
/opt/Homes/cpan/HTML->Embperl-1.2b8/test/lib/perl) at (eval 3) line 1.
>BEGIN failed--compilation aborted at (eval 3) line 1.
>BEGIN failed--compilation aborted at
/opt/Homes/cpan/HTML-Embperl-1.2b8/test/conf/startup.pl line 10.
>
>Syntax error on line 41 of
/opt/Homes/cpan/HTML-Embperl-1.2b8/test/conf/httpd.conf:
>Can't locate Apache/Session/Win32.pm in @INC (@INC contains: blib/arch
>blib/lib . /usr/local/lib/perl5/5.00503/sun4->solaris
/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/sun4->solaris
/usr/local/lib/perl5/site_perl/5.005
/opt/Homes/cpan/HTML-Embperl-1.2b8/test/
/opt/Homes/cpan/HTML->Embperl-1.2b8/test/lib/perl) at (eval 3) line 1.
>BEGIN failed--compilation aborted at (eval 3) line 1.
>BEGIN failed--compilation aborted at
/opt/Homes/cpan/HTML-Embperl-1.2b8/test/conf/startup.pl line 10.



Reply via email to