Nov 23, 2009, 11:44 AM
Post #13 of 13
(7422 views)
Permalink
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
> -----Original Message-----
> From: Soltan Safavi [mailto:soltan@mycopa.com]
> Sent: Monday, November 23, 2009 7:05 PM
> To: Gerald Richter - ECOS
> Cc: David G. (HQ-JF000)[INDYNE INC]; Ed Grimm; embperl@perl.apache.org
> Subject: Re: Compiling Embperl
>
> 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:
> > 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
> >
> >
> >
> >> -----Original Message-----
> >> From: Soltan Safavi [mailto:soltan@mycopa.com]
> >> Sent: Friday, November 20, 2009 11:00 PM
> >> To: Gerald Richter - ECOS
> >> Cc: David G. (HQ-JF000)[INDYNE INC]; Ed Grimm;
> >> embperl@perl.apache.org
> >> Subject: Re: Compiling Embperl
> >>
> >> 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/errdoc
> >> 2.htm line 23, at EOF\nsyntax error at
> >> /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
> >> 2.htm line 32, near "+ )"\nsyntax error at
> >> /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
> >> 2.htm line 46, near "$error is here "\nsyntax error at
> >> /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
> >> 2.htm line 59, near ";\n\n}"\nMissing right curly or
> square bracket
> >> at /infostreet/packages/Embperl-2.2.0/test/html/errdoc/epl/errdoc
> >> 2.htm line 60, at end of line
> >>
> >> #77 upload.htm...
> >> Error in Line 9
> >> Is: >Filename:<br><
> >> Should: >Content-DispositionContent-Type<
> >> #105 registry/tied.htm...
> >> Error in Line 15
> >> Is: ><!DOCTYPEHTMLPUBLIC"-//IETF//DTDHTML2.0//EN"><
> >> Should: >rc=0<
> >> #106 registry/tied.htm...
> >> Error in Line 4
> >> Is: >rc=0<
> >> Should: ><P>Hereissometext</P><
> >> #194 EmbperlObject/epoincdiv.htm...
> >> Error in Line 286
> >> Is: ><P>2.2.0<P><
> >> Should: ><P>2.1<
> >> #195 EmbperlObject/epofdat.htm...ok
> >> #196 EmbperlObject/epodiv.htm...
> >> Error in Line 282
> >> Is: ><P>2.2.0<P><
> >> Should: ><P>(2\.1.*?|1\.3.*?)<P><
> >>
> >> 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: >Filename:<br><
> >> Should: >Content-DispositionContent-Type<
> >> #196 EmbperlObject/epodiv.htm...
> >> Error in Line 282
> >> Is: ><P>2.2.0<P><
> >> Should: ><P>(2\.1.*?|1\.3.*?)<P><
> >>
> >>
> >> Testparameter:
> >> offline = 0
> >> repeat = 2
> >>
> >> ERRORS detected! NOT all tests have been passed successfully
> >>
> >>
> >>
> >>
> >>
> >> gerald.richter@ecos.de wrote:
> >>
> >>> 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 -> new ;
> >>> print Dumper ($c) ;
> >>>
> >>> -----
> >>>
> >>> Gerald
> >>>
> >>>
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: Soltan Safavi [mailto:soltan@mycopa.com]
> >>>> Sent: Thursday, November 19, 2009 11:14 PM
> >>>> To: Williams, David G. (HQ-JF000)[INDYNE INC]
> >>>> Cc: Ed Grimm; embperl@perl.apache.org
> >>>> Subject: Re: Compiling Embperl
> >>>>
> >>>>
> >>>> 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:
> >>>>
> >>>>
> >>>>> 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,
> >>>>>
> >> <STDIN> line 5.
> >>
> >>>>> Ed Grimm wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>> 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:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> 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:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>> 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
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> -----Original Message-----
> >>>>>>>>> From: Soltan Safavi [mailto:soltan@mycopa.com]
> >>>>>>>>> Sent: Wednesday, September 30, 2009 11:11 PM
> >>>>>>>>> To: embperl@perl.apache.org
> >>>>>>>>> Subject: Compiling Embperl
> >>>>>>>>>
> >>>>>>>>> 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
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>
> --------------------------------------------------------------------
> >>
> >>>>
> >>>>
> >>>>>>> - 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
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>
> ---------------------------------------------------------------------
> >>
> >>>>
> >>>>
> >>>>> 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
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> ---------------------------------------------------------------------
> >>
> >>> 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
> >
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org