William,
I received this same test error when installing on Fedora Core 1, if you look at the values that are being set they are correct, just in a different order than the test expected. I have had RC2 running on Fedora Core 1 without error, sessions work fine. I thought you always needed an EMBPERL_APPNAME set for each virtual host with EMBPerl 2.0, perhaps that is part of the issue.
Neal
From: William Chapple <[EMAIL PROTECTED]> To: embperl-mailing-list <[EMAIL PROTECTED]> Subject: Embperl-2.0rc2 Date: Fri, 10 Dec 2004 23:20:31 -0800 (PST)
I've been trying to install Embperl-2.0rc2 on my Fedora Core 1 and Fecord Core 2 systems.
I have all of the required modules installed.
I'm running apache 2.0.49 (for development work) mod_perl-1.99_13 Apache::Session-1.6 Apache-SessionX-2.00b5
All are compiled from source.
Embperl compiles without errors (no libxml2/libxslt/XALAN linked).
make test fails at line 44. Output below: -------------------- PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
loading... ok
Testing offline mode...
#0 ascii... ok #1 pure.htm... ok #2 nooutput.htm... ok #3 nooutput.htm... ok #4 plain.htm... ok #5 plain.htm... ok #6 plain.htm... ok #7 plainblock.htm... ok #8 plainblock.htm... ok #12 error.htm... ok #13 error.htm... ok #14 error.htm... ok #21 errormismatch.htm... ok #22 errormismatchcmd.htm... ok #23 unclosed.htm... ok #24 notfound.htm... ok #25 notallow.xhtm... ok #31 rawinput/rawinput.htm... ok #32 var.htm... ok #37 varerr.htm... ok #41 escape.htm... Error in Line 44 Is: >HashinA<ahref="http://localhost/tests?B=2&A=1">< Should: >HashinA<ahref="http://localhost/tests?A=1&B=2"><
ERRORS detected! NOT all tests have been passed successfully --------------------
I don't know what the problem is or if it even is a real problem...
I went ahead and installed embperl and it seems to mostly work but I can't get it to log anything, and I can't get sessions to work either (Embperl never sends a cookie to the browser).
No matter what configuration directives I've tired, I haven't been able to fix either of these two issues.
Below is the relevant sections of the httpd.conf file:
You can see how I've experimented with it by placing directives in different places :)
LoadModule perl_module modules/mod_perl.so LoadModule embperl_module /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/auto/Embperl/Embperl.so
#EMBPERL STUFF #Embperl_UseEnv on EMBPERL_SESSION_CLASSES "File Null" EMBPERL_SESSION_ARGS "Directory=/tmp" EMBPERL_LOG "/tmp" EMBPERL_COOKIE_PATH "/" PerlModule Embperl
<VirtualHost 192.168.5.20> ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/apache2/htdocs/test ServerName tstdom.com DirectoryIndex index.html index.epl EMBPERL_SESSION_CLASSES "File Semaphore" EMBPERL_SESSION_ARGS "Directory=/tmp" EMBPERL_LOG "/tmp/embperl.log" EMBPERL_COOKIE_PATH "/" <Directory "/usr/local/apache2/htdocs/test/"> <FilesMatch ".*\.(html|epl)$"> SetHandler perl-script PerlHandler Embperl::Object Options ExecCGI </FilesMatch> </Directory> </VirtualHost>
Without logs or error messages I'm having a hard time determining what is wrong. Any help will be appreciated.
William.
__________________________________ Do you Yahoo!? Jazz up your holiday email with celebrity designs. Learn more. http://celebrity.mail.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]