<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>embperl@perl.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/perl-embperl/"/>
<id>http://mail-archives.apache.org/mod_mbox/perl-embperl/</id>
<updated>2009-12-06T17:27:48Z</updated>
<entry>
<title>RE: Compiling Embperl</title>
<author><name>gerald.richter@ecos.de</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200911.mbox/%3cvmime.4b0ae615.195f.4802a51ca5a5d144@srvgr1.ubrichter.de%3e"/>
<id>urn:uuid:%3cvmime-4b0ae615-195f-4802a51ca5a5d144@srvgr1-ubrichter-de%3e</id>
<updated>2009-11-23T19:44:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
There was a patched posted for this CGI problem about one or two month ago on the mailing list.
It will be part of the next release

Gerald 

&gt; -----Original Message-----
&gt; From: Soltan Safavi [mailto:soltan@mycopa.com] 
&gt; Sent: Monday, November 23, 2009 7:05 PM
&gt; To: Gerald Richter - ECOS
&gt; Cc: David G. (HQ-JF000)[INDYNE INC]; Ed Grimm; embperl@perl.apache.org
&gt; Subject: Re: Compiling Embperl
&gt; 
&gt; Hi,
&gt; 
&gt; I am using Fedora 10
&gt; Apache2::BuildConfig was missing in mod_perl-2.0.4-7.i386.rpm 
&gt; which was installed.
&gt; I could find it in mod_perl-devel-2.0.4-7.i386.rpm. Please 
&gt; note that this RPM was not initially part of Fedora core package.
&gt; Our application works fine and the only problem that I have 
&gt; noticed is related to the  "multipart/form-data", basically I 
&gt; can't upload files.
&gt; 
&gt; Thank you
&gt; 
&gt; Soltan
&gt; 
&gt; 
&gt; gerald.richter@ecos.de wrote:
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; How did you install Apache2::BuildConfig?
&gt; &gt;
&gt; &gt; Is there some RedHat package you can install?
&gt; &gt;
&gt; &gt; If yes, which one? I think this is of interesst for others as well.
&gt; &gt;
&gt; &gt; As far as I can see you can safely ignore the test errors. 
&gt; These are 
&gt; &gt; only, because error message texts have changed in Perl 5.10 and 
&gt; &gt; Embperl tests are not quite up to date :-(
&gt; &gt;
&gt; &gt; Gerald
&gt; &gt;  
&gt; &gt;
&gt; &gt;   
&gt; &gt;&gt; -----Original Message-----
&gt; &gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt; &gt;&gt; Sent: Friday, November 20, 2009 11:00 PM
&gt; &gt;&gt; To: Gerald Richter - ECOS
&gt; &gt;&gt; Cc: David G. (HQ-JF000)[INDYNE INC]; Ed Grimm; 
&gt; &gt;&gt; embperl@perl.apache.org
&gt; &gt;&gt; Subject: Re: Compiling Embperl
&gt; &gt;&gt;
&gt; &gt;&gt; Gerald,
&gt; &gt;&gt;
&gt; &gt;&gt; As you pointed out it was lack of Apache2::BuildConfig.  I 
&gt; installed 
&gt; &gt;&gt; it and I could compiled it easily, but make test 
&gt; TESTARGS="-i" shows 
&gt; &gt;&gt; a lot of errors. Please let me know what you think.
&gt; &gt;&gt;
&gt; &gt;&gt; Thank you
&gt; &gt;&gt;
&gt; &gt;&gt; Soltan
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" 
&gt; test.pl -i
&gt; &gt;&gt;
&gt; &gt;&gt; loading...                    ok
&gt; &gt;&gt;
&gt; &gt;&gt; Testing offline mode...
&gt; &gt;&gt; -----------------------
&gt; &gt;&gt;
&gt; &gt;&gt; #12 error.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1]Missing right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at 
&gt; &gt;&gt; end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #13 error.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1]Missing right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at 
&gt; &gt;&gt; end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #14 error.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1]Missing right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at 
&gt; &gt;&gt; end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #21 errormismatch.htm...      ok
&gt; &gt;&gt;
&gt; &gt;&gt; Testing Execute function...
&gt; &gt;&gt; --------------------------
&gt; &gt;&gt; error.htm to memory...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1]Missing right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at 
&gt; &gt;&gt; end of line
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Testing Ouput Caching...
&gt; &gt;&gt; -------------------------
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Testing mod_perl mode...
&gt; &gt;&gt; ------------------------
&gt; &gt;&gt;
&gt; &gt;&gt; #12 error.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in 
&gt; &gt;&gt; Perl
&gt; &gt;&gt; code: syntax error at
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 23, at 
&gt; &gt;&gt; EOF\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm 
&gt; line 32, near 
&gt; &gt;&gt; "+ )"\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm 
&gt; line 46, near 
&gt; &gt;&gt; "$error is here "\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm 
&gt; line 59, near 
&gt; &gt;&gt; ";\n\n}"\nMissing right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at 
&gt; &gt;&gt; end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #13 error.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in 
&gt; &gt;&gt; Perl
&gt; &gt;&gt; code: syntax error at
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 23, at 
&gt; &gt;&gt; EOF\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm 
&gt; line 32, near 
&gt; &gt;&gt; "+ )"\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm 
&gt; line 46, near 
&gt; &gt;&gt; "$error is here "\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm 
&gt; line 59, near 
&gt; &gt;&gt; ";\n\n}"\nMissing right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at 
&gt; &gt;&gt; end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #14 error.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in 
&gt; &gt;&gt; Perl
&gt; &gt;&gt; code: syntax error at
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 23, at 
&gt; &gt;&gt; EOF\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm 
&gt; line 32, near 
&gt; &gt;&gt; "+ )"\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm 
&gt; line 46, near 
&gt; &gt;&gt; "$error is here "\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm 
&gt; line 59, near 
&gt; &gt;&gt; ";\n\n}"\nMissing right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at 
&gt; &gt;&gt; end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #21 errormismatch.htm...      ok
&gt; &gt;&gt; #28 errdoc/errdoc.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in 
&gt; &gt;&gt; Perl
&gt; &gt;&gt; code: syntax error at
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt; &gt;&gt;  line 23, at EOF\nsyntax error at
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt; &gt;&gt;  line 32, near "+ )"\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt; &gt;&gt;  line 46, near "$error is here "\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt; &gt;&gt;  line 59, near ";\n\n}"\nMissing right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt; &gt;&gt;  line 60, at end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #30 errdoc/epl/errdoc2.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in 
&gt; &gt;&gt; Perl
&gt; &gt;&gt; code: syntax error at
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt; &gt;&gt; 2.htm line 23, at EOF\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt; &gt;&gt; 2.htm line 32, near "+ )"\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt; &gt;&gt; 2.htm line 46, near "$error is here "\nsyntax error at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt; &gt;&gt; 2.htm line 59, near ";\n\n}"\nMissing right curly or 
&gt; square bracket 
&gt; &gt;&gt; at /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt; &gt;&gt; 2.htm line 60, at end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #77 upload.htm...
&gt; &gt;&gt; Error in Line 9
&gt; &gt;&gt; Is:     &gt;Filename:&lt;br&gt;&lt;
&gt; &gt;&gt; Should: &gt;Content-DispositionContent-Type&lt;
&gt; &gt;&gt; #105 registry/tied.htm...
&gt; &gt;&gt; Error in Line 15
&gt; &gt;&gt; Is:     &gt;&lt;!DOCTYPEHTMLPUBLIC"-//IETF//DTDHTML2.0//EN"&gt;&lt;
&gt; &gt;&gt; Should: &gt;rc=0&lt;
&gt; &gt;&gt; #106 registry/tied.htm...
&gt; &gt;&gt; Error in Line 4
&gt; &gt;&gt; Is:     &gt;rc=0&lt;
&gt; &gt;&gt; Should: &gt;&lt;P&gt;Hereissometext&lt;/P&gt;&lt;
&gt; &gt;&gt; #194 EmbperlObject/epoincdiv.htm...
&gt; &gt;&gt; Error in Line 286
&gt; &gt;&gt; Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
&gt; &gt;&gt; Should: &gt;&lt;P&gt;2.1&lt;
&gt; &gt;&gt; #195 EmbperlObject/epofdat.htm...ok
&gt; &gt;&gt; #196 EmbperlObject/epodiv.htm...
&gt; &gt;&gt; Error in Line 282
&gt; &gt;&gt; Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
&gt; &gt;&gt; Should: &gt;&lt;P&gt;(2\.1.*?|1\.3.*?)&lt;P&gt;&lt;
&gt; &gt;&gt;
&gt; &gt;&gt; Testing cgi mode...
&gt; &gt;&gt; -------------------
&gt; &gt;&gt; #18 error.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1][Fri Nov 20 08:17:13 2009] [error] [client 127.0.0.1] Missing 
&gt; &gt;&gt; right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at 
&gt; &gt;&gt; end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #19 error.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1][Fri Nov 20 08:17:14 2009] [error] [client 127.0.0.1] Missing 
&gt; &gt;&gt; right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at 
&gt; &gt;&gt; end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #20 error.htm...
&gt; &gt;&gt;
&gt; &gt;&gt; [-1][Fri Nov 20 08:17:15 2009] [error] [client 127.0.0.1] Missing 
&gt; &gt;&gt; right curly or square bracket at 
&gt; &gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at 
&gt; &gt;&gt; end of line
&gt; &gt;&gt;
&gt; &gt;&gt; #77 upload.htm...
&gt; &gt;&gt; Error in Line 9
&gt; &gt;&gt; Is:     &gt;Filename:&lt;br&gt;&lt;
&gt; &gt;&gt; Should: &gt;Content-DispositionContent-Type&lt;
&gt; &gt;&gt; #196 EmbperlObject/epodiv.htm...
&gt; &gt;&gt; Error in Line 282
&gt; &gt;&gt; Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
&gt; &gt;&gt; Should: &gt;&lt;P&gt;(2\.1.*?|1\.3.*?)&lt;P&gt;&lt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Testparameter:
&gt; &gt;&gt;   offline = 0
&gt; &gt;&gt;   repeat = 2
&gt; &gt;&gt;
&gt; &gt;&gt;  ERRORS detected! NOT all tests have been passed successfully
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; gerald.richter@ecos.de wrote:
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; Hi,
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; the Makefile.Pl of Embperl is searching for the module
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; Apache2::BuildConfig to determinate if mod_perl 2 is installed and 
&gt; &gt;&gt; what are the compile settings.
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; Could you check if this module is installed?
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; If yes, please make a simple test programm and send me the output:
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; -----
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; use Apache2::BuildConfig ;
&gt; &gt;&gt;&gt; use Data::Dumper ;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; $c = Apache2::BuildConfig -&gt; new ;
&gt; &gt;&gt;&gt; print Dumper ($c) ;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; -----
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Gerald
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;   
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt; -----Original Message-----
&gt; &gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt; &gt;&gt;&gt;&gt; Sent: Thursday, November 19, 2009 11:14 PM
&gt; &gt;&gt;&gt;&gt; To: Williams, David G. (HQ-JF000)[INDYNE INC]
&gt; &gt;&gt;&gt;&gt; Cc: Ed Grimm; embperl@perl.apache.org
&gt; &gt;&gt;&gt;&gt; Subject: Re: Compiling Embperl
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Hi David
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; In the past I could easily install Embperl 2.2 on Fedora 6
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; which is
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; RPM-based sytem, why it can't be installed on Fedora 10? 
&gt; any Idea?
&gt; &gt;&gt;&gt;&gt; I was not successful to manually install Apache 2.2.x and
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; mod_perl 2
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; and I did not hear from Gerald for any other possible way.
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; I appreciate your help
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Soltan
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Williams, David G. (HQ-JF000)[INDYNE INC] wrote:
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt; Soltan,
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; I would be interested in hearing about an easy way to get
&gt; &gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt; Embperl and XALAN running on an RPM-based system (without
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; sources).  
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; To get things working quickly on Fedora, I just
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; uninstalled the RPM
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; version of Apache 2, mod_perl, and a number of other
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; things and then
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; manually installed Apache 2.2.x and mod_perl 2 from
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; source.  I have
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; been unsuccessful in compiling libxml and XALAN on Fedora from 
&gt; &gt;&gt;&gt;&gt; source, but I can live without them for now.
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt; Gerald, is there an easier way to get Embperl and all its
&gt; &gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt; prerequisites running on Fedora?
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt; Good luck.
&gt; &gt;&gt;&gt;&gt;&gt; ________________________________________
&gt; &gt;&gt;&gt;&gt;&gt; From: Soltan Safavi [soltan@mycopa.com]
&gt; &gt;&gt;&gt;&gt;&gt; Sent: Friday, October 16, 2009 2:38 PM
&gt; &gt;&gt;&gt;&gt;&gt; To: Ed Grimm
&gt; &gt;&gt;&gt;&gt;&gt; Cc: embperl@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt; Subject: Re: Compiling Embperl
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Hi Ed,
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; I am still looking for the solution. Please find below the
&gt; &gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt; output of
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt; Makefile.PL, it shows that mod_perl is properly installed
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt; but could
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt; find Apache2
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Thank you
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Soltan
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; I am using:
&gt; &gt;&gt;&gt;&gt;&gt; httpd-2.2.10
&gt; &gt;&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt; &gt;&gt;&gt;&gt;&gt; perl-5.10.0
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Build with support for Apache mod_perl?(y/n) [y] Searching
&gt; &gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt; for Apache
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt; sources...
&gt; &gt;&gt;&gt;&gt;&gt; Look at ..
&gt; &gt;&gt;&gt;&gt;&gt; Look at ../src
&gt; &gt;&gt;&gt;&gt;&gt; Look at ./src
&gt; &gt;&gt;&gt;&gt;&gt; Apache source not found, enter path name or q to quit 
&gt; &gt;&gt;&gt;&gt;&gt; [q]/usr/include/httpd Searching for Apache sources...
&gt; &gt;&gt;&gt;&gt;&gt; Look at /usr/include/httpd
&gt; &gt;&gt;&gt;&gt;&gt; Use /usr/include/httpd as Apache source(y/n) [y] Will use 
&gt; &gt;&gt;&gt;&gt;&gt; /usr/include/httpd for Apache Headers Enter path and file
&gt; &gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt; to start as
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt; httpd [/usr/include/httpd/httpd]/usr/sbin/httpd
&gt; &gt;&gt;&gt;&gt;&gt; Apache Version Server version: Apache/2.2.10 (Unix) Library for

&gt; &gt;&gt;&gt;&gt;&gt; mod_actions.c not found, please enter path to mod_actions.so 
&gt; &gt;&gt;&gt;&gt;&gt; []/usr/lib/httpd/modules  + Load dynamic module mod_actions.c
&gt; &gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_actions.so)
&gt; &gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_cgi.c
&gt; &gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_cgi.so)
&gt; &gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_alias.c
&gt; &gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_alias.so)
&gt; &gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_env.c
&gt; &gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_env.so)
&gt; &gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_perl.c
&gt; &gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_perl.so)
&gt; &gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_mime.c
&gt; &gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_mime.so)
&gt; &gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_dir.c
&gt; &gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_dir.so)
&gt; &gt;&gt;&gt;&gt;&gt;  + mod_perl was build with USE_DSO Can't locate 
&gt; Apache/src.pm in 
&gt; &gt;&gt;&gt;&gt;&gt; @INC (@INC contains:
&gt; &gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt; &gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
&gt; &gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt; /usr/lib/perl5/5.10.0
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/site_perl .) at Makefile.PL line 982,
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt; &lt;STDIN&gt; line 5.
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt; Ed Grimm wrote:
&gt; &gt;&gt;&gt;&gt;&gt;   
&gt; &gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt;&gt;&gt; All perl packages which are provided by your distribution
&gt; &gt;&gt;&gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt; should put
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt; their perl modules in one of the vendor_perl directories
&gt; &gt;&gt;&gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt; (excluding,
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt; of course, the perl package itself and any direct
&gt; &gt;&gt;&gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt; components thereof,
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt; which should put things in the core directories.)
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt; The easiest manner one could make it not work in this
&gt; &gt;&gt;&gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt; fashion would
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt; be to utilize a mod_perl package from someone other than the

&gt; &gt;&gt;&gt;&gt;&gt;&gt; distribution vendor which places its files elsewhere.
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Perl silently ignores any @INC directories which do not
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt; exist.  So
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt;&gt; long as the files it is looking for are in a directory
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt; which does
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt;&gt; exist and is included in @INC, you should be good.
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Presence of mind check: do you need a mod_perl-dev package or

&gt; &gt;&gt;&gt;&gt;&gt;&gt; something like that?  I'm pretty sure you would if you
&gt; &gt;&gt;&gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt; were running
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Ubuntu, as the normal Ubuntu mentality is to move things
&gt; &gt;&gt;&gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt; only needed
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt; to compile other things and are not specifically 
&gt; compiling tools 
&gt; &gt;&gt;&gt;&gt;&gt;&gt; themselves into -dev packages.
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Ed
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt; On Tue, 6 Oct 2009, Soltan Safavi wrote:
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi Gerald
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; I believe mod_perl is installed correctly.
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Here I have the content of the @INC
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl

&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; but paths with site_perl are missing on my system.
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Could this be the source of the problem?
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Thank you
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Soltan
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Gerald Richter wrote:
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi,
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Apache::src is part of mod_perl 1, since you use
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt; &gt;&gt; mod_perl 2, it
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; seems that mod_perl 2 is not detected by Makefile.PL.
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt; &gt;&gt;&gt;&gt; Maybe it is
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; not fully/correctly installed?
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Gerald
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; -----Original Message-----
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To: embperl@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Subject: Compiling Embperl
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10
and 
&gt; I get the 
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am using:
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; httpd-2.2.10
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; perl-5.10.0
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I appreciate your help
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Soltan
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt; &gt;&gt;&gt;&gt; 
&gt; ------------------------------------------------------------------
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --- To unsubscribe, e-mail: 
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt; &gt;&gt; embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: 
&gt; embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt; &gt;&gt; 
&gt; --------------------------------------------------------------------
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; - To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt; &gt;&gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;   
&gt; &gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;   
&gt; &gt;&gt;&gt;       
&gt; &gt;
&gt; &gt;
&gt; &gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;
&gt; &gt;
&gt; &gt;   
&gt; 


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Compiling Embperl</title>
<author><name>Soltan Safavi &lt;soltan@mycopa.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200911.mbox/%3c4B0ACEDE.9080608@mycopa.com%3e"/>
<id>urn:uuid:%3c4B0ACEDE-9080608@mycopa-com%3e</id>
<updated>2009-11-23T18:05:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I am using Fedora 10
Apache2::BuildConfig was missing in mod_perl-2.0.4-7.i386.rpm which was 
installed.
I could find it in mod_perl-devel-2.0.4-7.i386.rpm. Please note that 
this RPM was not initially part of Fedora core package.
Our application works fine and the only problem that I have noticed is 
related to the  "multipart/form-data", basically I can't upload files.

Thank you

Soltan


gerald.richter@ecos.de wrote:
&gt; Hi,
&gt;
&gt; How did you install Apache2::BuildConfig?
&gt;
&gt; Is there some RedHat package you can install?
&gt;
&gt; If yes, which one? I think this is of interesst for others as well.
&gt;
&gt; As far as I can see you can safely ignore the test errors. These are only, because error
message texts have changed in Perl 5.10 and Embperl tests are not quite up to date :-(
&gt;
&gt; Gerald
&gt;  
&gt;
&gt;   
&gt;&gt; -----Original Message-----
&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com] 
&gt;&gt; Sent: Friday, November 20, 2009 11:00 PM
&gt;&gt; To: Gerald Richter - ECOS
&gt;&gt; Cc: David G. (HQ-JF000)[INDYNE INC]; Ed Grimm; embperl@perl.apache.org
&gt;&gt; Subject: Re: Compiling Embperl
&gt;&gt;
&gt;&gt; Gerald,
&gt;&gt;
&gt;&gt; As you pointed out it was lack of Apache2::BuildConfig.  I 
&gt;&gt; installed it and I could compiled it easily, but make test 
&gt;&gt; TESTARGS="-i" shows a lot of errors. Please let me know what 
&gt;&gt; you think.
&gt;&gt;
&gt;&gt; Thank you
&gt;&gt;
&gt;&gt; Soltan
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl -i
&gt;&gt;
&gt;&gt; loading...                    ok
&gt;&gt;
&gt;&gt; Testing offline mode...
&gt;&gt; -----------------------
&gt;&gt;
&gt;&gt; #12 error.htm...
&gt;&gt;
&gt;&gt; [-1]Missing right curly or square bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 60, at end of line
&gt;&gt;
&gt;&gt; #13 error.htm...
&gt;&gt;
&gt;&gt; [-1]Missing right curly or square bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 60, at end of line
&gt;&gt;
&gt;&gt; #14 error.htm...
&gt;&gt;
&gt;&gt; [-1]Missing right curly or square bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 60, at end of line
&gt;&gt;
&gt;&gt; #21 errormismatch.htm...      ok
&gt;&gt;
&gt;&gt; Testing Execute function...
&gt;&gt; --------------------------
&gt;&gt; error.htm to memory...
&gt;&gt;
&gt;&gt; [-1]Missing right curly or square bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 60, at end of line
&gt;&gt;
&gt;&gt;
&gt;&gt; Testing Ouput Caching...
&gt;&gt; -------------------------
&gt;&gt;
&gt;&gt;
&gt;&gt; Testing mod_perl mode...
&gt;&gt; ------------------------
&gt;&gt;
&gt;&gt; #12 error.htm...
&gt;&gt;
&gt;&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl
&gt;&gt; code: syntax error at
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 23, at EOF\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 32, near "+ )"\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 46, near "$error is here "\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 59, near ";\n\n}"\nMissing right curly or square bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 60, at end of line
&gt;&gt;
&gt;&gt; #13 error.htm...
&gt;&gt;
&gt;&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl
&gt;&gt; code: syntax error at
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 23, at EOF\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 32, near "+ )"\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 46, near "$error is here "\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 59, near ";\n\n}"\nMissing right curly or square bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 60, at end of line
&gt;&gt;
&gt;&gt; #14 error.htm...
&gt;&gt;
&gt;&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl
&gt;&gt; code: syntax error at
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 23, at EOF\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 32, near "+ )"\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 46, near "$error is here "\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 59, near ";\n\n}"\nMissing right curly or square bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 60, at end of line
&gt;&gt;
&gt;&gt; #21 errormismatch.htm...      ok
&gt;&gt; #28 errdoc/errdoc.htm...
&gt;&gt;
&gt;&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl
&gt;&gt; code: syntax error at
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt;&gt;  line 23, at EOF\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt;&gt;  line 32, near "+ )"\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt;&gt;  line 46, near "$error is here "\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt;&gt;  line 59, near ";\n\n}"\nMissing right curly or square 
&gt;&gt; bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt;&gt;  line 60, at end of line
&gt;&gt;
&gt;&gt; #30 errdoc/epl/errdoc2.htm...
&gt;&gt;
&gt;&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl
&gt;&gt; code: syntax error at
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt;&gt; 2.htm line 23, at EOF\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt;&gt; 2.htm line 32, near "+ )"\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt;&gt; 2.htm line 46, near "$error is here "\nsyntax error at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt;&gt; 2.htm line 59, near ";\n\n}"\nMissing right curly or square 
&gt;&gt; bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt;&gt; 2.htm line 60, at end of line
&gt;&gt;
&gt;&gt; #77 upload.htm...
&gt;&gt; Error in Line 9
&gt;&gt; Is:     &gt;Filename:&lt;br&gt;&lt;
&gt;&gt; Should: &gt;Content-DispositionContent-Type&lt;
&gt;&gt; #105 registry/tied.htm...
&gt;&gt; Error in Line 15
&gt;&gt; Is:     &gt;&lt;!DOCTYPEHTMLPUBLIC"-//IETF//DTDHTML2.0//EN"&gt;&lt;
&gt;&gt; Should: &gt;rc=0&lt;
&gt;&gt; #106 registry/tied.htm...
&gt;&gt; Error in Line 4
&gt;&gt; Is:     &gt;rc=0&lt;
&gt;&gt; Should: &gt;&lt;P&gt;Hereissometext&lt;/P&gt;&lt;
&gt;&gt; #194 EmbperlObject/epoincdiv.htm...
&gt;&gt; Error in Line 286
&gt;&gt; Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
&gt;&gt; Should: &gt;&lt;P&gt;2.1&lt;
&gt;&gt; #195 EmbperlObject/epofdat.htm...ok
&gt;&gt; #196 EmbperlObject/epodiv.htm...
&gt;&gt; Error in Line 282
&gt;&gt; Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
&gt;&gt; Should: &gt;&lt;P&gt;(2\.1.*?|1\.3.*?)&lt;P&gt;&lt;
&gt;&gt;
&gt;&gt; Testing cgi mode...
&gt;&gt; -------------------
&gt;&gt; #18 error.htm...
&gt;&gt;
&gt;&gt; [-1][Fri Nov 20 08:17:13 2009] [error] [client 127.0.0.1] 
&gt;&gt; Missing right curly or square bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 60, at end of line
&gt;&gt;
&gt;&gt; #19 error.htm...
&gt;&gt;
&gt;&gt; [-1][Fri Nov 20 08:17:14 2009] [error] [client 127.0.0.1] 
&gt;&gt; Missing right curly or square bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 60, at end of line
&gt;&gt;
&gt;&gt; #20 error.htm...
&gt;&gt;
&gt;&gt; [-1][Fri Nov 20 08:17:15 2009] [error] [client 127.0.0.1] 
&gt;&gt; Missing right curly or square bracket at 
&gt;&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt;&gt; 60, at end of line
&gt;&gt;
&gt;&gt; #77 upload.htm...
&gt;&gt; Error in Line 9
&gt;&gt; Is:     &gt;Filename:&lt;br&gt;&lt;
&gt;&gt; Should: &gt;Content-DispositionContent-Type&lt;
&gt;&gt; #196 EmbperlObject/epodiv.htm...
&gt;&gt; Error in Line 282
&gt;&gt; Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
&gt;&gt; Should: &gt;&lt;P&gt;(2\.1.*?|1\.3.*?)&lt;P&gt;&lt;
&gt;&gt;
&gt;&gt;
&gt;&gt; Testparameter:
&gt;&gt;   offline = 0
&gt;&gt;   repeat = 2
&gt;&gt;
&gt;&gt;  ERRORS detected! NOT all tests have been passed successfully
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; gerald.richter@ecos.de wrote:
&gt;&gt;     
&gt;&gt;&gt; Hi,
&gt;&gt;&gt;
&gt;&gt;&gt; the Makefile.Pl of Embperl is searching for the module 
&gt;&gt;&gt;       
&gt;&gt; Apache2::BuildConfig to determinate if mod_perl 2 is 
&gt;&gt; installed and what are the compile settings.
&gt;&gt;     
&gt;&gt;&gt; Could you check if this module is installed?
&gt;&gt;&gt;
&gt;&gt;&gt; If yes, please make a simple test programm and send me the output:
&gt;&gt;&gt;
&gt;&gt;&gt; -----
&gt;&gt;&gt;
&gt;&gt;&gt; use Apache2::BuildConfig ;
&gt;&gt;&gt; use Data::Dumper ;
&gt;&gt;&gt;
&gt;&gt;&gt; $c = Apache2::BuildConfig -&gt; new ;
&gt;&gt;&gt; print Dumper ($c) ;
&gt;&gt;&gt;
&gt;&gt;&gt; -----
&gt;&gt;&gt;
&gt;&gt;&gt; Gerald
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;   
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; -----Original Message-----
&gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt;&gt;&gt;&gt; Sent: Thursday, November 19, 2009 11:14 PM
&gt;&gt;&gt;&gt; To: Williams, David G. (HQ-JF000)[INDYNE INC]
&gt;&gt;&gt;&gt; Cc: Ed Grimm; embperl@perl.apache.org
&gt;&gt;&gt;&gt; Subject: Re: Compiling Embperl
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Hi David
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; In the past I could easily install Embperl 2.2 on Fedora 6 
&gt;&gt;&gt;&gt;         
&gt;&gt; which is 
&gt;&gt;     
&gt;&gt;&gt;&gt; RPM-based sytem, why it can't be installed on Fedora 10? any Idea?
&gt;&gt;&gt;&gt; I was not successful to manually install Apache 2.2.x and 
&gt;&gt;&gt;&gt;         
&gt;&gt; mod_perl 2 
&gt;&gt;     
&gt;&gt;&gt;&gt; and I did not hear from Gerald for any other possible way.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I appreciate your help
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Williams, David G. (HQ-JF000)[INDYNE INC] wrote:
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; Soltan,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I would be interested in hearing about an easy way to get
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt; Embperl and XALAN running on an RPM-based system (without 
&gt;&gt;&gt;&gt;         
&gt;&gt; sources).  
&gt;&gt;     
&gt;&gt;&gt;&gt; To get things working quickly on Fedora, I just 
&gt;&gt;&gt;&gt;         
&gt;&gt; uninstalled the RPM 
&gt;&gt;     
&gt;&gt;&gt;&gt; version of Apache 2, mod_perl, and a number of other 
&gt;&gt;&gt;&gt;         
&gt;&gt; things and then 
&gt;&gt;     
&gt;&gt;&gt;&gt; manually installed Apache 2.2.x and mod_perl 2 from 
&gt;&gt;&gt;&gt;         
&gt;&gt; source.  I have 
&gt;&gt;     
&gt;&gt;&gt;&gt; been unsuccessful in compiling libxml and XALAN on Fedora from 
&gt;&gt;&gt;&gt; source, but I can live without them for now.
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; Gerald, is there an easier way to get Embperl and all its
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt; prerequisites running on Fedora?
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; Good luck.
&gt;&gt;&gt;&gt;&gt; ________________________________________
&gt;&gt;&gt;&gt;&gt; From: Soltan Safavi [soltan@mycopa.com]
&gt;&gt;&gt;&gt;&gt; Sent: Friday, October 16, 2009 2:38 PM
&gt;&gt;&gt;&gt;&gt; To: Ed Grimm
&gt;&gt;&gt;&gt;&gt; Cc: embperl@perl.apache.org
&gt;&gt;&gt;&gt;&gt; Subject: Re: Compiling Embperl
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Hi Ed,
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I am still looking for the solution. Please find below the
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt; output of
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; Makefile.PL, it shows that mod_perl is properly installed 
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt; but could 
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt; find Apache2
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Thank you
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I am using:
&gt;&gt;&gt;&gt;&gt; httpd-2.2.10
&gt;&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt;&gt;&gt;&gt;&gt; perl-5.10.0
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Build with support for Apache mod_perl?(y/n) [y] Searching
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt; for Apache
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; sources...
&gt;&gt;&gt;&gt;&gt; Look at ..
&gt;&gt;&gt;&gt;&gt; Look at ../src
&gt;&gt;&gt;&gt;&gt; Look at ./src
&gt;&gt;&gt;&gt;&gt; Apache source not found, enter path name or q to quit 
&gt;&gt;&gt;&gt;&gt; [q]/usr/include/httpd Searching for Apache sources...
&gt;&gt;&gt;&gt;&gt; Look at /usr/include/httpd
&gt;&gt;&gt;&gt;&gt; Use /usr/include/httpd as Apache source(y/n) [y] Will use 
&gt;&gt;&gt;&gt;&gt; /usr/include/httpd for Apache Headers Enter path and file
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt; to start as
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; httpd [/usr/include/httpd/httpd]/usr/sbin/httpd
&gt;&gt;&gt;&gt;&gt; Apache Version Server version: Apache/2.2.10 (Unix) Library for 
&gt;&gt;&gt;&gt;&gt; mod_actions.c not found, please enter path to mod_actions.so 
&gt;&gt;&gt;&gt;&gt; []/usr/lib/httpd/modules  + Load dynamic module mod_actions.c
&gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_actions.so)
&gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_cgi.c
&gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_cgi.so)
&gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_alias.c
&gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_alias.so)
&gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_env.c
&gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_env.so)
&gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_perl.c
&gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_perl.so)
&gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_mime.c
&gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_mime.so)
&gt;&gt;&gt;&gt;&gt;  + Load dynamic module mod_dir.c
&gt;&gt;&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_dir.so)
&gt;&gt;&gt;&gt;&gt;  + mod_perl was build with USE_DSO
&gt;&gt;&gt;&gt;&gt; Can't locate Apache/src.pm in @INC (@INC contains:
&gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi 
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt; /usr/lib/perl5/5.10.0 
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/site_perl .) at Makefile.PL line 982, 
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt; &lt;STDIN&gt; line 5.
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt; Ed Grimm wrote:
&gt;&gt;&gt;&gt;&gt;   
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt;&gt;&gt; All perl packages which are provided by your distribution
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; should put
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; their perl modules in one of the vendor_perl directories
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; (excluding,
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; of course, the perl package itself and any direct
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; components thereof,
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; which should put things in the core directories.)
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; The easiest manner one could make it not work in this
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; fashion would
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; be to utilize a mod_perl package from someone other than the 
&gt;&gt;&gt;&gt;&gt;&gt; distribution vendor which places its files elsewhere.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Perl silently ignores any @INC directories which do not 
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt; exist.  So 
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt; long as the files it is looking for are in a directory 
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt; which does 
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt; exist and is included in @INC, you should be good.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Presence of mind check: do you need a mod_perl-dev package or 
&gt;&gt;&gt;&gt;&gt;&gt; something like that?  I'm pretty sure you would if you
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; were running
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; Ubuntu, as the normal Ubuntu mentality is to move things
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; only needed
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; to compile other things and are not specifically compiling tools

&gt;&gt;&gt;&gt;&gt;&gt; themselves into -dev packages.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Ed
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; On Tue, 6 Oct 2009, Soltan Safavi wrote:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi Gerald
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I believe mod_perl is installed correctly.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Here I have the content of the @INC
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl

&gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .
&gt;&gt;&gt;&gt;&gt;&gt;&gt; but paths with site_perl are missing on my system.
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Could this be the source of the problem?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thank you
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Gerald Richter wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Apache::src is part of mod_perl 1, since you use 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt; mod_perl 2, it 
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; seems that mod_perl 2 is not detected by Makefile.PL.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt; Maybe it is
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; not fully/correctly installed?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Gerald
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; -----Original Message-----
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To: embperl@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Subject: Compiling Embperl
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I
get the 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am using:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; httpd-2.2.10
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; perl-5.10.0
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I appreciate your help
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; ------------------------------------------------------------------
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --- To unsubscribe, e-mail: 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt; embperl-unsubscribe@perl.apache.org
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt; --------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; - To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;   
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;   
&gt;&gt;&gt;       
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;
&gt;   

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Compiling Embperl</title>
<author><name>gerald.richter@ecos.de</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200911.mbox/%3cvmime.4b07cbb6.4cd2.703fbe3068df4150@srvgr1.ubrichter.de%3e"/>
<id>urn:uuid:%3cvmime-4b07cbb6-4cd2-703fbe3068df4150@srvgr1-ubrichter-de%3e</id>
<updated>2009-11-21T11:15:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

How did you install Apache2::BuildConfig?

Is there some RedHat package you can install?

If yes, which one? I think this is of interesst for others as well.

As far as I can see you can safely ignore the test errors. These are only, because error message
texts have changed in Perl 5.10 and Embperl tests are not quite up to date :-(

Gerald
 

&gt; -----Original Message-----
&gt; From: Soltan Safavi [mailto:soltan@mycopa.com] 
&gt; Sent: Friday, November 20, 2009 11:00 PM
&gt; To: Gerald Richter - ECOS
&gt; Cc: David G. (HQ-JF000)[INDYNE INC]; Ed Grimm; embperl@perl.apache.org
&gt; Subject: Re: Compiling Embperl
&gt; 
&gt; Gerald,
&gt; 
&gt; As you pointed out it was lack of Apache2::BuildConfig.  I 
&gt; installed it and I could compiled it easily, but make test 
&gt; TESTARGS="-i" shows a lot of errors. Please let me know what 
&gt; you think.
&gt; 
&gt; Thank you
&gt; 
&gt; Soltan
&gt; 
&gt; 
&gt; 
&gt; 
&gt; PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl -i
&gt; 
&gt; loading...                    ok
&gt; 
&gt; Testing offline mode...
&gt; -----------------------
&gt; 
&gt; #12 error.htm...
&gt; 
&gt; [-1]Missing right curly or square bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 60, at end of line
&gt; 
&gt; #13 error.htm...
&gt; 
&gt; [-1]Missing right curly or square bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 60, at end of line
&gt; 
&gt; #14 error.htm...
&gt; 
&gt; [-1]Missing right curly or square bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 60, at end of line
&gt; 
&gt; #21 errormismatch.htm...      ok
&gt; 
&gt; Testing Execute function...
&gt; --------------------------
&gt; error.htm to memory...
&gt; 
&gt; [-1]Missing right curly or square bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 60, at end of line
&gt; 
&gt; 
&gt; Testing Ouput Caching...
&gt; -------------------------
&gt; 
&gt; 
&gt; Testing mod_perl mode...
&gt; ------------------------
&gt; 
&gt; #12 error.htm...
&gt; 
&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl
&gt; code: syntax error at
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 23, at EOF\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 32, near "+ )"\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 46, near "$error is here "\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 59, near ";\n\n}"\nMissing right curly or square bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 60, at end of line
&gt; 
&gt; #13 error.htm...
&gt; 
&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl
&gt; code: syntax error at
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 23, at EOF\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 32, near "+ )"\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 46, near "$error is here "\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 59, near ";\n\n}"\nMissing right curly or square bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 60, at end of line
&gt; 
&gt; #14 error.htm...
&gt; 
&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl
&gt; code: syntax error at
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 23, at EOF\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 32, near "+ )"\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 46, near "$error is here "\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 59, near ";\n\n}"\nMissing right curly or square bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 60, at end of line
&gt; 
&gt; #21 errormismatch.htm...      ok
&gt; #28 errdoc/errdoc.htm...
&gt; 
&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl
&gt; code: syntax error at
&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt;  line 23, at EOF\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt;  line 32, near "+ )"\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt;  line 46, near "$error is here "\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt;  line 59, near ";\n\n}"\nMissing right curly or square 
&gt; bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm
&gt;  line 60, at end of line
&gt; 
&gt; #30 errdoc/epl/errdoc2.htm...
&gt; 
&gt; [-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl
&gt; code: syntax error at
&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt; 2.htm line 23, at EOF\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt; 2.htm line 32, near "+ )"\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt; 2.htm line 46, near "$error is here "\nsyntax error at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt; 2.htm line 59, near ";\n\n}"\nMissing right curly or square 
&gt; bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
&gt; 2.htm line 60, at end of line
&gt; 
&gt; #77 upload.htm...
&gt; Error in Line 9
&gt; Is:     &gt;Filename:&lt;br&gt;&lt;
&gt; Should: &gt;Content-DispositionContent-Type&lt;
&gt; #105 registry/tied.htm...
&gt; Error in Line 15
&gt; Is:     &gt;&lt;!DOCTYPEHTMLPUBLIC"-//IETF//DTDHTML2.0//EN"&gt;&lt;
&gt; Should: &gt;rc=0&lt;
&gt; #106 registry/tied.htm...
&gt; Error in Line 4
&gt; Is:     &gt;rc=0&lt;
&gt; Should: &gt;&lt;P&gt;Hereissometext&lt;/P&gt;&lt;
&gt; #194 EmbperlObject/epoincdiv.htm...
&gt; Error in Line 286
&gt; Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
&gt; Should: &gt;&lt;P&gt;2.1&lt;
&gt; #195 EmbperlObject/epofdat.htm...ok
&gt; #196 EmbperlObject/epodiv.htm...
&gt; Error in Line 282
&gt; Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
&gt; Should: &gt;&lt;P&gt;(2\.1.*?|1\.3.*?)&lt;P&gt;&lt;
&gt; 
&gt; Testing cgi mode...
&gt; -------------------
&gt; #18 error.htm...
&gt; 
&gt; [-1][Fri Nov 20 08:17:13 2009] [error] [client 127.0.0.1] 
&gt; Missing right curly or square bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 60, at end of line
&gt; 
&gt; #19 error.htm...
&gt; 
&gt; [-1][Fri Nov 20 08:17:14 2009] [error] [client 127.0.0.1] 
&gt; Missing right curly or square bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 60, at end of line
&gt; 
&gt; #20 error.htm...
&gt; 
&gt; [-1][Fri Nov 20 08:17:15 2009] [error] [client 127.0.0.1] 
&gt; Missing right curly or square bracket at 
&gt; /infostreet/packages/Embperl-2.2.0/test/html/error.htm line 
&gt; 60, at end of line
&gt; 
&gt; #77 upload.htm...
&gt; Error in Line 9
&gt; Is:     &gt;Filename:&lt;br&gt;&lt;
&gt; Should: &gt;Content-DispositionContent-Type&lt;
&gt; #196 EmbperlObject/epodiv.htm...
&gt; Error in Line 282
&gt; Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
&gt; Should: &gt;&lt;P&gt;(2\.1.*?|1\.3.*?)&lt;P&gt;&lt;
&gt; 
&gt; 
&gt; Testparameter:
&gt;   offline = 0
&gt;   repeat = 2
&gt; 
&gt;  ERRORS detected! NOT all tests have been passed successfully
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; gerald.richter@ecos.de wrote:
&gt; &gt; Hi,
&gt; &gt;
&gt; &gt; the Makefile.Pl of Embperl is searching for the module 
&gt; Apache2::BuildConfig to determinate if mod_perl 2 is 
&gt; installed and what are the compile settings.
&gt; &gt;
&gt; &gt; Could you check if this module is installed?
&gt; &gt;
&gt; &gt; If yes, please make a simple test programm and send me the output:
&gt; &gt;
&gt; &gt; -----
&gt; &gt;
&gt; &gt; use Apache2::BuildConfig ;
&gt; &gt; use Data::Dumper ;
&gt; &gt;
&gt; &gt; $c = Apache2::BuildConfig -&gt; new ;
&gt; &gt; print Dumper ($c) ;
&gt; &gt;
&gt; &gt; -----
&gt; &gt;
&gt; &gt; Gerald
&gt; &gt;
&gt; &gt;
&gt; &gt;   
&gt; &gt;&gt; -----Original Message-----
&gt; &gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt; &gt;&gt; Sent: Thursday, November 19, 2009 11:14 PM
&gt; &gt;&gt; To: Williams, David G. (HQ-JF000)[INDYNE INC]
&gt; &gt;&gt; Cc: Ed Grimm; embperl@perl.apache.org
&gt; &gt;&gt; Subject: Re: Compiling Embperl
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Hi David
&gt; &gt;&gt;
&gt; &gt;&gt; In the past I could easily install Embperl 2.2 on Fedora 6 
&gt; which is 
&gt; &gt;&gt; RPM-based sytem, why it can't be installed on Fedora 10? any Idea?
&gt; &gt;&gt; I was not successful to manually install Apache 2.2.x and 
&gt; mod_perl 2 
&gt; &gt;&gt; and I did not hear from Gerald for any other possible way.
&gt; &gt;&gt;
&gt; &gt;&gt; I appreciate your help
&gt; &gt;&gt;
&gt; &gt;&gt; Soltan
&gt; &gt;&gt;
&gt; &gt;&gt; Williams, David G. (HQ-JF000)[INDYNE INC] wrote:
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; Soltan,
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; I would be interested in hearing about an easy way to get
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; Embperl and XALAN running on an RPM-based system (without 
&gt; sources).  
&gt; &gt;&gt; To get things working quickly on Fedora, I just 
&gt; uninstalled the RPM 
&gt; &gt;&gt; version of Apache 2, mod_perl, and a number of other 
&gt; things and then 
&gt; &gt;&gt; manually installed Apache 2.2.x and mod_perl 2 from 
&gt; source.  I have 
&gt; &gt;&gt; been unsuccessful in compiling libxml and XALAN on Fedora from 
&gt; &gt;&gt; source, but I can live without them for now.
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; Gerald, is there an easier way to get Embperl and all its
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; prerequisites running on Fedora?
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; Good luck.
&gt; &gt;&gt;&gt; ________________________________________
&gt; &gt;&gt;&gt; From: Soltan Safavi [soltan@mycopa.com]
&gt; &gt;&gt;&gt; Sent: Friday, October 16, 2009 2:38 PM
&gt; &gt;&gt;&gt; To: Ed Grimm
&gt; &gt;&gt;&gt; Cc: embperl@perl.apache.org
&gt; &gt;&gt;&gt; Subject: Re: Compiling Embperl
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Hi Ed,
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; I am still looking for the solution. Please find below the
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; output of
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; Makefile.PL, it shows that mod_perl is properly installed 
&gt; but could 
&gt; &gt;&gt;&gt; find Apache2
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Thank you
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Soltan
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; I am using:
&gt; &gt;&gt;&gt; httpd-2.2.10
&gt; &gt;&gt;&gt; mod_perl-2.0.4
&gt; &gt;&gt;&gt; perl-5.10.0
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Build with support for Apache mod_perl?(y/n) [y] Searching
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; for Apache
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; sources...
&gt; &gt;&gt;&gt; Look at ..
&gt; &gt;&gt;&gt; Look at ../src
&gt; &gt;&gt;&gt; Look at ./src
&gt; &gt;&gt;&gt; Apache source not found, enter path name or q to quit 
&gt; &gt;&gt;&gt; [q]/usr/include/httpd Searching for Apache sources...
&gt; &gt;&gt;&gt; Look at /usr/include/httpd
&gt; &gt;&gt;&gt; Use /usr/include/httpd as Apache source(y/n) [y] Will use 
&gt; &gt;&gt;&gt; /usr/include/httpd for Apache Headers Enter path and file
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; to start as
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; httpd [/usr/include/httpd/httpd]/usr/sbin/httpd
&gt; &gt;&gt;&gt; Apache Version Server version: Apache/2.2.10 (Unix) Library for 
&gt; &gt;&gt;&gt; mod_actions.c not found, please enter path to mod_actions.so 
&gt; &gt;&gt;&gt; []/usr/lib/httpd/modules  + Load dynamic module mod_actions.c
&gt; &gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_actions.so)
&gt; &gt;&gt;&gt;  + Load dynamic module mod_cgi.c
&gt; &gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_cgi.so)
&gt; &gt;&gt;&gt;  + Load dynamic module mod_alias.c
&gt; &gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_alias.so)
&gt; &gt;&gt;&gt;  + Load dynamic module mod_env.c
&gt; &gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_env.so)
&gt; &gt;&gt;&gt;  + Load dynamic module mod_perl.c
&gt; &gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_perl.so)
&gt; &gt;&gt;&gt;  + Load dynamic module mod_mime.c
&gt; &gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_mime.so)
&gt; &gt;&gt;&gt;  + Load dynamic module mod_dir.c
&gt; &gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_dir.so)
&gt; &gt;&gt;&gt;  + mod_perl was build with USE_DSO
&gt; &gt;&gt;&gt; Can't locate Apache/src.pm in @INC (@INC contains:
&gt; &gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt; &gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
&gt; &gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi 
&gt; /usr/lib/perl5/5.10.0 
&gt; &gt;&gt;&gt; /usr/lib/perl5/site_perl .) at Makefile.PL line 982, 
&gt; &lt;STDIN&gt; line 5.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Ed Grimm wrote:
&gt; &gt;&gt;&gt;   
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt; All perl packages which are provided by your distribution
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; should put
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; their perl modules in one of the vendor_perl directories
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; (excluding,
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; of course, the perl package itself and any direct
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; components thereof,
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; which should put things in the core directories.)
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; The easiest manner one could make it not work in this
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; fashion would
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; be to utilize a mod_perl package from someone other than the 
&gt; &gt;&gt;&gt;&gt; distribution vendor which places its files elsewhere.
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Perl silently ignores any @INC directories which do not 
&gt; exist.  So 
&gt; &gt;&gt;&gt;&gt; long as the files it is looking for are in a directory 
&gt; which does 
&gt; &gt;&gt;&gt;&gt; exist and is included in @INC, you should be good.
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Presence of mind check: do you need a mod_perl-dev package or 
&gt; &gt;&gt;&gt;&gt; something like that?  I'm pretty sure you would if you
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; were running
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; Ubuntu, as the normal Ubuntu mentality is to move things
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt; only needed
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; to compile other things and are not specifically compiling tools 
&gt; &gt;&gt;&gt;&gt; themselves into -dev packages.
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Ed
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; On Tue, 6 Oct 2009, Soltan Safavi wrote:
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt; Hi Gerald
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; I believe mod_perl is installed correctly.
&gt; &gt;&gt;&gt;&gt;&gt; Here I have the content of the @INC
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt; &gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
&gt; &gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .
&gt; &gt;&gt;&gt;&gt;&gt; but paths with site_perl are missing on my system.
&gt; &gt;&gt;&gt;&gt;&gt; Could this be the source of the problem?
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Thank you
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Soltan
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Gerald Richter wrote:
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Hi,
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Apache::src is part of mod_perl 1, since you use 
&gt; mod_perl 2, it 
&gt; &gt;&gt;&gt;&gt;&gt;&gt; seems that mod_perl 2 is not detected by Makefile.PL.
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt; Maybe it is
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt;&gt; not fully/correctly installed?
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Gerald
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt;&gt;             
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; -----Original Message-----
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; To: embperl@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Subject: Compiling Embperl
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I get
the 
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; I am using:
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; httpd-2.2.10
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; perl-5.10.0
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; I appreciate your help
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Soltan
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt; &gt;&gt; ------------------------------------------------------------------
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; --- To unsubscribe, e-mail: 
&gt; embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt; &gt;&gt; 
&gt; --------------------------------------------------------------------
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt;&gt; - To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;     
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;   
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;     
&gt; &gt;
&gt; &gt;
&gt; &gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;
&gt; &gt;
&gt; &gt;   
&gt; 


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Compiling Embperl</title>
<author><name>Soltan Safavi &lt;soltan@mycopa.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200911.mbox/%3c4B071174.4070709@mycopa.com%3e"/>
<id>urn:uuid:%3c4B071174-4070709@mycopa-com%3e</id>
<updated>2009-11-20T22:00:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Gerald,

As you pointed out it was lack of Apache2::BuildConfig.  I installed it 
and I could compiled it easily,
but make test TESTARGS="-i" shows a lot of errors. Please let me know 
what you think.

Thank you

Soltan




PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl -i

loading...                    ok

Testing offline mode...
-----------------------

#12 error.htm...

[-1]Missing right curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at end 
of line

#13 error.htm...

[-1]Missing right curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at end 
of line

#14 error.htm...

[-1]Missing right curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at end 
of line

#21 errormismatch.htm...      ok

Testing Execute function...
--------------------------
error.htm to memory...

[-1]Missing right curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at end 
of line


Testing Ouput Caching...
-------------------------


Testing mod_perl mode...
------------------------

#12 error.htm...

[-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl 
code: syntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 23, at 
EOF\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 32, near "+ 
)"\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 46, near 
"$error is here "\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 59, near 
";\n\n}"\nMissing right curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at end 
of line

#13 error.htm...

[-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl 
code: syntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 23, at 
EOF\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 32, near "+ 
)"\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 46, near 
"$error is here "\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 59, near 
";\n\n}"\nMissing right curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at end 
of line

#14 error.htm...

[-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl 
code: syntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 23, at 
EOF\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 32, near "+ 
)"\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 46, near 
"$error is here "\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 59, near 
";\n\n}"\nMissing right curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at end 
of line

#21 errormismatch.htm...      ok
#28 errdoc/errdoc.htm...

[-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl 
code: syntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm line 23, 
at EOF\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm line 32, 
near "+ )"\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm line 46, 
near "$error is here "\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm line 59, 
near ";\n\n}"\nMissing right curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/errdoc/errdoc.htm line 60, 
at end of line

#30 errdoc/epl/errdoc2.htm...

[-1][Fri Nov 20 08:17:07 2009] [error] [24958]ERR:  24:  Error in Perl 
code: syntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc2.htm line 
23, at EOF\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc2.htm line 
32, near "+ )"\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc2.htm line 
46, near "$error is here "\nsyntax error at 
/infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc2.htm line 
59, near ";\n\n}"\nMissing right curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc2.htm line 
60, at end of line

#77 upload.htm...
Error in Line 9
Is:     &gt;Filename:&lt;br&gt;&lt;
Should: &gt;Content-DispositionContent-Type&lt;
#105 registry/tied.htm...
Error in Line 15
Is:     &gt;&lt;!DOCTYPEHTMLPUBLIC"-//IETF//DTDHTML2.0//EN"&gt;&lt;
Should: &gt;rc=0&lt;
#106 registry/tied.htm...
Error in Line 4
Is:     &gt;rc=0&lt;
Should: &gt;&lt;P&gt;Hereissometext&lt;/P&gt;&lt;
#194 EmbperlObject/epoincdiv.htm...
Error in Line 286
Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
Should: &gt;&lt;P&gt;2.1&lt;
#195 EmbperlObject/epofdat.htm...ok
#196 EmbperlObject/epodiv.htm...
Error in Line 282
Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
Should: &gt;&lt;P&gt;(2\.1.*?|1\.3.*?)&lt;P&gt;&lt;

Testing cgi mode...
-------------------
#18 error.htm...

[-1][Fri Nov 20 08:17:13 2009] [error] [client 127.0.0.1] Missing right 
curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at end 
of line

#19 error.htm...

[-1][Fri Nov 20 08:17:14 2009] [error] [client 127.0.0.1] Missing right 
curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at end 
of line

#20 error.htm...

[-1][Fri Nov 20 08:17:15 2009] [error] [client 127.0.0.1] Missing right 
curly or square bracket at 
/infostreet/packages/Embperl-2.2.0/test/html/error.htm line 60, at end 
of line

#77 upload.htm...
Error in Line 9
Is:     &gt;Filename:&lt;br&gt;&lt;
Should: &gt;Content-DispositionContent-Type&lt;
#196 EmbperlObject/epodiv.htm...
Error in Line 282
Is:     &gt;&lt;P&gt;2.2.0&lt;P&gt;&lt;
Should: &gt;&lt;P&gt;(2\.1.*?|1\.3.*?)&lt;P&gt;&lt;


Testparameter:
  offline = 0
  repeat = 2

 ERRORS detected! NOT all tests have been passed successfully





gerald.richter@ecos.de wrote:
&gt; Hi,
&gt;
&gt; the Makefile.Pl of Embperl is searching for the module Apache2::BuildConfig to determinate
if mod_perl 2 is installed and what are the compile settings.
&gt;
&gt; Could you check if this module is installed?
&gt;
&gt; If yes, please make a simple test programm and send me the output:
&gt;
&gt; -----
&gt;
&gt; use Apache2::BuildConfig ;
&gt; use Data::Dumper ;
&gt;
&gt; $c = Apache2::BuildConfig -&gt; new ;
&gt; print Dumper ($c) ;
&gt;
&gt; -----
&gt;
&gt; Gerald
&gt;
&gt;
&gt;   
&gt;&gt; -----Original Message-----
&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com] 
&gt;&gt; Sent: Thursday, November 19, 2009 11:14 PM
&gt;&gt; To: Williams, David G. (HQ-JF000)[INDYNE INC]
&gt;&gt; Cc: Ed Grimm; embperl@perl.apache.org
&gt;&gt; Subject: Re: Compiling Embperl
&gt;&gt;
&gt;&gt;
&gt;&gt; Hi David
&gt;&gt;
&gt;&gt; In the past I could easily install Embperl 2.2 on Fedora 6 
&gt;&gt; which is RPM-based sytem, why it can't be installed on Fedora 
&gt;&gt; 10? any Idea?
&gt;&gt; I was not successful to manually install Apache 2.2.x and 
&gt;&gt; mod_perl 2 and I did not hear from Gerald for any other possible way.
&gt;&gt;
&gt;&gt; I appreciate your help
&gt;&gt;
&gt;&gt; Soltan
&gt;&gt;
&gt;&gt; Williams, David G. (HQ-JF000)[INDYNE INC] wrote:
&gt;&gt;     
&gt;&gt;&gt; Soltan,
&gt;&gt;&gt;
&gt;&gt;&gt; I would be interested in hearing about an easy way to get 
&gt;&gt;&gt;       
&gt;&gt; Embperl and XALAN running on an RPM-based system (without 
&gt;&gt; sources).  To get things working quickly on Fedora, I just 
&gt;&gt; uninstalled the RPM version of Apache 2, mod_perl, and a 
&gt;&gt; number of other things and then manually installed Apache 
&gt;&gt; 2.2.x and mod_perl 2 from source.  I have been unsuccessful 
&gt;&gt; in compiling libxml and XALAN on Fedora from source, but I 
&gt;&gt; can live without them for now.
&gt;&gt;     
&gt;&gt;&gt; Gerald, is there an easier way to get Embperl and all its 
&gt;&gt;&gt;       
&gt;&gt; prerequisites running on Fedora?
&gt;&gt;     
&gt;&gt;&gt; Good luck.
&gt;&gt;&gt; ________________________________________
&gt;&gt;&gt; From: Soltan Safavi [soltan@mycopa.com]
&gt;&gt;&gt; Sent: Friday, October 16, 2009 2:38 PM
&gt;&gt;&gt; To: Ed Grimm
&gt;&gt;&gt; Cc: embperl@perl.apache.org
&gt;&gt;&gt; Subject: Re: Compiling Embperl
&gt;&gt;&gt;
&gt;&gt;&gt; Hi Ed,
&gt;&gt;&gt;
&gt;&gt;&gt; I am still looking for the solution. Please find below the 
&gt;&gt;&gt;       
&gt;&gt; output of 
&gt;&gt;     
&gt;&gt;&gt; Makefile.PL, it shows that mod_perl is properly installed but could 
&gt;&gt;&gt; find Apache2
&gt;&gt;&gt;
&gt;&gt;&gt; Thank you
&gt;&gt;&gt;
&gt;&gt;&gt; Soltan
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; I am using:
&gt;&gt;&gt; httpd-2.2.10
&gt;&gt;&gt; mod_perl-2.0.4
&gt;&gt;&gt; perl-5.10.0
&gt;&gt;&gt;
&gt;&gt;&gt; Build with support for Apache mod_perl?(y/n) [y] Searching 
&gt;&gt;&gt;       
&gt;&gt; for Apache 
&gt;&gt;     
&gt;&gt;&gt; sources...
&gt;&gt;&gt; Look at ..
&gt;&gt;&gt; Look at ../src
&gt;&gt;&gt; Look at ./src
&gt;&gt;&gt; Apache source not found, enter path name or q to quit 
&gt;&gt;&gt; [q]/usr/include/httpd Searching for Apache sources...
&gt;&gt;&gt; Look at /usr/include/httpd
&gt;&gt;&gt; Use /usr/include/httpd as Apache source(y/n) [y] Will use 
&gt;&gt;&gt; /usr/include/httpd for Apache Headers Enter path and file 
&gt;&gt;&gt;       
&gt;&gt; to start as 
&gt;&gt;     
&gt;&gt;&gt; httpd [/usr/include/httpd/httpd]/usr/sbin/httpd
&gt;&gt;&gt; Apache Version Server version: Apache/2.2.10 (Unix) Library for 
&gt;&gt;&gt; mod_actions.c not found, please enter path to mod_actions.so  
&gt;&gt;&gt; []/usr/lib/httpd/modules  + Load dynamic module mod_actions.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_actions.so)
&gt;&gt;&gt;  + Load dynamic module mod_cgi.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_cgi.so)
&gt;&gt;&gt;  + Load dynamic module mod_alias.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_alias.so)
&gt;&gt;&gt;  + Load dynamic module mod_env.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_env.so)
&gt;&gt;&gt;  + Load dynamic module mod_perl.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_perl.so)
&gt;&gt;&gt;  + Load dynamic module mod_mime.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_mime.so)
&gt;&gt;&gt;  + Load dynamic module mod_dir.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_dir.so)
&gt;&gt;&gt;  + mod_perl was build with USE_DSO
&gt;&gt;&gt; Can't locate Apache/src.pm in @INC (@INC contains:
&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
&gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 
&gt;&gt;&gt; /usr/lib/perl5/site_perl .) at Makefile.PL line 982, &lt;STDIN&gt; line 5.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Ed Grimm wrote:
&gt;&gt;&gt;   
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; All perl packages which are provided by your distribution 
&gt;&gt;&gt;&gt;         
&gt;&gt; should put 
&gt;&gt;     
&gt;&gt;&gt;&gt; their perl modules in one of the vendor_perl directories 
&gt;&gt;&gt;&gt;         
&gt;&gt; (excluding, 
&gt;&gt;     
&gt;&gt;&gt;&gt; of course, the perl package itself and any direct 
&gt;&gt;&gt;&gt;         
&gt;&gt; components thereof, 
&gt;&gt;     
&gt;&gt;&gt;&gt; which should put things in the core directories.)
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; The easiest manner one could make it not work in this 
&gt;&gt;&gt;&gt;         
&gt;&gt; fashion would 
&gt;&gt;     
&gt;&gt;&gt;&gt; be to utilize a mod_perl package from someone other than the 
&gt;&gt;&gt;&gt; distribution vendor which places its files elsewhere.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Perl silently ignores any @INC directories which do not exist.  So 
&gt;&gt;&gt;&gt; long as the files it is looking for are in a directory which does 
&gt;&gt;&gt;&gt; exist and is included in @INC, you should be good.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Presence of mind check: do you need a mod_perl-dev package or 
&gt;&gt;&gt;&gt; something like that?  I'm pretty sure you would if you 
&gt;&gt;&gt;&gt;         
&gt;&gt; were running 
&gt;&gt;     
&gt;&gt;&gt;&gt; Ubuntu, as the normal Ubuntu mentality is to move things 
&gt;&gt;&gt;&gt;         
&gt;&gt; only needed 
&gt;&gt;     
&gt;&gt;&gt;&gt; to compile other things and are not specifically compiling tools 
&gt;&gt;&gt;&gt; themselves into -dev packages.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Ed
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Tue, 6 Oct 2009, Soltan Safavi wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; Hi Gerald
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I believe mod_perl is installed correctly.
&gt;&gt;&gt;&gt;&gt; Here I have the content of the @INC
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .
&gt;&gt;&gt;&gt;&gt; but paths with site_perl are missing on my system.
&gt;&gt;&gt;&gt;&gt; Could this be the source of the problem?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Thank you
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Gerald Richter wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt;&gt;&gt; Hi,
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Apache::src is part of mod_perl 1, since you use mod_perl 2, it 
&gt;&gt;&gt;&gt;&gt;&gt; seems that mod_perl 2 is not detected by Makefile.PL. 
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt; Maybe it is 
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt; not fully/correctly installed?
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Gerald
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; -----Original Message-----
&gt;&gt;&gt;&gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To: embperl@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Subject: Compiling Embperl
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I get the

&gt;&gt;&gt;&gt;&gt;&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am using:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; httpd-2.2.10
&gt;&gt;&gt;&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt;&gt;&gt;&gt;&gt;&gt;&gt; perl-5.10.0
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I appreciate your help
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt; ------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt;&gt; --- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt; --------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt; - To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;       
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;   
&gt;&gt;&gt;       
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;     
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;
&gt;   

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Compiling Embperl</title>
<author><name>Soltan Safavi &lt;soltan@mycopa.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200911.mbox/%3c4B06E1C9.8090405@mycopa.com%3e"/>
<id>urn:uuid:%3c4B06E1C9-8090405@mycopa-com%3e</id>
<updated>2009-11-20T18:36:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Gerald,

This module is not installed!!
I believe Apache2 must generate it. What can I do now, I think I am 
close to get this task done.

Thank you so much

Soltan



gerald.richter@ecos.de wrote:
&gt; Hi,
&gt;
&gt; the Makefile.Pl of Embperl is searching for the module Apache2::BuildConfig to determinate
if mod_perl 2 is installed and what are the compile settings.
&gt;
&gt; Could you check if this module is installed?
&gt;
&gt; If yes, please make a simple test programm and send me the output:
&gt;
&gt; -----
&gt;
&gt; use Apache2::BuildConfig ;
&gt; use Data::Dumper ;
&gt;
&gt; $c = Apache2::BuildConfig -&gt; new ;
&gt; print Dumper ($c) ;
&gt;
&gt; -----
&gt;
&gt; Gerald
&gt;
&gt;
&gt;   
&gt;&gt; -----Original Message-----
&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com] 
&gt;&gt; Sent: Thursday, November 19, 2009 11:14 PM
&gt;&gt; To: Williams, David G. (HQ-JF000)[INDYNE INC]
&gt;&gt; Cc: Ed Grimm; embperl@perl.apache.org
&gt;&gt; Subject: Re: Compiling Embperl
&gt;&gt;
&gt;&gt;
&gt;&gt; Hi David
&gt;&gt;
&gt;&gt; In the past I could easily install Embperl 2.2 on Fedora 6 
&gt;&gt; which is RPM-based sytem, why it can't be installed on Fedora 
&gt;&gt; 10? any Idea?
&gt;&gt; I was not successful to manually install Apache 2.2.x and 
&gt;&gt; mod_perl 2 and I did not hear from Gerald for any other possible way.
&gt;&gt;
&gt;&gt; I appreciate your help
&gt;&gt;
&gt;&gt; Soltan
&gt;&gt;
&gt;&gt; Williams, David G. (HQ-JF000)[INDYNE INC] wrote:
&gt;&gt;     
&gt;&gt;&gt; Soltan,
&gt;&gt;&gt;
&gt;&gt;&gt; I would be interested in hearing about an easy way to get 
&gt;&gt;&gt;       
&gt;&gt; Embperl and XALAN running on an RPM-based system (without 
&gt;&gt; sources).  To get things working quickly on Fedora, I just 
&gt;&gt; uninstalled the RPM version of Apache 2, mod_perl, and a 
&gt;&gt; number of other things and then manually installed Apache 
&gt;&gt; 2.2.x and mod_perl 2 from source.  I have been unsuccessful 
&gt;&gt; in compiling libxml and XALAN on Fedora from source, but I 
&gt;&gt; can live without them for now.
&gt;&gt;     
&gt;&gt;&gt; Gerald, is there an easier way to get Embperl and all its 
&gt;&gt;&gt;       
&gt;&gt; prerequisites running on Fedora?
&gt;&gt;     
&gt;&gt;&gt; Good luck.
&gt;&gt;&gt; ________________________________________
&gt;&gt;&gt; From: Soltan Safavi [soltan@mycopa.com]
&gt;&gt;&gt; Sent: Friday, October 16, 2009 2:38 PM
&gt;&gt;&gt; To: Ed Grimm
&gt;&gt;&gt; Cc: embperl@perl.apache.org
&gt;&gt;&gt; Subject: Re: Compiling Embperl
&gt;&gt;&gt;
&gt;&gt;&gt; Hi Ed,
&gt;&gt;&gt;
&gt;&gt;&gt; I am still looking for the solution. Please find below the 
&gt;&gt;&gt;       
&gt;&gt; output of 
&gt;&gt;     
&gt;&gt;&gt; Makefile.PL, it shows that mod_perl is properly installed but could 
&gt;&gt;&gt; find Apache2
&gt;&gt;&gt;
&gt;&gt;&gt; Thank you
&gt;&gt;&gt;
&gt;&gt;&gt; Soltan
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; I am using:
&gt;&gt;&gt; httpd-2.2.10
&gt;&gt;&gt; mod_perl-2.0.4
&gt;&gt;&gt; perl-5.10.0
&gt;&gt;&gt;
&gt;&gt;&gt; Build with support for Apache mod_perl?(y/n) [y] Searching 
&gt;&gt;&gt;       
&gt;&gt; for Apache 
&gt;&gt;     
&gt;&gt;&gt; sources...
&gt;&gt;&gt; Look at ..
&gt;&gt;&gt; Look at ../src
&gt;&gt;&gt; Look at ./src
&gt;&gt;&gt; Apache source not found, enter path name or q to quit 
&gt;&gt;&gt; [q]/usr/include/httpd Searching for Apache sources...
&gt;&gt;&gt; Look at /usr/include/httpd
&gt;&gt;&gt; Use /usr/include/httpd as Apache source(y/n) [y] Will use 
&gt;&gt;&gt; /usr/include/httpd for Apache Headers Enter path and file 
&gt;&gt;&gt;       
&gt;&gt; to start as 
&gt;&gt;     
&gt;&gt;&gt; httpd [/usr/include/httpd/httpd]/usr/sbin/httpd
&gt;&gt;&gt; Apache Version Server version: Apache/2.2.10 (Unix) Library for 
&gt;&gt;&gt; mod_actions.c not found, please enter path to mod_actions.so  
&gt;&gt;&gt; []/usr/lib/httpd/modules  + Load dynamic module mod_actions.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_actions.so)
&gt;&gt;&gt;  + Load dynamic module mod_cgi.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_cgi.so)
&gt;&gt;&gt;  + Load dynamic module mod_alias.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_alias.so)
&gt;&gt;&gt;  + Load dynamic module mod_env.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_env.so)
&gt;&gt;&gt;  + Load dynamic module mod_perl.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_perl.so)
&gt;&gt;&gt;  + Load dynamic module mod_mime.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_mime.so)
&gt;&gt;&gt;  + Load dynamic module mod_dir.c
&gt;&gt;&gt;    (/usr/lib/httpd/modules/mod_dir.so)
&gt;&gt;&gt;  + mod_perl was build with USE_DSO
&gt;&gt;&gt; Can't locate Apache/src.pm in @INC (@INC contains:
&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
&gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 
&gt;&gt;&gt; /usr/lib/perl5/site_perl .) at Makefile.PL line 982, &lt;STDIN&gt; line 5.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Ed Grimm wrote:
&gt;&gt;&gt;   
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; All perl packages which are provided by your distribution 
&gt;&gt;&gt;&gt;         
&gt;&gt; should put 
&gt;&gt;     
&gt;&gt;&gt;&gt; their perl modules in one of the vendor_perl directories 
&gt;&gt;&gt;&gt;         
&gt;&gt; (excluding, 
&gt;&gt;     
&gt;&gt;&gt;&gt; of course, the perl package itself and any direct 
&gt;&gt;&gt;&gt;         
&gt;&gt; components thereof, 
&gt;&gt;     
&gt;&gt;&gt;&gt; which should put things in the core directories.)
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; The easiest manner one could make it not work in this 
&gt;&gt;&gt;&gt;         
&gt;&gt; fashion would 
&gt;&gt;     
&gt;&gt;&gt;&gt; be to utilize a mod_perl package from someone other than the 
&gt;&gt;&gt;&gt; distribution vendor which places its files elsewhere.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Perl silently ignores any @INC directories which do not exist.  So 
&gt;&gt;&gt;&gt; long as the files it is looking for are in a directory which does 
&gt;&gt;&gt;&gt; exist and is included in @INC, you should be good.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Presence of mind check: do you need a mod_perl-dev package or 
&gt;&gt;&gt;&gt; something like that?  I'm pretty sure you would if you 
&gt;&gt;&gt;&gt;         
&gt;&gt; were running 
&gt;&gt;     
&gt;&gt;&gt;&gt; Ubuntu, as the normal Ubuntu mentality is to move things 
&gt;&gt;&gt;&gt;         
&gt;&gt; only needed 
&gt;&gt;     
&gt;&gt;&gt;&gt; to compile other things and are not specifically compiling tools 
&gt;&gt;&gt;&gt; themselves into -dev packages.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Ed
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Tue, 6 Oct 2009, Soltan Safavi wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; Hi Gerald
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I believe mod_perl is installed correctly.
&gt;&gt;&gt;&gt;&gt; Here I have the content of the @INC
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt;&gt;&gt; /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .
&gt;&gt;&gt;&gt;&gt; but paths with site_perl are missing on my system.
&gt;&gt;&gt;&gt;&gt; Could this be the source of the problem?
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Thank you
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Gerald Richter wrote:
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt;&gt;&gt; Hi,
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Apache::src is part of mod_perl 1, since you use mod_perl 2, it 
&gt;&gt;&gt;&gt;&gt;&gt; seems that mod_perl 2 is not detected by Makefile.PL. 
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt; Maybe it is 
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt; not fully/correctly installed?
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; Gerald
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; -----Original Message-----
&gt;&gt;&gt;&gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To: embperl@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Subject: Compiling Embperl
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I get the

&gt;&gt;&gt;&gt;&gt;&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am using:
&gt;&gt;&gt;&gt;&gt;&gt;&gt; httpd-2.2.10
&gt;&gt;&gt;&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt;&gt;&gt;&gt;&gt;&gt;&gt; perl-5.10.0
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I appreciate your help
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt; ------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt;&gt;&gt; --- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt; --------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt;&gt;&gt; - To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;       
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;     
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;       
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;     
&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;   
&gt;&gt;&gt;       
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;     
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;
&gt;   

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Compiling Embperl</title>
<author><name>gerald.richter@ecos.de</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200911.mbox/%3cvmime.4b063e24.4cd2.26224f30967cd850@srvgr1.ubrichter.de%3e"/>
<id>urn:uuid:%3cvmime-4b063e24-4cd2-26224f30967cd850@srvgr1-ubrichter-de%3e</id>
<updated>2009-11-20T06:58:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

the Makefile.Pl of Embperl is searching for the module Apache2::BuildConfig to determinate
if mod_perl 2 is installed and what are the compile settings.

Could you check if this module is installed?

If yes, please make a simple test programm and send me the output:

-----

use Apache2::BuildConfig ;
use Data::Dumper ;

$c = Apache2::BuildConfig -&gt; new ;
print Dumper ($c) ;

-----

Gerald


&gt; -----Original Message-----
&gt; From: Soltan Safavi [mailto:soltan@mycopa.com] 
&gt; Sent: Thursday, November 19, 2009 11:14 PM
&gt; To: Williams, David G. (HQ-JF000)[INDYNE INC]
&gt; Cc: Ed Grimm; embperl@perl.apache.org
&gt; Subject: Re: Compiling Embperl
&gt; 
&gt; 
&gt; Hi David
&gt; 
&gt; In the past I could easily install Embperl 2.2 on Fedora 6 
&gt; which is RPM-based sytem, why it can't be installed on Fedora 
&gt; 10? any Idea?
&gt; I was not successful to manually install Apache 2.2.x and 
&gt; mod_perl 2 and I did not hear from Gerald for any other possible way.
&gt; 
&gt; I appreciate your help
&gt; 
&gt; Soltan
&gt; 
&gt; Williams, David G. (HQ-JF000)[INDYNE INC] wrote:
&gt; &gt; Soltan,
&gt; &gt;
&gt; &gt; I would be interested in hearing about an easy way to get 
&gt; Embperl and XALAN running on an RPM-based system (without 
&gt; sources).  To get things working quickly on Fedora, I just 
&gt; uninstalled the RPM version of Apache 2, mod_perl, and a 
&gt; number of other things and then manually installed Apache 
&gt; 2.2.x and mod_perl 2 from source.  I have been unsuccessful 
&gt; in compiling libxml and XALAN on Fedora from source, but I 
&gt; can live without them for now.
&gt; &gt;
&gt; &gt; Gerald, is there an easier way to get Embperl and all its 
&gt; prerequisites running on Fedora?
&gt; &gt;
&gt; &gt; Good luck.
&gt; &gt; ________________________________________
&gt; &gt; From: Soltan Safavi [soltan@mycopa.com]
&gt; &gt; Sent: Friday, October 16, 2009 2:38 PM
&gt; &gt; To: Ed Grimm
&gt; &gt; Cc: embperl@perl.apache.org
&gt; &gt; Subject: Re: Compiling Embperl
&gt; &gt;
&gt; &gt; Hi Ed,
&gt; &gt;
&gt; &gt; I am still looking for the solution. Please find below the 
&gt; output of 
&gt; &gt; Makefile.PL, it shows that mod_perl is properly installed but could 
&gt; &gt; find Apache2
&gt; &gt;
&gt; &gt; Thank you
&gt; &gt;
&gt; &gt; Soltan
&gt; &gt;
&gt; &gt;
&gt; &gt; I am using:
&gt; &gt; httpd-2.2.10
&gt; &gt; mod_perl-2.0.4
&gt; &gt; perl-5.10.0
&gt; &gt;
&gt; &gt; Build with support for Apache mod_perl?(y/n) [y] Searching 
&gt; for Apache 
&gt; &gt; sources...
&gt; &gt; Look at ..
&gt; &gt; Look at ../src
&gt; &gt; Look at ./src
&gt; &gt; Apache source not found, enter path name or q to quit 
&gt; &gt; [q]/usr/include/httpd Searching for Apache sources...
&gt; &gt; Look at /usr/include/httpd
&gt; &gt; Use /usr/include/httpd as Apache source(y/n) [y] Will use 
&gt; &gt; /usr/include/httpd for Apache Headers Enter path and file 
&gt; to start as 
&gt; &gt; httpd [/usr/include/httpd/httpd]/usr/sbin/httpd
&gt; &gt; Apache Version Server version: Apache/2.2.10 (Unix) Library for 
&gt; &gt; mod_actions.c not found, please enter path to mod_actions.so  
&gt; &gt; []/usr/lib/httpd/modules  + Load dynamic module mod_actions.c
&gt; &gt;    (/usr/lib/httpd/modules/mod_actions.so)
&gt; &gt;  + Load dynamic module mod_cgi.c
&gt; &gt;    (/usr/lib/httpd/modules/mod_cgi.so)
&gt; &gt;  + Load dynamic module mod_alias.c
&gt; &gt;    (/usr/lib/httpd/modules/mod_alias.so)
&gt; &gt;  + Load dynamic module mod_env.c
&gt; &gt;    (/usr/lib/httpd/modules/mod_env.so)
&gt; &gt;  + Load dynamic module mod_perl.c
&gt; &gt;    (/usr/lib/httpd/modules/mod_perl.so)
&gt; &gt;  + Load dynamic module mod_mime.c
&gt; &gt;    (/usr/lib/httpd/modules/mod_mime.so)
&gt; &gt;  + Load dynamic module mod_dir.c
&gt; &gt;    (/usr/lib/httpd/modules/mod_dir.so)
&gt; &gt;  + mod_perl was build with USE_DSO
&gt; &gt; Can't locate Apache/src.pm in @INC (@INC contains:
&gt; &gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt; &gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt; &gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt; &gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
&gt; &gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 
&gt; &gt; /usr/lib/perl5/site_perl .) at Makefile.PL line 982, &lt;STDIN&gt; line 5.
&gt; &gt;
&gt; &gt;
&gt; &gt; Ed Grimm wrote:
&gt; &gt;   
&gt; &gt;&gt; All perl packages which are provided by your distribution 
&gt; should put 
&gt; &gt;&gt; their perl modules in one of the vendor_perl directories 
&gt; (excluding, 
&gt; &gt;&gt; of course, the perl package itself and any direct 
&gt; components thereof, 
&gt; &gt;&gt; which should put things in the core directories.)
&gt; &gt;&gt;
&gt; &gt;&gt; The easiest manner one could make it not work in this 
&gt; fashion would 
&gt; &gt;&gt; be to utilize a mod_perl package from someone other than the 
&gt; &gt;&gt; distribution vendor which places its files elsewhere.
&gt; &gt;&gt;
&gt; &gt;&gt; Perl silently ignores any @INC directories which do not exist.  So 
&gt; &gt;&gt; long as the files it is looking for are in a directory which does 
&gt; &gt;&gt; exist and is included in @INC, you should be good.
&gt; &gt;&gt;
&gt; &gt;&gt; Presence of mind check: do you need a mod_perl-dev package or 
&gt; &gt;&gt; something like that?  I'm pretty sure you would if you 
&gt; were running 
&gt; &gt;&gt; Ubuntu, as the normal Ubuntu mentality is to move things 
&gt; only needed 
&gt; &gt;&gt; to compile other things and are not specifically compiling tools 
&gt; &gt;&gt; themselves into -dev packages.
&gt; &gt;&gt;
&gt; &gt;&gt; Ed
&gt; &gt;&gt;
&gt; &gt;&gt; On Tue, 6 Oct 2009, Soltan Safavi wrote:
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;     
&gt; &gt;&gt;&gt; Hi Gerald
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; I believe mod_perl is installed correctly.
&gt; &gt;&gt;&gt; Here I have the content of the @INC
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt; &gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
&gt; &gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt; &gt;&gt;&gt; /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl .
&gt; &gt;&gt;&gt; but paths with site_perl are missing on my system.
&gt; &gt;&gt;&gt; Could this be the source of the problem?
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Thank you
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Soltan
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Gerald Richter wrote:
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt;&gt;&gt; Hi,
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Apache::src is part of mod_perl 1, since you use mod_perl 2, it 
&gt; &gt;&gt;&gt;&gt; seems that mod_perl 2 is not detected by Makefile.PL. 
&gt; Maybe it is 
&gt; &gt;&gt;&gt;&gt; not fully/correctly installed?
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Gerald
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;         
&gt; &gt;&gt;&gt;&gt;&gt; -----Original Message-----
&gt; &gt;&gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt; &gt;&gt;&gt;&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt; &gt;&gt;&gt;&gt;&gt; To: embperl@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt; Subject: Compiling Embperl
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Hi
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I get the 
&gt; &gt;&gt;&gt;&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt; &gt;&gt;&gt;&gt;&gt; I am using:
&gt; &gt;&gt;&gt;&gt;&gt; httpd-2.2.10
&gt; &gt;&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt; &gt;&gt;&gt;&gt;&gt; perl-5.10.0
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; I appreciate your help
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Soltan
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; 
&gt; ------------------------------------------------------------------
&gt; &gt;&gt;&gt;&gt;&gt; --- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;           
&gt; &gt;&gt;&gt; 
&gt; --------------------------------------------------------------------
&gt; &gt;&gt;&gt; - To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;       
&gt; &gt;&gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt;     
&gt; &gt;
&gt; &gt; 
&gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; &gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; &gt;
&gt; &gt;
&gt; &gt;   
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; 
&gt; 


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Compiling Embperl</title>
<author><name>Soltan Safavi &lt;soltan@mycopa.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200911.mbox/%3c4B05C333.8000106@mycopa.com%3e"/>
<id>urn:uuid:%3c4B05C333-8000106@mycopa-com%3e</id>
<updated>2009-11-19T22:14:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi David

In the past I could easily install Embperl 2.2 on Fedora 6 which is 
RPM-based sytem, why it can't be installed on Fedora 10? any Idea?
I was not successful to manually install Apache 2.2.x and mod_perl 2 and 
I did not hear from Gerald for any other possible way.

I appreciate your help

Soltan

Williams, David G. (HQ-JF000)[INDYNE INC] wrote:
&gt; Soltan,
&gt;
&gt; I would be interested in hearing about an easy way to get Embperl and XALAN running on
an RPM-based system (without sources).  To get things working quickly on Fedora, I just uninstalled
the RPM version of Apache 2, mod_perl, and a number of other things and then manually installed
Apache 2.2.x and mod_perl 2 from source.  I have been unsuccessful in compiling libxml and
XALAN on Fedora from source, but I can live without them for now.
&gt;
&gt; Gerald, is there an easier way to get Embperl and all its prerequisites running on Fedora?
&gt;
&gt; Good luck.
&gt; ________________________________________
&gt; From: Soltan Safavi [soltan@mycopa.com]
&gt; Sent: Friday, October 16, 2009 2:38 PM
&gt; To: Ed Grimm
&gt; Cc: embperl@perl.apache.org
&gt; Subject: Re: Compiling Embperl
&gt;
&gt; Hi Ed,
&gt;
&gt; I am still looking for the solution. Please find below the output of
&gt; Makefile.PL,
&gt; it shows that mod_perl is properly installed but could find Apache2
&gt;
&gt; Thank you
&gt;
&gt; Soltan
&gt;
&gt;
&gt; I am using:
&gt; httpd-2.2.10
&gt; mod_perl-2.0.4
&gt; perl-5.10.0
&gt;
&gt; Build with support for Apache mod_perl?(y/n) [y]
&gt; Searching for Apache sources...
&gt; Look at ..
&gt; Look at ../src
&gt; Look at ./src
&gt; Apache source not found, enter path name or q to quit [q]/usr/include/httpd
&gt; Searching for Apache sources...
&gt; Look at /usr/include/httpd
&gt; Use /usr/include/httpd as Apache source(y/n) [y]
&gt; Will use /usr/include/httpd for Apache Headers
&gt; Enter path and file to start as httpd
&gt; [/usr/include/httpd/httpd]/usr/sbin/httpd
&gt; Apache Version Server version: Apache/2.2.10 (Unix)
&gt; Library for mod_actions.c not found, please enter path to
&gt; mod_actions.so  []/usr/lib/httpd/modules
&gt;  + Load dynamic module mod_actions.c
&gt;    (/usr/lib/httpd/modules/mod_actions.so)
&gt;  + Load dynamic module mod_cgi.c
&gt;    (/usr/lib/httpd/modules/mod_cgi.so)
&gt;  + Load dynamic module mod_alias.c
&gt;    (/usr/lib/httpd/modules/mod_alias.so)
&gt;  + Load dynamic module mod_env.c
&gt;    (/usr/lib/httpd/modules/mod_env.so)
&gt;  + Load dynamic module mod_perl.c
&gt;    (/usr/lib/httpd/modules/mod_perl.so)
&gt;  + Load dynamic module mod_mime.c
&gt;    (/usr/lib/httpd/modules/mod_mime.so)
&gt;  + Load dynamic module mod_dir.c
&gt;    (/usr/lib/httpd/modules/mod_dir.so)
&gt;  + mod_perl was build with USE_DSO
&gt; Can't locate Apache/src.pm in @INC (@INC contains:
&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
&gt; /usr/lib/perl5/site_perl .) at Makefile.PL line 982, &lt;STDIN&gt; line 5.
&gt;
&gt;
&gt; Ed Grimm wrote:
&gt;   
&gt;&gt; All perl packages which are provided by your distribution should put
&gt;&gt; their perl modules in one of the vendor_perl directories (excluding, of
&gt;&gt; course, the perl package itself and any direct components thereof, which
&gt;&gt; should put things in the core directories.)
&gt;&gt;
&gt;&gt; The easiest manner one could make it not work in this fashion would be
&gt;&gt; to utilize a mod_perl package from someone other than the distribution
&gt;&gt; vendor which places its files elsewhere.
&gt;&gt;
&gt;&gt; Perl silently ignores any @INC directories which do not exist.  So long
&gt;&gt; as the files it is looking for are in a directory which does exist and
&gt;&gt; is included in @INC, you should be good.
&gt;&gt;
&gt;&gt; Presence of mind check: do you need a mod_perl-dev package or something
&gt;&gt; like that?  I'm pretty sure you would if you were running Ubuntu, as the
&gt;&gt; normal Ubuntu mentality is to move things only needed to compile other
&gt;&gt; things and are not specifically compiling tools themselves into -dev
&gt;&gt; packages.
&gt;&gt;
&gt;&gt; Ed
&gt;&gt;
&gt;&gt; On Tue, 6 Oct 2009, Soltan Safavi wrote:
&gt;&gt;
&gt;&gt;
&gt;&gt;     
&gt;&gt;&gt; Hi Gerald
&gt;&gt;&gt;
&gt;&gt;&gt; I believe mod_perl is installed correctly.
&gt;&gt;&gt; Here I have the content of the @INC
&gt;&gt;&gt;
&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
&gt;&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt;&gt;&gt; /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl
&gt;&gt;&gt; .
&gt;&gt;&gt; but paths with site_perl are missing on my system.
&gt;&gt;&gt; Could this be the source of the problem?
&gt;&gt;&gt;
&gt;&gt;&gt; Thank you
&gt;&gt;&gt;
&gt;&gt;&gt; Soltan
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Gerald Richter wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; Hi,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Apache::src is part of mod_perl 1, since you use mod_perl 2, it seems that
&gt;&gt;&gt;&gt; mod_perl 2 is not detected by Makefile.PL. Maybe it is not fully/correctly
&gt;&gt;&gt;&gt; installed?
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Gerald
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; -----Original Message-----
&gt;&gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt;&gt;&gt;&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt;&gt;&gt;&gt;&gt; To: embperl@perl.apache.org
&gt;&gt;&gt;&gt;&gt; Subject: Compiling Embperl
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Hi
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I get the
&gt;&gt;&gt;&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt;&gt;&gt;&gt;&gt; I am using:
&gt;&gt;&gt;&gt;&gt; httpd-2.2.10
&gt;&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt;&gt;&gt;&gt;&gt; perl-5.10.0
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I appreciate your help
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;     
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;
&gt;   

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: AW: FastCGI deployment</title>
<author><name>Alexander Hartmaier &lt;alexander.hartmaier@t-systems.at&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c1256634598.3979.6.camel@ahartmai-nb%3e"/>
<id>urn:uuid:%3c1256634598-3979-6-camel@ahartmai-nb%3e</id>
<updated>2009-10-27T09:09:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Gerald!

It is API compatible, so yes it does work.
I use it with Catalyst without a problem.

Can you provide me a sample config for mod_fastcgi?

Am Sonntag, den 25.10.2009, 00:32 +0200 schrieb richter@ecos.de:
&gt; Hi,
&gt; 
&gt; I never have used mod_fcgid. Maybe it does not work together with FCGI.pm,
&gt; which is used by embpfastcgi.pl
&gt; 
&gt; Gerald
&gt; 
&gt; -----UrsprÃ¼ngliche Nachricht-----
&gt; Von: Alexander Hartmaier [mailto:alexander.hartmaier@t-systems.at]
&gt; Gesendet: Montag, 19. Oktober 2009 20:12
&gt; An: embperl@perl.apache.org
&gt; Betreff: FastCGI deployment
&gt; 
&gt; Hi!
&gt; 
&gt; I've migrated my current mod_perl setup to mod_fcgid (not fastcgid,
&gt; because fcgid is included in Debian) today but the processes terminate
&gt; as soon as the request has been handled which leads to really bad
&gt; performance.
&gt; 
&gt; Any idea why this is happening?
&gt; 
&gt; That's my current apache config
&gt; 
&gt; from the vhost:
&gt;     ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
&gt;     &lt;Directory "/usr/lib/cgi-bin"&gt;
&gt;         AllowOverride None
&gt;         Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
&gt;         Order allow,deny
&gt;         Allow from all
&gt;     &lt;/Directory&gt;
&gt; 
&gt; mods-enabled/zembperl.conf:
&gt; 
&gt; AddType text/html .epl
&gt; 
&gt; &lt;IfModule !mod_perl.c&gt;
&gt;   # CGI version
&gt; 
&gt;   &lt;IfModule mod_actions.c&gt;
&gt;     #Action embperl /cgi-bin/embpcgi.pl
&gt;     #Action embperlobject /cgi-bin/epocgi.pl
&gt;     Action embperl-fastcgi /cgi-bin/embpfastcgi.pl
&gt; 
&gt;     AddHandler embperl-fastcgi .epl
&gt;   &lt;/IfModule&gt;
&gt; &lt;/IfModule&gt;
&gt; 
&gt; mods-enabled/fcgid.conf:
&gt; 
&gt; &lt;IfModule mod_fcgid.c&gt;
&gt;   AddHandler fcgid-script .fcgi
&gt;   SocketPath /var/lib/apache2/fcgid/sock
&gt;   IPCConnectTimeout 20
&gt; &lt;/IfModule&gt;
&gt; 
&gt; 
&gt; --
&gt; best regards, Alex
&gt; 
&gt; 
&gt; *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
&gt; *"*
&gt; T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
&gt; Handelsgericht Wien, FN 79340b
&gt; *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
&gt; *"*
&gt; Notice: This e-mail contains information that is confidential and may be
&gt; privileged.
&gt; If you are not the intended recipient, please notify the sender and then
&gt; delete this e-mail immediately.
&gt; *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
&gt; *"*
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
-- 
LG Alex


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



</pre>
</div>
</content>
</entry>
<entry>
<title>AW: FastCGI deployment</title>
<author><name>richter@ecos.de</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c004201ca54f9$ea2b3310$be819930$@de%3e"/>
<id>urn:uuid:%3c004201ca54f9$ea2b3310$be819930$@de%3e</id>
<updated>2009-10-24T22:32:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I never have used mod_fcgid. Maybe it does not work together with FCGI.pm,
which is used by embpfastcgi.pl

Gerald

-----Ursprüngliche Nachricht-----
Von: Alexander Hartmaier [mailto:alexander.hartmaier@t-systems.at]
Gesendet: Montag, 19. Oktober 2009 20:12
An: embperl@perl.apache.org
Betreff: FastCGI deployment

Hi!

I've migrated my current mod_perl setup to mod_fcgid (not fastcgid,
because fcgid is included in Debian) today but the processes terminate
as soon as the request has been handled which leads to really bad
performance.

Any idea why this is happening?

That's my current apache config

from the vhost:
    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    &lt;Directory "/usr/lib/cgi-bin"&gt;
        AllowOverride None
        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    &lt;/Directory&gt;

mods-enabled/zembperl.conf:

AddType text/html .epl

&lt;IfModule !mod_perl.c&gt;
  # CGI version

  &lt;IfModule mod_actions.c&gt;
    #Action embperl /cgi-bin/embpcgi.pl
    #Action embperlobject /cgi-bin/epocgi.pl
    Action embperl-fastcgi /cgi-bin/embpfastcgi.pl

    AddHandler embperl-fastcgi .epl
  &lt;/IfModule&gt;
&lt;/IfModule&gt;

mods-enabled/fcgid.conf:

&lt;IfModule mod_fcgid.c&gt;
  AddHandler fcgid-script .fcgi
  SocketPath /var/lib/apache2/fcgid/sock
  IPCConnectTimeout 20
&lt;/IfModule&gt;


--
best regards, Alex


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
*"*
T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
*"*
Notice: This e-mail contains information that is confidential and may be
privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"
*"*

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

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



</pre>
</div>
</content>
</entry>
<entry>
<title>FastCGI deployment</title>
<author><name>Alexander Hartmaier &lt;alexander.hartmaier@t-systems.at&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c1255975933.4591.27.camel@ahartmai-nb%3e"/>
<id>urn:uuid:%3c1255975933-4591-27-camel@ahartmai-nb%3e</id>
<updated>2009-10-19T18:12:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi!

I've migrated my current mod_perl setup to mod_fcgid (not fastcgid,
because fcgid is included in Debian) today but the processes terminate
as soon as the request has been handled which leads to really bad
performance.

Any idea why this is happening?

That's my current apache config

from the vhost:
    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    &lt;Directory "/usr/lib/cgi-bin"&gt;
        AllowOverride None
        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    &lt;/Directory&gt;

mods-enabled/zembperl.conf:

AddType text/html .epl

&lt;IfModule !mod_perl.c&gt;
  # CGI version

  &lt;IfModule mod_actions.c&gt;
    #Action embperl /cgi-bin/embpcgi.pl
    #Action embperlobject /cgi-bin/epocgi.pl
    Action embperl-fastcgi /cgi-bin/embpfastcgi.pl

    AddHandler embperl-fastcgi .epl
  &lt;/IfModule&gt;
&lt;/IfModule&gt;

mods-enabled/fcgid.conf:

&lt;IfModule mod_fcgid.c&gt;
  AddHandler fcgid-script .fcgi
  SocketPath /var/lib/apache2/fcgid/sock
  IPCConnectTimeout 20
&lt;/IfModule&gt;


--
best regards, Alex


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: sub BEGIN in embperl ?</title>
<author><name>Jean-Christophe Boggio &lt;embperl@thefreecat.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c4ADC4B3D.10009@thefreecat.org%3e"/>
<id>urn:uuid:%3c4ADC4B3D-10009@thefreecat-org%3e</id>
<updated>2009-10-19T11:19:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dirk Melchers a écrit :
&gt; We 'use lib "xxx"' in our startup.pl and that works.
&gt; 
&gt; But be careful: the used libs are only compiled once and available in 
&gt; all websites (if you use "mod_perl") - so namespaces of your modules 
&gt; should be different to avoid "funny" things...

I see what you mean by "funny" things, thanks for the tip, I probably would have
slipped on that.

Have a nice day,

-- 
Jean-Christophe Boggio                       -o)
embperl@thefreecat.org                       /\\
Independant Consultant and Developer        _\_V

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: sub BEGIN in embperl ?</title>
<author><name>Dirk Melchers &lt;melchers@nureg.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c266975BA-2C7F-49A4-8960-65A5EA25502C@nureg.de%3e"/>
<id>urn:uuid:%3c266975BA-2C7F-49A4-8960-65A5EA25502C@nureg-de%3e</id>
<updated>2009-10-19T11:03:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Am 19.10.2009 um 12:45 schrieb Jean-Christophe Boggio:

&gt; Hello,
&gt;
&gt; I wish to "use" some library that is not located on the PATH so
&gt; I try this kind of code inside my base.epl :
&gt;
&gt; sub BEGIN {
&gt; 	my $script = $ENV{SCRIPT_FILENAME};
&gt; 	$script =~ s/^(.*)\/.*?$/$1/;
&gt; 	push @INC,$script;
&gt; 	push @INC,"$script/..";
&gt; }
&gt;
&gt; But it does not seem to work. How should I do this (what is
&gt; the right way of doing this with embperl) ?
&gt;
&gt; Maybe some hardcoded use lib "xxx" inside startup.pl ?


We 'use lib "xxx"' in our startup.pl and that works.

But be careful: the used libs are only compiled once and available in  
all websites (if you use "mod_perl") - so namespaces of your modules  
should be different to avoid "funny" things...



With best regards,


Dirk Melchers
/// IT/Software-Entwicklung ///

-- 
NUREG GmbH ///
Dorfäckerstraße 31 | 90427 Nürnberg | Germany
Tel. +49-911-32002-256 | Fax +49-911-32002-299
Mobil +49-172-9354670 | www.nureg.de
Nürnberg HRB 22653 | USt.ID DE 814 685 653
Geschäftsführer: Michael Schmidt, Stefan Boas


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



</pre>
</div>
</content>
</entry>
<entry>
<title>sub BEGIN in embperl ?</title>
<author><name>Jean-Christophe Boggio &lt;embperl@thefreecat.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c4ADC4354.5050205@thefreecat.org%3e"/>
<id>urn:uuid:%3c4ADC4354-5050205@thefreecat-org%3e</id>
<updated>2009-10-19T10:45:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

I wish to "use" some library that is not located on the PATH so
I try this kind of code inside my base.epl :

sub BEGIN {
	my $script = $ENV{SCRIPT_FILENAME};
	$script =~ s/^(.*)\/.*?$/$1/;
	push @INC,$script;
	push @INC,"$script/..";
}

But it does not seem to work. How should I do this (what is
the right way of doing this with embperl) ?

Maybe some hardcoded use lib "xxx" inside startup.pl ?

Thanks for your help !

-- 
Jean-Christophe Boggio                       -o)
embperl@thefreecat.org                       /\\
Independant Consultant and Developer        _\_V

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Compiling Embperl</title>
<author><name>&quot;Williams, David G. (HQ-JF000)[INDYNE INC]&quot; &lt;david.g.williams@nasa.gov&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c987580882278F748BF7FC22F0A4D7CFB2E325F5D3B@NDMSSCC03.ndc.nasa.gov%3e"/>
<id>urn:uuid:%3c987580882278F748BF7FC22F0A4D7CFB2E325F5D3B@NDMSSCC03-ndc-nasa-gov%3e</id>
<updated>2009-10-16T20:18:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Soltan,

I would be interested in hearing about an easy way to get Embperl and XALAN running on an
RPM-based system (without sources).  To get things working quickly on Fedora, I just uninstalled
the RPM version of Apache 2, mod_perl, and a number of other things and then manually installed
Apache 2.2.x and mod_perl 2 from source.  I have been unsuccessful in compiling libxml and
XALAN on Fedora from source, but I can live without them for now.

Gerald, is there an easier way to get Embperl and all its prerequisites running on Fedora?

Good luck.
________________________________________
From: Soltan Safavi [soltan@mycopa.com]
Sent: Friday, October 16, 2009 2:38 PM
To: Ed Grimm
Cc: embperl@perl.apache.org
Subject: Re: Compiling Embperl

Hi Ed,

I am still looking for the solution. Please find below the output of
Makefile.PL,
it shows that mod_perl is properly installed but could find Apache2

Thank you

Soltan


I am using:
httpd-2.2.10
mod_perl-2.0.4
perl-5.10.0

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 [q]/usr/include/httpd
Searching for Apache sources...
Look at /usr/include/httpd
Use /usr/include/httpd as Apache source(y/n) [y]
Will use /usr/include/httpd for Apache Headers
Enter path and file to start as httpd
[/usr/include/httpd/httpd]/usr/sbin/httpd
Apache Version Server version: Apache/2.2.10 (Unix)
Library for mod_actions.c not found, please enter path to
mod_actions.so  []/usr/lib/httpd/modules
 + Load dynamic module mod_actions.c
   (/usr/lib/httpd/modules/mod_actions.so)
 + Load dynamic module mod_cgi.c
   (/usr/lib/httpd/modules/mod_cgi.so)
 + Load dynamic module mod_alias.c
   (/usr/lib/httpd/modules/mod_alias.so)
 + Load dynamic module mod_env.c
   (/usr/lib/httpd/modules/mod_env.so)
 + Load dynamic module mod_perl.c
   (/usr/lib/httpd/modules/mod_perl.so)
 + Load dynamic module mod_mime.c
   (/usr/lib/httpd/modules/mod_mime.so)
 + Load dynamic module mod_dir.c
   (/usr/lib/httpd/modules/mod_dir.so)
 + mod_perl was build with USE_DSO
Can't locate Apache/src.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl .) at Makefile.PL line 982, &lt;STDIN&gt; line 5.


Ed Grimm wrote:
&gt; All perl packages which are provided by your distribution should put
&gt; their perl modules in one of the vendor_perl directories (excluding, of
&gt; course, the perl package itself and any direct components thereof, which
&gt; should put things in the core directories.)
&gt;
&gt; The easiest manner one could make it not work in this fashion would be
&gt; to utilize a mod_perl package from someone other than the distribution
&gt; vendor which places its files elsewhere.
&gt;
&gt; Perl silently ignores any @INC directories which do not exist.  So long
&gt; as the files it is looking for are in a directory which does exist and
&gt; is included in @INC, you should be good.
&gt;
&gt; Presence of mind check: do you need a mod_perl-dev package or something
&gt; like that?  I'm pretty sure you would if you were running Ubuntu, as the
&gt; normal Ubuntu mentality is to move things only needed to compile other
&gt; things and are not specifically compiling tools themselves into -dev
&gt; packages.
&gt;
&gt; Ed
&gt;
&gt; On Tue, 6 Oct 2009, Soltan Safavi wrote:
&gt;
&gt;
&gt;&gt; Hi Gerald
&gt;&gt;
&gt;&gt; I believe mod_perl is installed correctly.
&gt;&gt; Here I have the content of the @INC
&gt;&gt;
&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt;&gt; /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl
&gt;&gt; .
&gt;&gt; but paths with site_perl are missing on my system.
&gt;&gt; Could this be the source of the problem?
&gt;&gt;
&gt;&gt; Thank you
&gt;&gt;
&gt;&gt; Soltan
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; Gerald Richter wrote:
&gt;&gt;
&gt;&gt;&gt; Hi,
&gt;&gt;&gt;
&gt;&gt;&gt; Apache::src is part of mod_perl 1, since you use mod_perl 2, it seems that
&gt;&gt;&gt; mod_perl 2 is not detected by Makefile.PL. Maybe it is not fully/correctly
&gt;&gt;&gt; installed?
&gt;&gt;&gt;
&gt;&gt;&gt; Gerald
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; -----Original Message-----
&gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt;&gt;&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt;&gt;&gt;&gt; To: embperl@perl.apache.org
&gt;&gt;&gt;&gt; Subject: Compiling Embperl
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Hi
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I get the
&gt;&gt;&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt;&gt;&gt;&gt; I am using:
&gt;&gt;&gt;&gt; httpd-2.2.10
&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt;&gt;&gt;&gt; perl-5.10.0
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I appreciate your help
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;
&gt;

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


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Compiling Embperl</title>
<author><name>Soltan Safavi &lt;soltan@mycopa.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c4AD8BDA6.9080509@mycopa.com%3e"/>
<id>urn:uuid:%3c4AD8BDA6-9080509@mycopa-com%3e</id>
<updated>2009-10-16T18:38:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Ed,

I am still looking for the solution. Please find below the output of  
Makefile.PL,
it shows that mod_perl is properly installed but could find Apache2

Thank you

Soltan
 

I am using:
httpd-2.2.10
mod_perl-2.0.4
perl-5.10.0

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 [q]/usr/include/httpd
Searching for Apache sources...
Look at /usr/include/httpd
Use /usr/include/httpd as Apache source(y/n) [y]
Will use /usr/include/httpd for Apache Headers
Enter path and file to start as httpd 
[/usr/include/httpd/httpd]/usr/sbin/httpd
Apache Version Server version: Apache/2.2.10 (Unix)
Library for mod_actions.c not found, please enter path to 
mod_actions.so  []/usr/lib/httpd/modules
 + Load dynamic module mod_actions.c
   (/usr/lib/httpd/modules/mod_actions.so)
 + Load dynamic module mod_cgi.c
   (/usr/lib/httpd/modules/mod_cgi.so)
 + Load dynamic module mod_alias.c
   (/usr/lib/httpd/modules/mod_alias.so)
 + Load dynamic module mod_env.c
   (/usr/lib/httpd/modules/mod_env.so)
 + Load dynamic module mod_perl.c
   (/usr/lib/httpd/modules/mod_perl.so)
 + Load dynamic module mod_mime.c
   (/usr/lib/httpd/modules/mod_mime.so)
 + Load dynamic module mod_dir.c
   (/usr/lib/httpd/modules/mod_dir.so)
 + mod_perl was build with USE_DSO
Can't locate Apache/src.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi 
/usr/local/lib/perl5/site_perl/5.10.0 
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl 
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 
/usr/lib/perl5/site_perl .) at Makefile.PL line 982, &lt;STDIN&gt; line 5.


Ed Grimm wrote:
&gt; All perl packages which are provided by your distribution should put
&gt; their perl modules in one of the vendor_perl directories (excluding, of
&gt; course, the perl package itself and any direct components thereof, which
&gt; should put things in the core directories.)
&gt;
&gt; The easiest manner one could make it not work in this fashion would be
&gt; to utilize a mod_perl package from someone other than the distribution
&gt; vendor which places its files elsewhere.
&gt;
&gt; Perl silently ignores any @INC directories which do not exist.  So long
&gt; as the files it is looking for are in a directory which does exist and
&gt; is included in @INC, you should be good.
&gt;
&gt; Presence of mind check: do you need a mod_perl-dev package or something
&gt; like that?  I'm pretty sure you would if you were running Ubuntu, as the
&gt; normal Ubuntu mentality is to move things only needed to compile other
&gt; things and are not specifically compiling tools themselves into -dev
&gt; packages.
&gt;
&gt; Ed
&gt;
&gt; On Tue, 6 Oct 2009, Soltan Safavi wrote:
&gt;
&gt;   
&gt;&gt; Hi Gerald
&gt;&gt;
&gt;&gt; I believe mod_perl is installed correctly.
&gt;&gt; Here I have the content of the @INC
&gt;&gt;
&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt;&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt;&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
&gt;&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt;&gt; /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl
&gt;&gt; .
&gt;&gt; but paths with site_perl are missing on my system.
&gt;&gt; Could this be the source of the problem?
&gt;&gt;
&gt;&gt; Thank you
&gt;&gt;
&gt;&gt; Soltan
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; Gerald Richter wrote:
&gt;&gt;     
&gt;&gt;&gt; Hi,
&gt;&gt;&gt;
&gt;&gt;&gt; Apache::src is part of mod_perl 1, since you use mod_perl 2, it seems that
&gt;&gt;&gt; mod_perl 2 is not detected by Makefile.PL. Maybe it is not fully/correctly
&gt;&gt;&gt; installed?
&gt;&gt;&gt;
&gt;&gt;&gt; Gerald
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; -----Original Message-----
&gt;&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt;&gt;&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt;&gt;&gt;&gt; To: embperl@perl.apache.org
&gt;&gt;&gt;&gt; Subject: Compiling Embperl
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Hi
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I get the
&gt;&gt;&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt;&gt;&gt;&gt; I am using:
&gt;&gt;&gt;&gt; httpd-2.2.10
&gt;&gt;&gt;&gt; mod_perl-2.0.4
&gt;&gt;&gt;&gt; perl-5.10.0
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I appreciate your help
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Soltan
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;&gt;&gt;         
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;     
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;
&gt;   

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: 9999: Error (no description) Unstructured forward jump</title>
<author><name>&quot;Andrew O'Brien&quot; &lt;andrewo@oriel.com.au&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3cD9A099BA6963E94484AAC5855328B2710253CC09@waldorf.oriel.com.au%3e"/>
<id>urn:uuid:%3cD9A099BA6963E94484AAC5855328B2710253CC09@waldorf-oriel-com-au%3e</id>
<updated>2009-10-12T20:52:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

George,

To save searching through the docs, here's how to turn off embperl's
form/table/html parsing and just process the various types of code
blocks.

[$ syntax EmbperlBlocks $][# turn off special HTML processing #]

Do funky table stuff here

[$ syntax Embperl $][# back to normal #]

Cheers,

Andrew

&gt; -----Original Message-----
&gt; From: Ed Grimm [mailto:ed_grimm@raytheon.com] 
&gt; Sent: Saturday, 10 October 2009 12:37 AM
&gt; To: George Piskorsky; embperl@perl.apache.org
&gt; Subject: Re: 9999: Error (no description) Unstructured forward jump
&gt; 
&gt; Actually, it wouldn't generate imbalanced tags - the final if 
&gt; has additional logic to balance the last row - but it does 
&gt; trigger EmbPerl's imbalanced tag detection anyway.  Either 
&gt; generate one row per loop iteratiom or turn off EmbPerl's 
&gt; table parsing.  Since that loop will probably run faster 
&gt; unrolled once (so there's only one if check in it), and your 
&gt; table should have balanced rows anyway (put the if check on 
&gt; the *contents* of the second &lt;TD&gt;, rather than eliminating 
&gt; the whole element), I strongly recommend the former approach.
&gt; 
&gt; 
&gt; ----- Original Message -----
&gt; From: "Williams, David G. (HQ-JF000)[INDYNE INC]" 
&gt; [david.g.williams@nasa.gov]
&gt; Sent: 10/08/2009 03:41 PM EST
&gt; To: George Piskorsky &lt;george@piskorsky.com&gt;; 
&gt; "embperl@perl.apache.org" &lt;embperl@perl.apache.org&gt;
&gt; Subject: RE: 9999: Error (no description) Unstructured forward jump
&gt; 
&gt; 
&gt; 
&gt; It is complaining because your code would create unbalanced 
&gt; &lt;TR&gt;&lt;/TR&gt; tags.  Why are you writing &lt;TR&gt; when the modulus is 
&gt; 0 but writing &lt;/TR&gt; if modulus is 1?  I think you should 
&gt; redesign your code.
&gt; 
&gt; -----Original Message-----
&gt; From: George Piskorsky [mailto:george@piskorsky.com] 
&gt; Sent: Thursday, October 08, 2009 4:16 PM
&gt; To: embperl@perl.apache.org
&gt; Subject: ERR: 9999: Error (no description) Unstructured forward jump
&gt; 
&gt; Hello!
&gt; 
&gt; I have Apache2.2 with mod_perl and Embperl2.3. The following 
&gt; script does not work:
&gt; 	
&gt; &lt;!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN&gt;
&gt; &lt;HTML&gt;
&gt; &lt;HEAD&gt;
&gt;      &lt;TITLE&gt;Test&lt;/TITLE&gt;
&gt; &lt;/HEAD&gt;
&gt; &lt;BODY&gt;
&gt;      [-
&gt;          @array = (1,2,3,4,5,6,7,8);
&gt;          $num = scalar @array;
&gt;          $i = 0;
&gt;      -]
&gt;      &lt;TABLE BORDER=0 CELLPADDING=0 CELLSPACING=10&gt;
&gt;          [$ while ($i &lt; $num) $]
&gt; 
&gt;              [$ if (($i % 2) == 0) $]
&gt;                  &lt;TR&gt;
&gt;              [$ endif $]
&gt; 
&gt;                  &lt;TD&gt; [+ $array[$i] +] &lt;/TD&gt;
&gt; 
&gt;              [$ if (($i % 2 == 1) || ($num - 1 == $i)) $]
&gt;                  &lt;/TR&gt;
&gt;              [$ endif $]
&gt; 
&gt;              [- $i++ -]
&gt;          [$ endwhile $]
&gt;      &lt;/TABLE&gt;
&gt; &lt;/BODY&gt;
&gt; &lt;/HTML&gt;
&gt; 
&gt; Apache give empty page and in error-log of apache I see the 
&gt; following string:
&gt; [746]ERR:  9999:  Error (no description) Unstructured forward 
&gt; jump, /usr/local/www/apache22/data/test1.epl Line 14 -&gt; 
&gt; Line 18
&gt; 
&gt; Can anybody help me?
&gt; 
&gt; -- 
&gt; George Piskorsky
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; 
&gt; 
&gt; The following line is added for your protection and will be 
&gt; used for analysis if this message is reported as spam: 
&gt; (Raytheon Analysis: IP=140.211.11.3; 
&gt; e-from=embperl-return-8771-eg=raytheon.com@perl.apache.org; 
&gt; from=david.g.williams@nasa.gov; date=Oct 8, 2009 8:43:22 PM; 
&gt; subject=RE: 9999: Error (no description) Unstructured forward jump)
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; 
&gt; 

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: 9999: Error (no description) Unstructured forward jump</title>
<author><name>Ben Kim &lt;benik9@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c150191.18180.qm@web32805.mail.mud.yahoo.com%3e"/>
<id>urn:uuid:%3c150191-18180-qm@web32805-mail-mud-yahoo-com%3e</id>
<updated>2009-10-12T16:57:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I guess it won't complain if you can run the loops and assemble an output table string, inside
a [-  -] block,  and then output the obtained string with [+$table+].
The code will be messier and cgi-like but it can be one alternative, in case you want to keep
the processing logic.


Ben Kim


----- Original Message ----
From: Ed Grimm &lt;ed_grimm@raytheon.com&gt;
To: George Piskorsky &lt;george@piskorsky.com&gt;; embperl@perl.apache.org
Sent: Fri, October 9, 2009 8:36:39 AM
Subject: Re: 9999: Error (no description) Unstructured forward jump

Actually, it wouldn't generate imbalanced tags - the final if has additional logic to balance
the last row - but it does trigger EmbPerl's imbalanced tag detection anyway.  Either generate
one row per loop iteratiom or turn off EmbPerl's table parsing.  Since that loop will probably
run faster unrolled once (so there's only one if check in it), and your table should have
balanced rows anyway (put the if check on the *contents* of the second &lt;TD&gt;, rather
than eliminating the whole element), I strongly recommend the former approach.


----- Original Message -----
From: "Williams, David G. (HQ-JF000)[INDYNE INC]" [david.g.williams@nasa.gov]
Sent: 10/08/2009 03:41 PM EST
To: George Piskorsky &lt;george@piskorsky.com&gt;; "embperl@perl.apache.org" &lt;embperl@perl.apache.org&gt;
Subject: RE: 9999: Error (no description) Unstructured forward jump



It is complaining because your code would create unbalanced &lt;TR&gt;&lt;/TR&gt; tags.  Why
are you writing &lt;TR&gt; when the modulus is 0 but writing &lt;/TR&gt; if modulus is 1?
 I think you should redesign your code.

-----Original Message-----
From: George Piskorsky [mailto:george@piskorsky.com]
Sent: Thursday, October 08, 2009 4:16 PM
To: embperl@perl.apache.org
Subject: ERR: 9999: Error (no description) Unstructured forward jump

Hello!

I have Apache2.2 with mod_perl and Embperl2.3. The following script does not work:

&lt;!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
     &lt;TITLE&gt;Test&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
     [-
         @array = (1,2,3,4,5,6,7,8);
         $num = scalar @array;
         $i = 0;
     -]
     &lt;TABLE BORDER=0 CELLPADDING=0 CELLSPACING=10&gt;
         [$ while ($i &lt; $num) $]

             [$ if (($i % 2) == 0) $]
                 &lt;TR&gt;
             [$ endif $]

                 &lt;TD&gt; [+ $array[$i] +] &lt;/TD&gt;

             [$ if (($i % 2 == 1) || ($num - 1 == $i)) $]
                 &lt;/TR&gt;
             [$ endif $]

             [- $i++ -]
         [$ endwhile $]
     &lt;/TABLE&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;

Apache give empty page and in error-log of apache I see the following string:
[746]ERR:  9999:  Error (no description) Unstructured forward jump, /usr/local/www/apache22/data/test1.epl
Line 14 -&gt;
Line 18

Can anybody help me?

--
George Piskorsky


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


The following line is added for your protection and will be used for analysis if this message
is reported as spam: (Raytheon Analysis: IP=140.211.11.3; e-from=embperl-return-8771-eg=raytheon.com@perl.apache.org;
from=david.g.williams@nasa.gov; date=Oct 8, 2009 8:43:22 PM; subject=RE: 9999: Error (no description)
Unstructured forward jump)

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

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: 9999: Error (no description) Unstructured forward jump</title>
<author><name>Ed Grimm &lt;ed_grimm@raytheon.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3cOF8A390C85.9B51317D-ON8525764A.004AC454@mck.us.ray.com%3e"/>
<id>urn:uuid:%3cOF8A390C85-9B51317D-ON8525764A-004AC454@mck-us-ray-com%3e</id>
<updated>2009-10-09T13:36:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Actually, it wouldn't generate imbalanced tags - the final if has additional logic to balance
the last row - but it does trigger EmbPerl's imbalanced tag detection anyway.  Either generate
one row per loop iteratiom or turn off EmbPerl's table parsing.  Since that loop will probably
run faster unrolled once (so there's only one if check in it), and your table should have
balanced rows anyway (put the if check on the *contents* of the second &lt;TD&gt;, rather
than eliminating the whole element), I strongly recommend the former approach.


----- Original Message -----
From: "Williams, David G. (HQ-JF000)[INDYNE INC]" [david.g.williams@nasa.gov]
Sent: 10/08/2009 03:41 PM EST
To: George Piskorsky &lt;george@piskorsky.com&gt;; "embperl@perl.apache.org" &lt;embperl@perl.apache.org&gt;
Subject: RE: 9999: Error (no description) Unstructured forward jump



It is complaining because your code would create unbalanced &lt;TR&gt;&lt;/TR&gt; tags.  Why
are you writing &lt;TR&gt; when the modulus is 0 but writing &lt;/TR&gt; if modulus is 1?
 I think you should redesign your code.

-----Original Message-----
From: George Piskorsky [mailto:george@piskorsky.com] 
Sent: Thursday, October 08, 2009 4:16 PM
To: embperl@perl.apache.org
Subject: ERR: 9999: Error (no description) Unstructured forward jump

Hello!

I have Apache2.2 with mod_perl and Embperl2.3. The following script does not work:
	
&lt;!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
     &lt;TITLE&gt;Test&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
     [-
         @array = (1,2,3,4,5,6,7,8);
         $num = scalar @array;
         $i = 0;
     -]
     &lt;TABLE BORDER=0 CELLPADDING=0 CELLSPACING=10&gt;
         [$ while ($i &lt; $num) $]

             [$ if (($i % 2) == 0) $]
                 &lt;TR&gt;
             [$ endif $]

                 &lt;TD&gt; [+ $array[$i] +] &lt;/TD&gt;

             [$ if (($i % 2 == 1) || ($num - 1 == $i)) $]
                 &lt;/TR&gt;
             [$ endif $]

             [- $i++ -]
         [$ endwhile $]
     &lt;/TABLE&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;

Apache give empty page and in error-log of apache I see the following string:
[746]ERR:  9999:  Error (no description) Unstructured forward jump, /usr/local/www/apache22/data/test1.epl
Line 14 -&gt; 
Line 18

Can anybody help me?

-- 
George Piskorsky


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


The following line is added for your protection and will be used for analysis if this message
is reported as spam: (Raytheon Analysis: IP=140.211.11.3; e-from=embperl-return-8771-eg=raytheon.com@perl.apache.org;
from=david.g.williams@nasa.gov; date=Oct 8, 2009 8:43:22 PM; subject=RE: 9999: Error (no description)
Unstructured forward jump)

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: 9999: Error (no description) Unstructured forward jump</title>
<author><name>&quot;Williams, David G. (HQ-JF000)[INDYNE INC]&quot; &lt;david.g.williams@nasa.gov&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c987580882278F748BF7FC22F0A4D7CFB2E28981016@NDMSSCC03.ndc.nasa.gov%3e"/>
<id>urn:uuid:%3c987580882278F748BF7FC22F0A4D7CFB2E28981016@NDMSSCC03-ndc-nasa-gov%3e</id>
<updated>2009-10-08T20:41:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
It is complaining because your code would create unbalanced &lt;TR&gt;&lt;/TR&gt; tags.  Why
are you writing &lt;TR&gt; when the modulus is 0 but writing &lt;/TR&gt; if modulus is 1?
 I think you should redesign your code.

-----Original Message-----
From: George Piskorsky [mailto:george@piskorsky.com] 
Sent: Thursday, October 08, 2009 4:16 PM
To: embperl@perl.apache.org
Subject: ERR: 9999: Error (no description) Unstructured forward jump

Hello!

I have Apache2.2 with mod_perl and Embperl2.3. The following script does not work:
	
&lt;!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
     &lt;TITLE&gt;Test&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
     [-
         @array = (1,2,3,4,5,6,7,8);
         $num = scalar @array;
         $i = 0;
     -]
     &lt;TABLE BORDER=0 CELLPADDING=0 CELLSPACING=10&gt;
         [$ while ($i &lt; $num) $]

             [$ if (($i % 2) == 0) $]
                 &lt;TR&gt;
             [$ endif $]

                 &lt;TD&gt; [+ $array[$i] +] &lt;/TD&gt;

             [$ if (($i % 2 == 1) || ($num - 1 == $i)) $]
                 &lt;/TR&gt;
             [$ endif $]

             [- $i++ -]
         [$ endwhile $]
     &lt;/TABLE&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;

Apache give empty page and in error-log of apache I see the following string:
[746]ERR:  9999:  Error (no description) Unstructured forward jump, /usr/local/www/apache22/data/test1.epl
Line 14 -&gt; 
Line 18

Can anybody help me?

-- 
George Piskorsky


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


</pre>
</div>
</content>
</entry>
<entry>
<title>ERR: 9999: Error (no description) Unstructured forward jump</title>
<author><name>George Piskorsky &lt;george@piskorsky.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c4ACE4899.9010207@piskorsky.com%3e"/>
<id>urn:uuid:%3c4ACE4899-9010207@piskorsky-com%3e</id>
<updated>2009-10-08T20:16:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello!

I have Apache2.2 with mod_perl and Embperl2.3. The following script does not work:
	
&lt;!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
     &lt;TITLE&gt;Test&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
     [-
         @array = (1,2,3,4,5,6,7,8);
         $num = scalar @array;
         $i = 0;
     -]
     &lt;TABLE BORDER=0 CELLPADDING=0 CELLSPACING=10&gt;
         [$ while ($i &lt; $num) $]

             [$ if (($i % 2) == 0) $]
                 &lt;TR&gt;
             [$ endif $]

                 &lt;TD&gt; [+ $array[$i] +] &lt;/TD&gt;

             [$ if (($i % 2 == 1) || ($num - 1 == $i)) $]
                 &lt;/TR&gt;
             [$ endif $]

             [- $i++ -]
         [$ endwhile $]
     &lt;/TABLE&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;

Apache give empty page and in error-log of apache I see the following string:
[746]ERR:  9999:  Error (no description) Unstructured forward jump, /usr/local/www/apache22/data/test1.epl
Line 14 -&gt; 
Line 18

Can anybody help me?

-- 
George Piskorsky


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Compiling Embperl</title>
<author><name>Ed Grimm &lt;edgrimm@dsblade00.gar.us.ray.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3cPine.GSO.4.58.0910072050010.20958@dsblade00%3e"/>
<id>urn:uuid:%3cPine-GSO-4-58-0910072050010-20958@dsblade00%3e</id>
<updated>2009-10-07T21:09:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
All perl packages which are provided by your distribution should put
their perl modules in one of the vendor_perl directories (excluding, of
course, the perl package itself and any direct components thereof, which
should put things in the core directories.)

The easiest manner one could make it not work in this fashion would be
to utilize a mod_perl package from someone other than the distribution
vendor which places its files elsewhere.

Perl silently ignores any @INC directories which do not exist.  So long
as the files it is looking for are in a directory which does exist and
is included in @INC, you should be good.

Presence of mind check: do you need a mod_perl-dev package or something
like that?  I'm pretty sure you would if you were running Ubuntu, as the
normal Ubuntu mentality is to move things only needed to compile other
things and are not specifically compiling tools themselves into -dev
packages.

Ed

On Tue, 6 Oct 2009, Soltan Safavi wrote:

&gt; Hi Gerald
&gt;
&gt; I believe mod_perl is installed correctly.
&gt; Here I have the content of the @INC
&gt;
&gt; /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
&gt; /usr/local/lib/perl5/site_perl/5.10.0
&gt; /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
&gt; /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
&gt; /usr/lib/perl5/5.10.0/i386-linux-thread-multi
&gt; /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl
&gt; .
&gt; but paths with site_perl are missing on my system.
&gt; Could this be the source of the problem?
&gt;
&gt; Thank you
&gt;
&gt; Soltan
&gt;
&gt;
&gt;
&gt; Gerald Richter wrote:
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; Apache::src is part of mod_perl 1, since you use mod_perl 2, it seems that
&gt;&gt; mod_perl 2 is not detected by Makefile.PL. Maybe it is not fully/correctly
&gt;&gt; installed?
&gt;&gt;
&gt;&gt; Gerald
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;&gt; -----Original Message-----
&gt;&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt;&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt;&gt;&gt; To: embperl@perl.apache.org
&gt;&gt;&gt; Subject: Compiling Embperl
&gt;&gt;&gt;
&gt;&gt;&gt; Hi
&gt;&gt;&gt;
&gt;&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I get the
&gt;&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt;&gt;&gt; I am using:
&gt;&gt;&gt; httpd-2.2.10
&gt;&gt;&gt; mod_perl-2.0.4
&gt;&gt;&gt; perl-5.10.0
&gt;&gt;&gt;
&gt;&gt;&gt; I appreciate your help
&gt;&gt;&gt;
&gt;&gt;&gt; Soltan
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Compiling Embperl</title>
<author><name>Soltan Safavi &lt;soltan@mycopa.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c4ACBBCDD.2060107@mycopa.com%3e"/>
<id>urn:uuid:%3c4ACBBCDD-2060107@mycopa-com%3e</id>
<updated>2009-10-06T21:55:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Gerald

I believe mod_perl is installed correctly.
Here I have the content of the @INC

/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl
.
but paths with site_perl are missing on my system.
Could this be the source of the problem?

Thank you

Soltan



Gerald Richter wrote:
&gt; Hi,
&gt;
&gt; Apache::src is part of mod_perl 1, since you use mod_perl 2, it seems that
&gt; mod_perl 2 is not detected by Makefile.PL. Maybe it is not fully/correctly
&gt; installed?
&gt;
&gt; Gerald
&gt;
&gt;
&gt;
&gt;   
&gt;&gt; -----Original Message-----
&gt;&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt;&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt;&gt; To: embperl@perl.apache.org
&gt;&gt; Subject: Compiling Embperl
&gt;&gt;
&gt;&gt; Hi
&gt;&gt;
&gt;&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I get the
&gt;&gt; error "Can't locate Apache/src.pm in @INC"
&gt;&gt; I am using:
&gt;&gt; httpd-2.2.10
&gt;&gt; mod_perl-2.0.4
&gt;&gt; perl-5.10.0
&gt;&gt;
&gt;&gt; I appreciate your help
&gt;&gt;
&gt;&gt; Soltan
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;     
&gt;
&gt;   

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Compiling Embperl</title>
<author><name>Gerald Richter &lt;richter@ecos.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200910.mbox/%3c3C7758911C324C59BA56CA3D8D90C4B2@w.ecos.de%3e"/>
<id>urn:uuid:%3c3C7758911C324C59BA56CA3D8D90C4B2@w-ecos-de%3e</id>
<updated>2009-10-02T09:38:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Apache::src is part of mod_perl 1, since you use mod_perl 2, it seems that
mod_perl 2 is not detected by Makefile.PL. Maybe it is not fully/correctly
installed?

Gerald



&gt; -----Original Message-----
&gt; From: Soltan Safavi [mailto:soltan@mycopa.com]
&gt; Sent: Wednesday, September 30, 2009 11:11 PM
&gt; To: embperl@perl.apache.org
&gt; Subject: Compiling Embperl
&gt;
&gt; Hi
&gt;
&gt; I am trying to build Embperl 2.2.0 on Fedora 10 and I get the
&gt; error "Can't locate Apache/src.pm in @INC"
&gt; I am using:
&gt; httpd-2.2.10
&gt; mod_perl-2.0.4
&gt; perl-5.10.0
&gt;
&gt; I appreciate your help
&gt;
&gt; Soltan
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Compiling Embperl</title>
<author><name>Soltan Safavi &lt;soltan@mycopa.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c4AC3C948.3010405@mycopa.com%3e"/>
<id>urn:uuid:%3c4AC3C948-3010405@mycopa-com%3e</id>
<updated>2009-09-30T21:10:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi

I am trying to build Embperl 2.2.0 on Fedora 10 and I get the error 
"Can't locate Apache/src.pm in @INC"
I am using:
httpd-2.2.10
mod_perl-2.0.4
perl-5.10.0
   
I appreciate your help

Soltan


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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Gerald: please update module to include patch for CGI.pm 3.38+</title>
<author><name>&quot;Andrew O'Brien&quot; &lt;andrewo@oriel.com.au&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3cD9A099BA6963E94484AAC5855328B271023719EA@waldorf.oriel.com.au%3e"/>
<id>urn:uuid:%3cD9A099BA6963E94484AAC5855328B271023719EA@waldorf-oriel-com-au%3e</id>
<updated>2009-09-20T23:21:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

&gt; Richter, Gerald wrote:
&gt; &gt; The best would be, if we had a packages maintainers for the main 
&gt; &gt; distrubtions (like Debian, SUSE, RedHat etc.) which knows 
&gt; about their 
&gt; &gt; distribution (because I do not know all the specifica of all these 
&gt; &gt; distributions)
&gt; 
&gt; Wasn't Angus Lees doing that for Debian?

Angus Lees and Gunnar Wolf:
http://packages.debian.org/lenny/libembperl-perl

&gt; I use Debian, but I have never gotten into the Debian build and test 
&gt; process. I'm an experienced developer, but there seems to be another 
&gt; level of really "hard core" developer that is way above me in 
&gt; terms of 
&gt; knowledge - they seem to know all the ins and outs of system 
&gt; level stuff 
&gt; and compiler switches etc which I've just never had to learn, 
&gt; so haven't.

The current stable distribution (lenny) has embperl 2.2.0 and CGI.pm
3.29 (part of the core perl-modules package). The latest versions of
perl-modules in the testing and unstable distributions only include
&lt;3.33 of CGI.pm in the core group (I think - guess from changelogs) so
it looks like things will keep being easily compilable on stock debian.

However, there seems to be a specific package for a more up to date
CGI.pm: libcgi-pm-perl. The description of this package recommends not
using it unless you need POSTDATA but at least you then have the ability
to test builds against the newer combination.


Whilst I've built local packages for the debian systems I maintain to
incorporate some minor bugfixes (patches were posted to the list a while
back) I've never really needed to go into the lower level XS that this
type of packaging seems to require.

I'm more than happy to play with the debian uscan/uupdate tools to see
how far the automated tools get me but currently I don't have a single
system that either has the later versions of CGI.pm standard or requires
it so it won't be something happening in the next week or so I'm afraid.

Cheers,

Andrew

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Gerald: please update module to include patch for CGI.pm 3.38+</title>
<author><name>Neil Gunton &lt;neil@nilspace.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c4AB66043.5050305@nilspace.com%3e"/>
<id>urn:uuid:%3c4AB66043-5050305@nilspace-com%3e</id>
<updated>2009-09-20T17:02:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Richter, Gerald wrote:
&gt; The best would be, if we had a packages maintainers for the main 
&gt; distrubtions (like Debian, SUSE, RedHat etc.) which knows about their 
&gt; distribution (because I do not know all the specifica of all these 
&gt; distributions)

Wasn't Angus Lees doing that for Debian?

I think I tried emailing him a while back, but got no reply.

I use Debian, but I have never gotten into the Debian build and test 
process. I'm an experienced developer, but there seems to be another 
level of really "hard core" developer that is way above me in terms of 
knowledge - they seem to know all the ins and outs of system level stuff 
and compiler switches etc which I've just never had to learn, so haven't.

But if there is nobody else around who can do this package maintenance 
for Embperl/Debian, then I guess I could start trying to learn... it's 
important enough to me, since I use both extensively. But it might make 
sense for someone who had access to more hardware variations than I do 
(Debian works on many different architectures, after all). Eh, I really 
know very little about that stuff. Software got very very complicated! 
It was so much simpler back when I was doing 6502 assembler.

Neil

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Gerald: please update module to include patch for CGI.pm 3.38+</title>
<author><name>Chris Denman &lt;chrisjdenman@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c96a5d9a30909200745o614e2351y71460d0283ccaff0@mail.gmail.com%3e"/>
<id>urn:uuid:%3c96a5d9a30909200745o614e2351y71460d0283ccaff0@mail-gmail-com%3e</id>
<updated>2009-09-20T14:45:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Gerald,

Thanks for the advice.

What I may do is try to install again from scratch on Centos 5 and
show you my errors as I go.  That is, of course if you are OK with
this!  There seems to be a lot of virtual dedicated server companies
offering Centos 5 with Plesk so I am sure others would benefit.

Great you're back!  Really looking forward to your latest offerings too.

Maybe the community could get together and get some sort of forum/site
going where we can all talk about our projects and problems?  I am
happy to offer hosting for this.

Chris

2009/9/20 Richter, Gerald &lt;gerald.richter@ecos.de&gt;:
&gt; Hi Chris,
&gt;
&gt; I think Neil has done a good explaination what can be done, so that a site
&gt; scales better.
&gt;
&gt; Regardings the installation issues. The Problem is, that because Embperl
&gt; work very close togehther with Apache and mod_perl, it needs to be compiled
&gt; with the same compiler settings as Apache and mod_perl. The point is that
&gt; not every distribution, has this information at the right place (or it is
&gt; not there at all). The Makefile.PL tries it's best to figure out which
&gt; options to use, but it does not work all the time.
&gt;
&gt; The best would be, if we had a packages maintainers for the main
&gt; distrubtions (like Debian, SUSE, RedHat etc.) which knows about their
&gt; distribution (because I do not know all the specifica of all these
&gt; distributions)
&gt;
&gt; Gerald
&gt;
&gt;
&gt; 2009/9/18 Chris Denman &lt;chrisjdenman@googlemail.com&gt;
&gt;&gt;
&gt;&gt; Hi Gerald,
&gt;&gt;
&gt;&gt; For someone like me who is more of an enthusiast rather than expert (I
&gt;&gt; play and use a lot of trial and error) I find installing Embperl
&gt;&gt; really confusing.
&gt;&gt;
&gt;&gt; Maybe it's just me, maybe I am missing the point.  But for some reason
&gt;&gt; it can take me a few days of bashing around to get it all to work
&gt;&gt; properly (and even then I don't think it is!).
&gt;&gt;
&gt;&gt; An example would be that there's a lot of virtual servers popping up
&gt;&gt; these days.  I just purchased a virtual server with CentOS 5 with
&gt;&gt; Plesk 9 (64-bit).  It took days to get Embperl working under mod_perl.
&gt;&gt;  Can't even remember exactly why as it's all a blur now!  All I
&gt;&gt; remember is that the server was all pre-installed with the very latest
&gt;&gt; versions of Apache and mod_perl.  But I would get errors everywhere.
&gt;&gt; I would uninstall things, reinstall things.  I would never be able to
&gt;&gt; find apache source.  I just think that brute force got me there in the
&gt;&gt; end.
&gt;&gt;
&gt;&gt; Now I have it working, I am finding memory management temperamental.
&gt;&gt; Mucking around with Max_Servers and so on would drive me insane.  Too
&gt;&gt; low and the server would hang whilst requests would queue up, too high
&gt;&gt; and I'd run out of memory.  Most virtual servers give you 1Mb to play
&gt;&gt; with (with 4mb burstable, whatever that means!).
&gt;&gt;
&gt;&gt; Is there any master guru out there that could put together some sort
&gt;&gt; of manual for real-life scenarios?
&gt;&gt;
&gt;&gt; I made a utility for Twitter that went viral for a week - my server
&gt;&gt; took 30,000 hits in a few hours.  Of course, it crashed.  I went away
&gt;&gt; and tried everything to get it working under this sort of load.  Thing
&gt;&gt; is, the traffic slowed and I'll never know if my new setup with hold
&gt;&gt; up.  Can I expect, say, 200 concurrent users on a Embperl website with
&gt;&gt; only 1Mb of Ram?  If so, what's the best Apache configuration?
&gt;&gt;
&gt;&gt; Sometimes I'd make one request and it'd be rapid.  Then the next
&gt;&gt; request would hang.
&gt;&gt;
&gt;&gt; I understand that I should have a good understanding on how everything
&gt;&gt; works from the ground up - but if I was that good, I would have made
&gt;&gt; my own Embperl!
&gt;&gt;
&gt;&gt; Please don't take any of this the wrong way - I absolutely LOVE Embper
&gt;&gt; (I can't code anymore without it!).  That's why I get so frustrated
&gt;&gt; when I can't get it all working right.  I can see the potential - but
&gt;&gt; can never seem to find it.
&gt;&gt;
&gt;&gt; Can't wait for any new versions....!
&gt;&gt;
&gt;&gt; Chris Denman
&gt;&gt;
&gt;&gt;
&gt;&gt; 2009/9/18 Richter, Gerald &lt;richter@ecos.de&gt;:
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt; 2009/9/17 Michael Stevens &lt;michael.stevens@dianomi.com&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Gerald,
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; I've attached my diff below. It's mainly from the previous mailing list
&gt;&gt; &gt;&gt; post:
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Hoping to see a new release soon?
&gt;&gt; &gt;
&gt;&gt; &gt; Thanks for the patch. I have now not so much workload anymore and hope
&gt;&gt; &gt; to
&gt;&gt; &gt; get out a new version during the next weeks.
&gt;&gt; &gt;
&gt;&gt; &gt; The main work is, that it not only have to work with the newest version
&gt;&gt; &gt; of
&gt;&gt; &gt; Perl , mod_perl and Apache, but with a lot of  older versions and
&gt;&gt; &gt; combinations of them
&gt;&gt; &gt;
&gt;&gt; &gt; Gerald
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Gerald: please update module to include patch for CGI.pm 3.38+</title>
<author><name>&quot;Richter, Gerald&quot; &lt;gerald.richter@ecos.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c69f953720909200524x11b31dara3fc90e3aa3fd941@mail.gmail.com%3e"/>
<id>urn:uuid:%3c69f953720909200524x11b31dara3fc90e3aa3fd941@mail-gmail-com%3e</id>
<updated>2009-09-20T12:24:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Chris,

I think Neil has done a good explaination what can be done, so that a site
scales better.

Regardings the installation issues. The Problem is, that because Embperl
work very close togehther with Apache and mod_perl, it needs to be compiled
with the same compiler settings as Apache and mod_perl. The point is that
not every distribution, has this information at the right place (or it is
not there at all). The Makefile.PL tries it's best to figure out which
options to use, but it does not work all the time.

The best would be, if we had a packages maintainers for the main
distrubtions (like Debian, SUSE, RedHat etc.) which knows about their
distribution (because I do not know all the specifica of all these
distributions)

Gerald


2009/9/18 Chris Denman &lt;chrisjdenman@googlemail.com&gt;

&gt; Hi Gerald,
&gt;
&gt; For someone like me who is more of an enthusiast rather than expert (I
&gt; play and use a lot of trial and error) I find installing Embperl
&gt; really confusing.
&gt;
&gt; Maybe it's just me, maybe I am missing the point.  But for some reason
&gt; it can take me a few days of bashing around to get it all to work
&gt; properly (and even then I don't think it is!).
&gt;
&gt; An example would be that there's a lot of virtual servers popping up
&gt; these days.  I just purchased a virtual server with CentOS 5 with
&gt; Plesk 9 (64-bit).  It took days to get Embperl working under mod_perl.
&gt;  Can't even remember exactly why as it's all a blur now!  All I
&gt; remember is that the server was all pre-installed with the very latest
&gt; versions of Apache and mod_perl.  But I would get errors everywhere.
&gt; I would uninstall things, reinstall things.  I would never be able to
&gt; find apache source.  I just think that brute force got me there in the
&gt; end.
&gt;
&gt; Now I have it working, I am finding memory management temperamental.
&gt; Mucking around with Max_Servers and so on would drive me insane.  Too
&gt; low and the server would hang whilst requests would queue up, too high
&gt; and I'd run out of memory.  Most virtual servers give you 1Mb to play
&gt; with (with 4mb burstable, whatever that means!).
&gt;
&gt; Is there any master guru out there that could put together some sort
&gt; of manual for real-life scenarios?
&gt;
&gt; I made a utility for Twitter that went viral for a week - my server
&gt; took 30,000 hits in a few hours.  Of course, it crashed.  I went away
&gt; and tried everything to get it working under this sort of load.  Thing
&gt; is, the traffic slowed and I'll never know if my new setup with hold
&gt; up.  Can I expect, say, 200 concurrent users on a Embperl website with
&gt; only 1Mb of Ram?  If so, what's the best Apache configuration?
&gt;
&gt; Sometimes I'd make one request and it'd be rapid.  Then the next
&gt; request would hang.
&gt;
&gt; I understand that I should have a good understanding on how everything
&gt; works from the ground up - but if I was that good, I would have made
&gt; my own Embperl!
&gt;
&gt; Please don't take any of this the wrong way - I absolutely LOVE Embper
&gt; (I can't code anymore without it!).  That's why I get so frustrated
&gt; when I can't get it all working right.  I can see the potential - but
&gt; can never seem to find it.
&gt;
&gt; Can't wait for any new versions....!
&gt;
&gt; Chris Denman
&gt;
&gt;
&gt; 2009/9/18 Richter, Gerald &lt;richter@ecos.de&gt;:
&gt; &gt;
&gt; &gt;
&gt; &gt; 2009/9/17 Michael Stevens &lt;michael.stevens@dianomi.com&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Gerald,
&gt; &gt;&gt;
&gt; &gt;&gt; I've attached my diff below. It's mainly from the previous mailing list
&gt; &gt;&gt; post:
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Hoping to see a new release soon?
&gt; &gt;
&gt; &gt; Thanks for the patch. I have now not so much workload anymore and hope to
&gt; &gt; get out a new version during the next weeks.
&gt; &gt;
&gt; &gt; The main work is, that it not only have to work with the newest version
&gt; of
&gt; &gt; Perl , mod_perl and Apache, but with a lot of  older versions and
&gt; &gt; combinations of them
&gt; &gt;
&gt; &gt; Gerald
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>welcome back Gerald</title>
<author><name>hero fish &lt;allen@netherrealm.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c20090918191656.GC12463@netherrealm.net%3e"/>
<id>urn:uuid:%3c20090918191656-GC12463@netherrealm-net%3e</id>
<updated>2009-09-18T19:16:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Gerald,

Just a quick note to say that I am also very glad to see you back, not only
for my personal reasons (I use Embperl for my band's website) but also
because it's a great piece of software and it would be a big shame if it got
stuck in the past.

-Allen

On Fri, Sep 18, 2009 at 09:10:59AM -0700, Neil Gunton wrote:
&gt; Chris Denman wrote:
&gt; &gt;I made a utility for Twitter that went viral for a week - my server
&gt; &gt;took 30,000 hits in a few hours.  Of course, it crashed.  I went away
&gt; &gt;and tried everything to get it working under this sort of load.  Thing
&gt; &gt;is, the traffic slowed and I'll never know if my new setup with hold
&gt; &gt;up.  Can I expect, say, 200 concurrent users on a Embperl website with
&gt; &gt;only 1Mb of Ram?  If so, what's the best Apache configuration?
&gt; 
&gt; Does every single request need to be handled by Embperl, or could you 
&gt; perhaps cache some of the pages? I use a two level caching reverse proxy 
&gt; Apache configuration on my server. There are basically two installations 
&gt; of Apache - one with mod_proxy, which serves all static content (images 
&gt; mostly). It passes all requests for dynamic content to the "backend" 
&gt; Apache process (running on the same server) which has mod_perl and 
&gt; embperl. The front end apache can be very lightweight, as it doesn't 
&gt; have mod_perl etc it doesn't use much memory, and so you can have a 
&gt; whole bunch of them running. And if you use mod_cache, then you can also 
&gt; cache the results that come from the backend embperl server. So that 
&gt; means that if you're careful about setting expiration times for your 
&gt; embperl content, then you can substantially lighten the load, and still 
&gt; be able to handle a whole bunch of concurrent users without breaking a 
&gt; sweat.
&gt; 
&gt; You usually find that not every single "dynamic" page actually has to be 
&gt; generated anew for every single request. For example, on my community 
&gt; website, there are pages which are "what's new" indexes of content. 
&gt; These are set to have a cache expiry of one minute. So if a whole bunch 
&gt; of people hit that page, most of those requests will be served by the 
&gt; front end, until that version expires (next minute). So the backend is 
&gt; only hit for that page once per minute. It gets a bit more complicated 
&gt; if you have users with cookies, but basically I only set 'no-cache' for 
&gt; those parts of the site that are definitely needing Embperl per-request 
&gt; (e.g. editing forms, user-specific areas etc).
&gt; 
&gt; Caching is how you handle scaling - most websites go down because they 
&gt; handle everything with the dynamic engine, and then one day they get hit 
&gt; by a bunch of people and "bang". Early on I had a couple of my articles 
&gt; go to the front page of slashdot. As soon as I put in the caching 
&gt; architecture, my server was able to handle slashdottings without 
&gt; breaking a sweat. I'd get upward of 40,000 hits within a few hours, and 
&gt; the server was just basically idling along, since most of the hits were 
&gt; effectively being served as static content from cache - even though the 
&gt; article was dynamically generated by embperl.
&gt; 
&gt; &gt;Can't wait for any new versions....!
&gt; 
&gt; Me too - I'm so glad to see Gerald back on the list. I have based my 
&gt; entire website development around Embperl (hundreds of thousands of 
&gt; lines of code now, and going on for ten years of development). I was 
&gt; afraid that Embperl was abandonware, since I'd seen the embperl list 
&gt; traffic dwindle and questions go unanswered. I really hope to see 
&gt; embperl rekindled. If/when my business takes off (of course it will, any 
&gt; day now!) then I hope to be able to send some appreciation Gerald's way.
&gt; 
&gt; Neil
&gt; http://www.neilgunton.com/
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt; 

-- 

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Gerald: please update module to include patch for CGI.pm 3.38+</title>
<author><name>Neil Gunton &lt;neil@nilspace.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c4AB3B113.9040901@nilspace.com%3e"/>
<id>urn:uuid:%3c4AB3B113-9040901@nilspace-com%3e</id>
<updated>2009-09-18T16:10:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Chris Denman wrote:
&gt; I made a utility for Twitter that went viral for a week - my server
&gt; took 30,000 hits in a few hours.  Of course, it crashed.  I went away
&gt; and tried everything to get it working under this sort of load.  Thing
&gt; is, the traffic slowed and I'll never know if my new setup with hold
&gt; up.  Can I expect, say, 200 concurrent users on a Embperl website with
&gt; only 1Mb of Ram?  If so, what's the best Apache configuration?

Does every single request need to be handled by Embperl, or could you 
perhaps cache some of the pages? I use a two level caching reverse proxy 
Apache configuration on my server. There are basically two installations 
of Apache - one with mod_proxy, which serves all static content (images 
mostly). It passes all requests for dynamic content to the "backend" 
Apache process (running on the same server) which has mod_perl and 
embperl. The front end apache can be very lightweight, as it doesn't 
have mod_perl etc it doesn't use much memory, and so you can have a 
whole bunch of them running. And if you use mod_cache, then you can also 
cache the results that come from the backend embperl server. So that 
means that if you're careful about setting expiration times for your 
embperl content, then you can substantially lighten the load, and still 
be able to handle a whole bunch of concurrent users without breaking a 
sweat.

You usually find that not every single "dynamic" page actually has to be 
generated anew for every single request. For example, on my community 
website, there are pages which are "what's new" indexes of content. 
These are set to have a cache expiry of one minute. So if a whole bunch 
of people hit that page, most of those requests will be served by the 
front end, until that version expires (next minute). So the backend is 
only hit for that page once per minute. It gets a bit more complicated 
if you have users with cookies, but basically I only set 'no-cache' for 
those parts of the site that are definitely needing Embperl per-request 
(e.g. editing forms, user-specific areas etc).

Caching is how you handle scaling - most websites go down because they 
handle everything with the dynamic engine, and then one day they get hit 
by a bunch of people and "bang". Early on I had a couple of my articles 
go to the front page of slashdot. As soon as I put in the caching 
architecture, my server was able to handle slashdottings without 
breaking a sweat. I'd get upward of 40,000 hits within a few hours, and 
the server was just basically idling along, since most of the hits were 
effectively being served as static content from cache - even though the 
article was dynamically generated by embperl.

&gt; Can't wait for any new versions....!

Me too - I'm so glad to see Gerald back on the list. I have based my 
entire website development around Embperl (hundreds of thousands of 
lines of code now, and going on for ten years of development). I was 
afraid that Embperl was abandonware, since I'd seen the embperl list 
traffic dwindle and questions go unanswered. I really hope to see 
embperl rekindled. If/when my business takes off (of course it will, any 
day now!) then I hope to be able to send some appreciation Gerald's way.

Neil
http://www.neilgunton.com/

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Gerald: please update module to include patch for CGI.pm 3.38+</title>
<author><name>Chris Denman &lt;chrisjdenman@googlemail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c96a5d9a30909180235u57c97117mb9da095fd2d599b6@mail.gmail.com%3e"/>
<id>urn:uuid:%3c96a5d9a30909180235u57c97117mb9da095fd2d599b6@mail-gmail-com%3e</id>
<updated>2009-09-18T09:35:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Gerald,

For someone like me who is more of an enthusiast rather than expert (I
play and use a lot of trial and error) I find installing Embperl
really confusing.

Maybe it's just me, maybe I am missing the point.  But for some reason
it can take me a few days of bashing around to get it all to work
properly (and even then I don't think it is!).

An example would be that there's a lot of virtual servers popping up
these days.  I just purchased a virtual server with CentOS 5 with
Plesk 9 (64-bit).  It took days to get Embperl working under mod_perl.
 Can't even remember exactly why as it's all a blur now!  All I
remember is that the server was all pre-installed with the very latest
versions of Apache and mod_perl.  But I would get errors everywhere.
I would uninstall things, reinstall things.  I would never be able to
find apache source.  I just think that brute force got me there in the
end.

Now I have it working, I am finding memory management temperamental.
Mucking around with Max_Servers and so on would drive me insane.  Too
low and the server would hang whilst requests would queue up, too high
and I'd run out of memory.  Most virtual servers give you 1Mb to play
with (with 4mb burstable, whatever that means!).

Is there any master guru out there that could put together some sort
of manual for real-life scenarios?

I made a utility for Twitter that went viral for a week - my server
took 30,000 hits in a few hours.  Of course, it crashed.  I went away
and tried everything to get it working under this sort of load.  Thing
is, the traffic slowed and I'll never know if my new setup with hold
up.  Can I expect, say, 200 concurrent users on a Embperl website with
only 1Mb of Ram?  If so, what's the best Apache configuration?

Sometimes I'd make one request and it'd be rapid.  Then the next
request would hang.

I understand that I should have a good understanding on how everything
works from the ground up - but if I was that good, I would have made
my own Embperl!

Please don't take any of this the wrong way - I absolutely LOVE Embper
(I can't code anymore without it!).  That's why I get so frustrated
when I can't get it all working right.  I can see the potential - but
can never seem to find it.

Can't wait for any new versions....!

Chris Denman


2009/9/18 Richter, Gerald &lt;richter@ecos.de&gt;:
&gt;
&gt;
&gt; 2009/9/17 Michael Stevens &lt;michael.stevens@dianomi.com&gt;
&gt;&gt;
&gt;&gt; Gerald,
&gt;&gt;
&gt;&gt; I've attached my diff below. It's mainly from the previous mailing list
&gt;&gt; post:
&gt;&gt;
&gt;&gt;
&gt;&gt; Hoping to see a new release soon?
&gt;
&gt; Thanks for the patch. I have now not so much workload anymore and hope to
&gt; get out a new version during the next weeks.
&gt;
&gt; The main work is, that it not only have to work with the newest version of
&gt; Perl , mod_perl and Apache, but with a lot of  older versions and
&gt; combinations of them
&gt;
&gt; Gerald
&gt;
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Gerald: please update module to include patch for CGI.pm 3.38+</title>
<author><name>&quot;Richter, Gerald&quot; &lt;richter@ecos.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c69f953720909172153y347027b8o40c7cdc4edcd7d94@mail.gmail.com%3e"/>
<id>urn:uuid:%3c69f953720909172153y347027b8o40c7cdc4edcd7d94@mail-gmail-com%3e</id>
<updated>2009-09-18T04:53:45Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
2009/9/17 Michael Stevens &lt;michael.stevens@dianomi.com&gt;

&gt; Gerald,
&gt;
&gt; I've attached my diff below. It's mainly from the previous mailing list
&gt; post:
&gt;
&gt;
&gt; Hoping to see a new release soon?
&gt;

Thanks for the patch. I have now not so much workload anymore and hope to
get out a new version during the next weeks.

The main work is, that it not only have to work with the newest version of
Perl , mod_perl and Apache, but with a lot of  older versions and
combinations of them

Gerald


</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Sort Keys of Hash Printed via dump</title>
<author><name>&quot;Thompson, John&quot; &lt;jthomp@midwestern.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c848252BABF954D4886DD027D2E1F7350024C9A3A@azglmail1.midwestern.edu%3e"/>
<id>urn:uuid:%3c848252BABF954D4886DD027D2E1F7350024C9A3A@azglmail1-midwestern-edu%3e</id>
<updated>2009-09-17T15:20:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
It worked. Thanks.

-----Original Message-----
From: Gerald Richter [mailto:gerald.richter@ecos.de] 
Sent: Thursday, September 17, 2009 4:41 AM
To: Andrew O'Brien; Thompson, John; embperl@perl.apache.org
Subject: RE: Sort Keys of Hash Printed via dump

Hi,

Since [$ dump $] uses data::dumper, it should be enougth to set

$Data::Dumper::Sortkeys=1;

But I haven't tested it

Gerald


&gt; -----Original Message-----
&gt; From: Andrew O'Brien [mailto:andrewo@oriel.com.au]
&gt; Sent: Thursday, September 03, 2009 5:22 AM
&gt; To: Thompson, John; embperl@perl.apache.org
&gt; Subject: RE: Sort Keys of Hash Printed via dump
&gt;
&gt;
&gt; &gt; -----Original Message-----
&gt; &gt; From: Thompson, John [mailto:jthomp@midwestern.edu]
&gt; &gt; Sent: Thursday, 3 September 2009 6:07 AM
&gt; &gt;
&gt; &gt; Is there any variable that I can set that would tell dump
&gt; to sort the
&gt; &gt; keys of a hash alphabetically (Like Data::Dumper)?
&gt;
&gt; Not as far as I can see from the docs.
&gt;
&gt; But, then again, it's a trivial thing to write your own sub
&gt; that does this. A completely untested example to simulate the
&gt; default behavior :-
&gt;
&gt; [!
&gt;   use Data::Dumper;
&gt;  !]
&gt; [$ sub sorted_dump $]
&gt; &lt;pre&gt;
&gt; [+ do { local $Data::Dumper::Sortkeys=1; Dumper( @_ ); } +]
&gt; &lt;/pre&gt; [$ endsub $]
&gt;
&gt; Cheers,
&gt;
&gt; Andrew
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;
&gt; !DSPAM:416,4a9f37f8255959825358016!
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Sort Keys of Hash Printed via dump</title>
<author><name>Gerald Richter &lt;gerald.richter@ecos.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c13C88C57E5C6954C996E663DE72DE7B3EC493A2849@SRVWINDC4.ecos.local%3e"/>
<id>urn:uuid:%3c13C88C57E5C6954C996E663DE72DE7B3EC493A2849@SRVWINDC4-ecos-local%3e</id>
<updated>2009-09-17T11:41:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

Since [$ dump $] uses data::dumper, it should be enougth to set

$Data::Dumper::Sortkeys=1;

But I haven't tested it

Gerald


&gt; -----Original Message-----
&gt; From: Andrew O'Brien [mailto:andrewo@oriel.com.au]
&gt; Sent: Thursday, September 03, 2009 5:22 AM
&gt; To: Thompson, John; embperl@perl.apache.org
&gt; Subject: RE: Sort Keys of Hash Printed via dump
&gt;
&gt;
&gt; &gt; -----Original Message-----
&gt; &gt; From: Thompson, John [mailto:jthomp@midwestern.edu]
&gt; &gt; Sent: Thursday, 3 September 2009 6:07 AM
&gt; &gt;
&gt; &gt; Is there any variable that I can set that would tell dump
&gt; to sort the
&gt; &gt; keys of a hash alphabetically (Like Data::Dumper)?
&gt;
&gt; Not as far as I can see from the docs.
&gt;
&gt; But, then again, it's a trivial thing to write your own sub
&gt; that does this. A completely untested example to simulate the
&gt; default behavior :-
&gt;
&gt; [!
&gt;   use Data::Dumper;
&gt;  !]
&gt; [$ sub sorted_dump $]
&gt; &lt;pre&gt;
&gt; [+ do { local $Data::Dumper::Sortkeys=1; Dumper( @_ ); } +]
&gt; &lt;/pre&gt; [$ endsub $]
&gt;
&gt; Cheers,
&gt;
&gt; Andrew
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;
&gt; !DSPAM:416,4a9f37f8255959825358016!
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Gerald: please update module to include patch for CGI.pm 3.38+</title>
<author><name>Gerald Richter &lt;gerald.richter@ecos.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c13C88C57E5C6954C996E663DE72DE7B3EC493A2848@SRVWINDC4.ecos.local%3e"/>
<id>urn:uuid:%3c13C88C57E5C6954C996E663DE72DE7B3EC493A2848@SRVWINDC4-ecos-local%3e</id>
<updated>2009-09-17T11:39:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Michael,

Can you send me an diff of all your changes against the last version of Embperl?

Please send it to my private email, not to the list

Thanks

Gerald



&gt; -----Original Message-----
&gt; From: Michael Stevens [mailto:michael.stevens@dianomi.com]
&gt; Sent: Thursday, September 17, 2009 11:06 AM
&gt; To: Hoenie Luk
&gt; Cc: embperl@perl.apache.org
&gt; Subject: Re: Gerald: please update module to include patch
&gt; for CGI.pm 3.38+
&gt;
&gt; I've got a version that should work on github:
&gt;
&gt; http://github.com/mstevens/embperl-fork
&gt;
&gt; But it's in no way an official release.
&gt;
&gt;
&gt; 2009/9/17 Hoenie Luk &lt;airedale@hoenie.com&gt;
&gt;
&gt;
&gt;       Hi Gerald,
&gt;
&gt;       Can you please issue an update of Embperl to include
&gt; the patch required to work with CGI.pm 3.38+ for multipart/form-data?
&gt;
&gt;       I am on a shared web host and the host refuses to do
&gt; any modification on the installed Embperl.pm, unless it is an
&gt; officially released module.
&gt;
&gt;       Please help, otherwise years of web development will go
&gt; up in smoke.
&gt;
&gt;       .......Hoenie
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt;       To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt;       For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Michael Stevens
&gt; Dianomi Ltd
&gt; 18 Buckingham Gate
&gt; London SW1E 6LB
&gt;
&gt; Tel: 020 7802 5530
&gt; Fax: 020 7630 7356
&gt; www.dianomi.com
&gt;
&gt; The information in this message and any attachment is
&gt; intended for the addressee and is confidential and may be
&gt; subject to legal privilege. Dianomi Ltd, Registered Office:
&gt; One America Square, Crosswall, London. EC3N 2SG. Registered
&gt; in England and Wales with Company Registration Number
&gt; 4513809. VAT registration number: 809754988
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Gerald: please update module to include patch for CGI.pm 3.38+</title>
<author><name>Michael Stevens &lt;michael.stevens@dianomi.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c77ff6dfd0909170206h15cd0f0apf05fb21f00d83a6e@mail.gmail.com%3e"/>
<id>urn:uuid:%3c77ff6dfd0909170206h15cd0f0apf05fb21f00d83a6e@mail-gmail-com%3e</id>
<updated>2009-09-17T09:06:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I've got a version that should work on github:

http://github.com/mstevens/embperl-fork

But it's in no way an official release.

2009/9/17 Hoenie Luk &lt;airedale@hoenie.com&gt;

&gt; Hi Gerald,
&gt;
&gt; Can you please issue an update of Embperl to include the patch required to
&gt; work with CGI.pm 3.38+ for multipart/form-data?
&gt;
&gt; I am on a shared web host and the host refuses to do any modification on
&gt; the installed Embperl.pm, unless it is an officially released module.
&gt;
&gt; Please help, otherwise years of web development will go up in smoke.
&gt;
&gt; .......Hoenie
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
&gt; For additional commands, e-mail: embperl-help@perl.apache.org
&gt;
&gt;


-- 
Michael Stevens
Dianomi Ltd
18 Buckingham Gate
London SW1E 6LB

Tel: 020 7802 5530
Fax: 020 7630 7356
www.dianomi.com

The information in this message and any attachment is intended for the
addressee and is confidential and may be subject to legal privilege. Dianomi
Ltd, Registered Office: One America Square, Crosswall, London. EC3N 2SG.
Registered in England and Wales with Company Registration Number 4513809.
VAT registration number: 809754988


</pre>
</div>
</content>
</entry>
<entry>
<title>Gerald: please update module to include patch for CGI.pm 3.38+</title>
<author><name>Hoenie Luk &lt;airedale@hoenie.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c4AB1D6CA.4090900@hoenie.com%3e"/>
<id>urn:uuid:%3c4AB1D6CA-4090900@hoenie-com%3e</id>
<updated>2009-09-17T06:27:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Gerald,

Can you please issue an update of Embperl to include the patch required 
to work with CGI.pm 3.38+ for multipart/form-data?

I am on a shared web host and the host refuses to do any modification on 
the installed Embperl.pm, unless it is an officially released module.

Please help, otherwise years of web development will go up in smoke.

.......Hoenie

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Segfault while accessing dir_config() from within Embperl</title>
<author><name>Rob See &lt;rob@rsee.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c562634.104071252453409593.JavaMail.root@cent5%3e"/>
<id>urn:uuid:%3c562634-104071252453409593-JavaMail-root@cent5%3e</id>
<updated>2009-09-08T23:43:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

 I'm receiving a frequent, but not continuous segfault when I attempt to access $req_rec-&gt;dir_config()
from within an executed Embperl template. I'm using Ubuntu libembperl-perl 2.2.0-3.1 and libapache2-mod-perl2
2.0.4-5ubu. The problem is also happening on a Fedora box with mod_perl-2.0.3-20 and Embperl
2.3.0 (from CPAN)

Thanks,
-Rob




Here is the backtrace:
#0  0x00007f6e64d7e11c in modperl_dir_config () from /usr/lib/apache2/modules/mod_perl.so
#1  0x00007f6e61b35068 in XS_Apache2__RequestRec_dir_config ()
   from /usr/lib/perl5/auto/Apache2/RequestUtil/RequestUtil.so
#2  0x00007f6e64aa06d0 in Perl_pp_entersub () from /usr/lib/libperl.so.5.10
#3  0x00007f6e64a9e972 in Perl_runops_standard () from /usr/lib/libperl.so.5.10
#4  0x00007f6e64a9c2c8 in Perl_call_sv () from /usr/lib/libperl.so.5.10
#5  0x00007f6e62fe7f0b in EMBPERL2_CallStoredCV () from /usr/lib/perl5/auto/Embperl/Embperl.so
#6  0x00007f6e630021d2 in embperl_Execute () from /usr/lib/perl5/auto/Embperl/Embperl.so
#7  0x00007f6e630082af in ?? () from /usr/lib/perl5/auto/Embperl/Embperl.so
#8  0x00007f6e63006bee in Cache_GetContentIndex () from /usr/lib/perl5/auto/Embperl/Embperl.so
#9  0x00007f6e62fe1474 in ?? () from /usr/lib/perl5/auto/Embperl/Embperl.so
#10 0x00007f6e62fe1900 in embperl_RunComponent () from /usr/lib/perl5/auto/Embperl/Embperl.so
#11 0x00007f6e62fe1b4f in embperl_ExecuteComponent () from /usr/lib/perl5/auto/Embperl/Embperl.so
#12 0x00007f6e6302fa0c in XS_Embperl__Req_execute_component () from /usr/lib/perl5/auto/Embperl/Embperl.so
#13 0x00007f6e64aa06d0 in Perl_pp_entersub () from /usr/lib/libperl.so.5.10
#14 0x00007f6e64a9e972 in Perl_runops_standard () from /usr/lib/libperl.so.5.10
#15 0x00007f6e64a9c2c8 in Perl_call_sv () from /usr/lib/libperl.so.5.10
#16 0x00007f6e62fe7f0b in EMBPERL2_CallStoredCV () from /usr/lib/perl5/auto/Embperl/Embperl.so
#17 0x00007f6e630021d2 in embperl_Execute () from /usr/lib/perl5/auto/Embperl/Embperl.so
#18 0x00007f6e630082af in ?? () from /usr/lib/perl5/auto/Embperl/Embperl.so
#19 0x00007f6e63006bee in Cache_GetContentIndex () from /usr/lib/perl5/auto/Embperl/Embperl.so
#20 0x00007f6e62fe1474 in ?? () from /usr/lib/perl5/auto/Embperl/Embperl.so
#21 0x00007f6e62fe2312 in embperl_RunRequest () from /usr/lib/perl5/auto/Embperl/Embperl.so
#22 0x00007f6e62fe2802 in embperl_ExecuteRequest () from /usr/lib/perl5/auto/Embperl/Embperl.so
#23 0x00007f6e62fde98f in XS_Embperl__Req_ExecuteRequest () from /usr/lib/perl5/auto/Embperl/Embperl.so
#24 0x00007f6e64aa06d0 in Perl_pp_entersub () from /usr/lib/libperl.so.5.10
#25 0x00007f6e64a9e972 in Perl_runops_standard () from /usr/lib/libperl.so.5.10
#26 0x00007f6e64a9c2c8 in Perl_call_sv () from /usr/lib/libperl.so.5.10
#27 0x00007f6e64d7b244 in modperl_callback () from /usr/lib/apache2/modules/mod_perl.so
#28 0x00007f6e64d7b954 in modperl_callback_run_handlers () from /usr/lib/apache2/modules/mod_perl.so
#29 0x00007f6e64d7bf4f in modperl_callback_per_dir () from /usr/lib/apache2/modules/mod_perl.so
#30 0x00007f6e64d759a0 in ?? () from /usr/lib/apache2/modules/mod_perl.so
#31 0x00007f6e64d75b59 in modperl_response_handler_cgi () from /usr/lib/apache2/modules/mod_perl.so
#32 0x00007f6e6d0362d3 in ap_run_handler () from /usr/sbin/apache2
#33 0x00007f6e6d039a6f in ap_invoke_handler () from /usr/sbin/apache2
#34 0x00007f6e6d04760e in ap_process_request () from /usr/sbin/apache2
#35 0x00007f6e6d044448 in ?? () from /usr/sbin/apache2
#36 0x00007f6e6d03dca3 in ap_run_process_connection () from /usr/sbin/apache2
#37 0x00007f6e6d04bf76 in ?? () from /usr/sbin/apache2
#38 0x00007f6e6d04c2ea in ?? () from /usr/sbin/apache2
#39 0x00007f6e6d04ca98 in ap_mpm_run () from /usr/sbin/apache2
#40 0x00007f6e6d02260d in main () from /usr/sbin/apache2

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Sort Keys of Hash Printed via dump</title>
<author><name>&quot;Andrew O'Brien&quot; &lt;andrewo@oriel.com.au&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3cD9A099BA6963E94484AAC5855328B27102278869@waldorf.oriel.com.au%3e"/>
<id>urn:uuid:%3cD9A099BA6963E94484AAC5855328B27102278869@waldorf-oriel-com-au%3e</id>
<updated>2009-09-03T03:21:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

&gt; -----Original Message-----
&gt; From: Thompson, John [mailto:jthomp@midwestern.edu] 
&gt; Sent: Thursday, 3 September 2009 6:07 AM
&gt; 
&gt; Is there any variable that I can set that would tell dump to 
&gt; sort the keys of a hash alphabetically (Like Data::Dumper)?

Not as far as I can see from the docs.

But, then again, it's a trivial thing to write your own sub that does
this. A completely untested example to simulate the default behavior :-

[!
  use Data::Dumper;
 !]
[$ sub sorted_dump $]
&lt;pre&gt;
[+ do { local $Data::Dumper::Sortkeys=1; Dumper( @_ ); } +]
&lt;/pre&gt;
[$ endsub $]

Cheers,

Andrew

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Sort Keys of Hash Printed via dump</title>
<author><name>&quot;Thompson, John&quot; &lt;jthomp@midwestern.edu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/perl-embperl/200909.mbox/%3c848252BABF954D4886DD027D2E1F7350024C999B@azglmail1.midwestern.edu%3e"/>
<id>urn:uuid:%3c848252BABF954D4886DD027D2E1F7350024C999B@azglmail1-midwestern-edu%3e</id>
<updated>2009-09-02T20:07:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Is there any variable that I can set that would tell dump to sort the
keys of a hash alphabetically (Like Data::Dumper)?

 

John Thompson

Administrative Systems Integration Specialist

Midwestern University

19555 N 59th Avenue

Glendale, AZ 85308

T 623-572-3303

F 623-572-3292

 



</pre>
</div>
</content>
</entry>
</feed>
