FAQ
Hi,

the Bug [1] is fixed in my current development version, this also fixes the other tests. The only thing that is still not working is the automatic reload of changed files, because Perl 5.14 prohibits the redefinition of sub's.

I have put a snapshot of my current development version on

http://www.embperl.org/downloads/Embperl-2.5.0_1.tar.gz

This one runs fine with Perl 5.14.

In case somebody is using Embperl::Form, there are a lot of incompatible changes since 2.4, because I have moved from Prototype to jQuery

Gerald

P.S. Daniel in case this version does not fix your problem, please use the Embperl mailing list for further discussion

-----Original Message-----
From: Dominic Hargreaves
Sent: Tuesday, March 27, 2012 12:07 PM
To: Dirk Melchers
Cc: Gerald Richter - ECOS; embperl@perl.apache.org
Subject: Re: Installing Embperl 2.4 on Debian Squeeze
On Tue, Mar 27, 2012 at 11:35:08AM +0200, Dirk Melchers wrote:
Hello Gerald,

in Ubuntu 12.04, perl 5.14 will be used - and embperl is also included. Does
this mean, the 12.04 will NOT work correctly or did the ubuntu maintainer fix
something?
How much work would it be to make embperl work again with perl 5.14?
Ubuntu is shipping Embperl 2.3.0, although even that fails to build in Debian
unstable and has been removed from wheezy because of [1]; I don't know
what Ubuntu's policy about that is, or how they got it to build.

[1] <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624578>

--
Dominic Hargreaves | http://www.larted.org.uk/~dom/ PGP key 5178E2A5
from the.earth.li (keyserver,web,email)

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

Search Discussions

  • Neil Gunton at Mar 27, 2012 at 4:40 pm

    richter@ecos.de wrote:
    Hi,

    the Bug [1] is fixed in my current development version, this also fixes the other tests. The only thing that is still not working is the automatic reload of changed files, because Perl 5.14 prohibits the redefinition of sub's.

    I have put a snapshot of my current development version on

    http://www.embperl.org/downloads/Embperl-2.5.0_1.tar.gz

    This one runs fine with Perl 5.14.

    In case somebody is using Embperl::Form, there are a lot of incompatible changes since 2.4, because I have moved from Prototype to jQuery
    Hi Gerald, I downloaded your snapshot from above, and 'Perl Makefile.PL'
    and 'make' both go without problem.

    However, 'make test' still fails for me. This is on Debian Wheezy, Perl
    5.14 stock build. Output follows:

    root@dev:/usr/src/Embperl-2.5.0_1# make test
    make[1]: Entering directory `/usr/src/Embperl-2.5.0_1/xs'
    make[2]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App'
    make[4]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App/Config'
    make[4]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App/Config'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Config'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Config'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Output'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Output'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Param'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Param'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req'
    make[4]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Config'
    make[4]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Config'
    make[4]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Param'
    make[4]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Param'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Syntax'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Syntax'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Thread'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Thread'
    make[2]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl'
    make[1]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs'
    PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl

    loading... ok

    Testing offline mode...

    #0 ascii...

    [-1]embperl_InitRequest
    [-2]embperl_CleanupRequest
    [-3]embperl_CleanupComponent
    [-4]embperl_CleanupOutput
    [-5]embperl_CleanupOutput done
    [-6]embperl_CleanupComponent done
    [-7]embperl_CleanupRequest done


    ERRORS detected! NOT all tests have been passed successfully

    cat: test/tmp/httpd.pid: No such file or directory
    make: *** [test_dynamic] Error 1
    root@dev:/usr/src/Embperl-2.5.0_1#

    Could this be related to the fact that I build two versions of apache on
    my system, httpd_perl and httpd_proxy, so the resulting files used by
    httpd_perl may be different from normal (e.g. the pid file, your script
    looks for 'httpd.pid', my apache build might use something different
    like 'httpd_perl.pid, but I'm not sure about that)? Is there some way to
    work around this on my end (i.e. specify what it will be called) or else
    does it have to be something that the Embperl make test script detects?

    Thanks again,

    Neil

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Gerald Richter at Mar 27, 2012 at 5:49 pm
    Sorry, my fault. These are debug messages I missed to remove.

    Go into the file epinit.c, search for fprintf with these messages and delete the lines.

    After that make test should run better.

    Gerald

    -----Original Message-----
    From: Neil Gunton
    Sent: Tuesday, March 27, 2012 6:40 PM
    To: Gerald Richter - ECOS
    Cc: embperl@perl.apache.org
    Subject: Re: Installing Embperl 2.4 on Debian Squeeze / Embperl 2.5
    development snapshot for Perl 5.14

    richter@ecos.de wrote:
    Hi,

    the Bug [1] is fixed in my current development version, this also fixes the
    other tests. The only thing that is still not working is the automatic reload of
    changed files, because Perl 5.14 prohibits the redefinition of sub's.
    I have put a snapshot of my current development version on

    http://www.embperl.org/downloads/Embperl-2.5.0_1.tar.gz

    This one runs fine with Perl 5.14.

    In case somebody is using Embperl::Form, there are a lot of
    incompatible changes since 2.4, because I have moved from Prototype to
    jQuery
    Hi Gerald, I downloaded your snapshot from above, and 'Perl Makefile.PL'
    and 'make' both go without problem.

    However, 'make test' still fails for me. This is on Debian Wheezy, Perl
    5.14 stock build. Output follows:

    root@dev:/usr/src/Embperl-2.5.0_1# make test
    make[1]: Entering directory `/usr/src/Embperl-2.5.0_1/xs'
    make[2]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App'
    make[4]: Entering directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/App/Config'
    make[4]: Leaving directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/App/Config'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App'
    make[3]: Entering directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Component'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Config'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Config'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Output'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Output'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Param'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Param'
    make[3]: Leaving directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Component'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req'
    make[4]: Entering directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Req/Config'
    make[4]: Leaving directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Req/Config'
    make[4]: Entering directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Req/Param'
    make[4]: Leaving directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Req/Param'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Syntax'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Syntax'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Thread'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Thread'
    make[2]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl'
    make[1]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs'
    PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl

    loading... ok

    Testing offline mode...

    #0 ascii...

    [-1]embperl_InitRequest
    [-2]embperl_CleanupRequest
    [-3]embperl_CleanupComponent
    [-4]embperl_CleanupOutput
    [-5]embperl_CleanupOutput done
    [-6]embperl_CleanupComponent done
    [-7]embperl_CleanupRequest done


    ERRORS detected! NOT all tests have been passed successfully

    cat: test/tmp/httpd.pid: No such file or directory
    make: *** [test_dynamic] Error 1
    root@dev:/usr/src/Embperl-2.5.0_1#

    Could this be related to the fact that I build two versions of apache on my
    system, httpd_perl and httpd_proxy, so the resulting files used by
    httpd_perl may be different from normal (e.g. the pid file, your script looks
    for 'httpd.pid', my apache build might use something different like
    'httpd_perl.pid, but I'm not sure about that)? Is there some way to work
    around this on my end (i.e. specify what it will be called) or else does it have
    to be something that the Embperl make test script detects?

    Thanks again,

    Neil

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Neil Gunton at Mar 27, 2012 at 6:59 pm

    richter@ecos.de wrote:
    Sorry, my fault. These are debug messages I missed to remove.

    Go into the file epinit.c, search for fprintf with these messages and delete the lines.

    After that make test should run better.

    Gerald
    Hi Gerald, thanks for the fast reply - I edited epinit.c as you
    suggested, and re-ran 'make', then 'make test'. It is still failing, as
    follows:

    Testing offline mode...

    #0 ascii... ok
    #1 pure.htm... ok
    #2 nooutput.htm... ok
    #3 nooutput.htm... ok
    #4 plain.htm... ok
    #5 plain.htm... ok
    #6 plain.htm... ok
    #7 plainblock.htm... ok
    #8 plainblock.htm... ok
    #18 error.htm...
    Error in Line 8
    Is: >[26885]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/src/Embperl-2.5.0_1/test/html/error.htm line 23.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/msrc/embperl/test/html/error.htm line 23.<

    ERRORS detected! NOT all tests have been passed successfully


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Gerald Richter at Mar 27, 2012 at 7:01 pm
    Hi Neil,

    what happens if you run

    make test TESTARGS="-i"

    Gerald

    -----Original Message-----
    From: Neil Gunton
    Sent: Tuesday, March 27, 2012 8:59 PM
    To: Gerald Richter - ECOS; embperl@perl.apache.org
    Subject: Re: Installing Embperl 2.4 on Debian Squeeze / Embperl 2.5
    development snapshot for Perl 5.14

    richter@ecos.de wrote:
    Sorry, my fault. These are debug messages I missed to remove.

    Go into the file epinit.c, search for fprintf with these messages and delete
    the lines.
    After that make test should run better.

    Gerald
    Hi Gerald, thanks for the fast reply - I edited epinit.c as you suggested, and
    re-ran 'make', then 'make test'. It is still failing, as
    follows:

    Testing offline mode...

    #0 ascii... ok
    #1 pure.htm... ok
    #2 nooutput.htm... ok
    #3 nooutput.htm... ok
    #4 plain.htm... ok
    #5 plain.htm... ok
    #6 plain.htm... ok
    #7 plainblock.htm... ok
    #8 plainblock.htm... ok
    #18 error.htm...
    Error in Line 8
    Is: >[26885]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/src/Embperl-2.5.0_1/test/html/error.htm line 23.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/msrc/embperl/test/html/error.htm line 23.<

    ERRORS detected! NOT all tests have been passed successfully


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Neil Gunton at Mar 27, 2012 at 7:07 pm

    richter@ecos.de wrote:
    make test TESTARGS="-i"
    Hi Gerald, this is better - but it still fails eventually due to not
    finding Apache2::ServerRec. See output below. Is this something I need
    to install separately? Or should it already have been installed as part
    of the installation of mod_perl?

    Out of curiosity, what does this TESTARGS do? I have never used it.

    Thanks again,

    Neil

    root@dev:/usr/src/Embperl-2.5.0_1# make test TESTARGS="-i"
    make[1]: Entering directory `/usr/src/Embperl-2.5.0_1/xs'
    make[2]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App'
    make[4]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App/Config'
    make[4]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App/Config'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Config'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Config'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Output'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Output'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Param'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Param'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req'
    make[4]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Config'
    make[4]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Config'
    make[4]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Param'
    make[4]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req/Param'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Syntax'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Syntax'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Thread'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Thread'
    make[2]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl'
    make[1]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs'
    PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl -i

    loading... ok

    Testing offline mode...

    #0 ascii... ok
    #1 pure.htm... ok
    #2 nooutput.htm... ok
    #3 nooutput.htm... ok
    #4 plain.htm... ok
    #5 plain.htm... ok
    #6 plain.htm... ok
    #7 plainblock.htm... ok
    #8 plainblock.htm... ok
    #18 error.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/src/Embperl-2.5.0_1/test/html/error.htm line 23.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/msrc/embperl/test/html/error.htm line 23.<
    #19 error.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/src/Embperl-2.5.0_1/test/html/error.htm line 23, &lt;F2&gt; line 8.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/msrc/embperl/test/html/error.htm line 23.<
    #20 error.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/src/Embperl-2.5.0_1/test/html/error.htm line 23, &lt;F2&gt; line 16.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/msrc/embperl/test/html/error.htm line 23.<
    #36 errormismatch.htm... ok
    #37 errormismatchcmd.htm... ok
    #38 unclosed.htm... ok
    #39 notfound.htm... ok
    #40 notallow.xhtm... ok
    #50 rawinput/rawinput.htm... ok
    #51 var.htm... ok
    #57 varerr.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: (in cleanup) Global symbol
    &quot;$d&quot; requires explicit package name at
    /usr/src/Embperl-2.5.0_1/test/html/varerr.htm line 19.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: \(in cleanup\) Global
    symbol &quot;\$d&quot; requires explicit package name at
    /usr/msrc/embperl/test/html/varerr.htm line 19.<
    #61 escape.htm... ok
    #62 escape.htm... ok
    #64 escutf8.htm... ok
    #66 tagscan.htm... ok
    #67 tagscan.htm-d 1 ... ok
    #69 if.htm... ok
    #70 ifperl.htm... ok
    #71 loop.htm... ok
    #72 loopperl.htm... ok
    #73 table.htm... ok
    #74 table.htm-d 1 ... ok
    #76 lists.htm... ok
    #77 select.htm... ok
    #78 selecttab.htm... ok
    #79 selecttab2.htm... ok
    #80 mix.htm... ok
    #82 nesting.htm... ok
    #83 nesting2.htm... ok
    #85 object.htm... ok
    #87 input.htm... ok
    #88 input.htm... ok
    #89 hidden.htm... ok
    #90 java.htm... ok
    #91 inputjava.htm... ok
    #92 inputjs2.htm... ok
    #93 inputattr.htm... ok
    #94 heredoc.htm... ok
    #95 epglobals.htm... ok
    #96 keepspaces.htm... ok
    #101 keepreq.htm... ok
    #102 keepreq.htm... ok
    #112 rawinput/include.htm... ok
    #113 rawinput/include.htm... ok
    #114 execnotfound.htm... ok
    #115 includeerr1.htm... ok
    #116 includeerr1.htm... ok
    #120 includeerr2.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Use of uninitialized value
    $Embperl::__56::param[0] in concatenation (.) or string at
    /usr/src/Embperl-2.5.0_1/test/html/incsub.htm line 6.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Use of uninitialized
    value \$Embperl::__\d+::param\[0\] in concatenation \(\.\) or string at
    /usr/msrc/embperl/test/html/incsub.htm line 6.<
    #121 includeerr2.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Use of uninitialized value
    $Embperl::__56::param[0] in concatenation (.) or string at
    /usr/src/Embperl-2.5.0_1/test/html/incsub.htm line 6, &lt;F2&gt; line 8.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Use of uninitialized
    value \$Embperl::__\d+::param\[0\] in concatenation \(\.\) or string at
    /usr/msrc/embperl/test/html/incsub.htm line 6.<
    #122 includeerr3.htm...
    Error in Line 11
    Is: >***errors: [27126]ERR: 24: Error in Perl code: Can't locate object
    method &quot;is&quot; via package &quot;here&quot; (perhaps you forgot
    to load &quot;here&quot;?) at
    /usr/src/Embperl-2.5.0_1/test/html/incerr.htm line 6, &lt;F2&gt; line
    16.<br><
    Should: >\*\*\*errors: \[\d+\]ERR: 24: Error in Perl code: Can't locate
    object method &quot;is&quot; via package &quot;here&quot;.+at
    .+incerr.htm line 6.<br><
    #123 includeerrbt.htm... ok
    #124 incif.htm... ok
    #132 callsub.htm... ok
    #133 callsub.htm... ok
    #134 sub2.htm... ok
    #135 sub2.htm... ok
    #136 subargs.htm... ok
    #137 subargs.htm... ok
    #138 subout.htm... ok
    #139 subout.htm... ok
    #140 subouttab.htm... ok
    #141 subouttab.htm... ok
    #142 subempty.htm... ok
    #143 executesub.htm... ok
    #144 executesub.htm... ok
    #145 execfirst.htm... ok
    #146 execsecond.htm... ok
    #147 execprint.htm... ok
    #148 execviamod.htm... ok
    #149 importsub.htm... ok
    #150 importsub.htm... ok
    #151 importsub2.htm... ok
    #152 subtextarea.htm... ok
    #153 subtextarea.htm... ok
    #154 subtextarea.htm... ok
    #155 subtextarea.htm... ok
    #156 execwithsub.htm... ok
    #157 nph/div.htm... ok
    #159 nph/nphinc.htm... ok
    #160 sub.htm... ok
    #161 sub.htm... ok
    #162 subtab.htm... ok
    #163 exit.htm... ok
    #164 exit2.htm... ok
    #166 exitreq.htm... ok
    #167 exitcomp.htm... ok
    #168 chdir.htm... ok
    #169 chdir.htm... ok
    #170 allform/allform.htm... ok
    #172 nochdir/nochdir.htm... ok
    #176 div.htm... ok
    #177 div.htm... ok
    #179 ofunc/div.htm... ok
    #186 cookieexpire.htm... ok
    #241 SSI/ssibasic.htm... ok
    #242 SSIEP/ssiep.htm... ok
    #243 inctext.htm... ok
    #244 incperl.htm... ok
    #245 asp.htm... ok
    #246 syntax.htm... ok
    #247 syntax.htm... ok
    #248 changeattr.htm... ok
    #249 changeattr.htm... ok
    #250 tagintag.htm... ok
    #251 rtf/rtfbasic.asc... ok
    #252 rtf/rtffull.asc... ok
    #253 rtf/rtfadv.asc... ok
    #254 rtf/rtfloop.asc... ok
    #255 rtf/rtfmeta.asc... ok
    #257 pod/pod.asc... ok
    #279 app/i18n.htm... ok
    #280 xhtml.htm... ok
    #281 epform.htm... ok

    Testing Execute function...

    div.htm from file... ok
    div.htm from memory... ok
    div.htm to memory... ok
    div.htm to tied handle... ok
    div.htm from/to memory... ok
    error.htm to memory...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/src/Embperl-2.5.0_1/test/html/error.htm line 23.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/msrc/embperl/test/html/error.htm line 23.<
    errornous parameter (input) ...ok
    errornous parameter (output) ...ok
    EmbperlObject/epopage1.htm ...ok
    EmbperlObject/sub/epopage2.htm ...ok
    EmbperlObject/obj/epoobj3.htm ...ok
    EmbperlObject/sub/epobless.htm ...ok
    EmbperlObject/sub/epobless.htm ...ok
    EmbperlObject/epofdat.htm ... ok
    EmbperlObject/sub/epobless2.htm ...ok
    EmbperlObject/sub/epobless2.htm ...ok
    EmbperlObject/sub/epobless3.htm ...ok
    EmbperlObject/sub/epobless3.htm ...ok
    EmbperlObject/app/epoapp.htm ...ok
    EmbperlObject/app/epoapp2.htm ...ok
    EmbperlObject/app/epoapp.htm ...ok
    EmbperlObject/app/epoapp.htm ...ok

    Testing Ouput Caching...

    No cache 1... ok
    No cache 2... ok
    Expires in 1 sec... ok
    Expires in 1 sec (cached)... ok
    Wait for expire... ok
    Expires in 1 sec (reexec)... ok
    Expires function... ok
    Expires function (cached)... ok
    Expires function (reexec)... ok
    Expires string function (cached)...ok
    Expires string function (reexec)...ok
    Expires named function (cached)...ok
    Expires named function (reexec)...ok
    Change query_info... ok
    Change query_info (cached)... ok
    Expires named function (cached)...ok
    Change query_info (reexec)... ok
    Expires named function (cached)...ok
    Change query_info (cached)... ok
    Modify source... ok
    Modify source query_info... ok
    $EXPIRES in source... ok
    $EXPIRES in source (cached)...ok
    Wait for expire... ok
    $EXPIRES in source (reexc)... ok
    sub EXPIRES in source... ok
    sub EXPIRES in source (cached)...ok


    Performing httpd syntax check 1 ... ok


    Performing httpd syntax check 2 ... ok


    Starting httpd...
    [Tue Mar 27 12:04:27 2012] [error] Can't locate Apache2/ServerRec.pm in
    @INC (@INC contains: /usr/src/Embperl-2.5.0_1/eg/forms
    /usr/src/Embperl-2.5.0_1/blib/arch /usr/src/Embperl-2.5.0_1/blib/lib .
    /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
    /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
    /usr/local/lib/site_perl /usr/src/Embperl-2.5.0_1/test) at
    /usr/src/Embperl-2.5.0_1/blib/lib/Embperl.pm line 74.\nCompilation
    failed in require at /usr/src/Embperl-2.5.0_1/test/conf/startup.pl line
    65.\nBEGIN failed--compilation aborted at
    /usr/src/Embperl-2.5.0_1/test/conf/startup.pl line 65.\nCompilation
    failed in require at (eval 2) line 1.\n
    [Tue Mar 27 12:04:27 2012] [error] Can't load Perl file:
    /usr/src/Embperl-2.5.0_1/test/conf/startup.pl for server localhost:0,
    exiting...
    Cannot open test/tmp/httpd.pid at test.pl line 2894.

    Test terminated with fatal error
    make: *** [test_dynamic] Error 1
    root@dev:/usr/src/Embperl-2.5.0_1#

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Gerald Richter at Mar 27, 2012 at 7:26 pm
    Hi,
    Hi Gerald, this is better - but it still fails eventually due to not finding
    Apache2::ServerRec. See output below. Is this something I need to install
    separately? Or should it already have been installed as part of the installation
    of mod_perl?
    Apache2::ServeRec i spart of mod_perl 2 and should be already installed, if mod_perl is installed.

    Out of curiosity, what does this TESTARGS do? I have never used it.
    It let the test continue after it finds an error. The output shows that mainly the changed text of the error messages causes test errors, which you can safely ignore.

    Of course you have to figure out why Apache2::ServerRec is missing on your System

    Gerald

    Thanks again,

    Neil

    root@dev:/usr/src/Embperl-2.5.0_1# make test TESTARGS="-i"
    make[1]: Entering directory `/usr/src/Embperl-2.5.0_1/xs'
    make[2]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App'
    make[4]: Entering directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/App/Config'
    make[4]: Leaving directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/App/Config'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/App'
    make[3]: Entering directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Component'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Config'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Config'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Output'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Output'
    make[4]: Entering directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Param'
    make[4]: Leaving directory
    `/usr/src/Embperl-2.5.0_1/xs/Embperl/Component/Param'
    make[3]: Leaving directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Component'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req'
    make[4]: Entering directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Req/Config'
    make[4]: Leaving directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Req/Config'
    make[4]: Entering directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Req/Param'
    make[4]: Leaving directory `/usr/src/Embperl-
    2.5.0_1/xs/Embperl/Req/Param'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Req'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Syntax'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Syntax'
    make[3]: Entering directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Thread'
    make[3]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl/Thread'
    make[2]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs/Embperl'
    make[1]: Leaving directory `/usr/src/Embperl-2.5.0_1/xs'
    PERL_DL_NONLAZY=0 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl -i

    loading... ok

    Testing offline mode...

    #0 ascii... ok
    #1 pure.htm... ok
    #2 nooutput.htm... ok
    #3 nooutput.htm... ok
    #4 plain.htm... ok
    #5 plain.htm... ok
    #6 plain.htm... ok
    #7 plainblock.htm... ok
    #8 plainblock.htm... ok
    #18 error.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/src/Embperl-2.5.0_1/test/html/error.htm line 23.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/msrc/embperl/test/html/error.htm line 23.<
    #19 error.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/src/Embperl-2.5.0_1/test/html/error.htm line 23, &lt;F2&gt; line 8.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/msrc/embperl/test/html/error.htm line 23.<
    #20 error.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/src/Embperl-2.5.0_1/test/html/error.htm line 23, &lt;F2&gt; line 16.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/msrc/embperl/test/html/error.htm line 23.<
    #36 errormismatch.htm... ok
    #37 errormismatchcmd.htm... ok
    #38 unclosed.htm... ok
    #39 notfound.htm... ok
    #40 notallow.xhtm... ok
    #50 rawinput/rawinput.htm... ok
    #51 var.htm... ok
    #57 varerr.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: (in cleanup) Global symbol
    &quot;$d&quot; requires explicit package name at /usr/src/Embperl-
    2.5.0_1/test/html/varerr.htm line 19.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: \(in cleanup\) Global
    symbol &quot;\$d&quot; requires explicit package name at
    /usr/msrc/embperl/test/html/varerr.htm line 19.<
    #61 escape.htm... ok
    #62 escape.htm... ok
    #64 escutf8.htm... ok
    #66 tagscan.htm... ok
    #67 tagscan.htm-d 1 ... ok
    #69 if.htm... ok
    #70 ifperl.htm... ok
    #71 loop.htm... ok
    #72 loopperl.htm... ok
    #73 table.htm... ok
    #74 table.htm-d 1 ... ok
    #76 lists.htm... ok
    #77 select.htm... ok
    #78 selecttab.htm... ok
    #79 selecttab2.htm... ok
    #80 mix.htm... ok
    #82 nesting.htm... ok
    #83 nesting2.htm... ok
    #85 object.htm... ok
    #87 input.htm... ok
    #88 input.htm... ok
    #89 hidden.htm... ok
    #90 java.htm... ok
    #91 inputjava.htm... ok
    #92 inputjs2.htm... ok
    #93 inputattr.htm... ok
    #94 heredoc.htm... ok
    #95 epglobals.htm... ok
    #96 keepspaces.htm... ok
    #101 keepreq.htm... ok
    #102 keepreq.htm... ok
    #112 rawinput/include.htm... ok
    #113 rawinput/include.htm... ok
    #114 execnotfound.htm... ok
    #115 includeerr1.htm... ok
    #116 includeerr1.htm... ok
    #120 includeerr2.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Use of uninitialized value
    $Embperl::__56::param[0] in concatenation (.) or string at /usr/src/Embperl-
    2.5.0_1/test/html/incsub.htm line 6.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Use of uninitialized
    value \$Embperl::__\d+::param\[0\] in concatenation \(\.\) or string at
    /usr/msrc/embperl/test/html/incsub.htm line 6.<
    #121 includeerr2.htm...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Use of uninitialized value
    $Embperl::__56::param[0] in concatenation (.) or string at /usr/src/Embperl-
    2.5.0_1/test/html/incsub.htm line 6, &lt;F2&gt; line 8.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Use of uninitialized
    value \$Embperl::__\d+::param\[0\] in concatenation \(\.\) or string at
    /usr/msrc/embperl/test/html/incsub.htm line 6.<
    #122 includeerr3.htm...
    Error in Line 11
    Is: >***errors: [27126]ERR: 24: Error in Perl code: Can't locate object
    method &quot;is&quot; via package &quot;here&quot; (perhaps you forgot
    to load &quot;here&quot;?) at /usr/src/Embperl-
    2.5.0_1/test/html/incerr.htm line 6, &lt;F2&gt; line 16.<br><
    Should: >\*\*\*errors: \[\d+\]ERR: 24: Error in Perl code: Can't locate
    object method &quot;is&quot; via package &quot;here&quot;.+at
    .+incerr.htm line 6.<br><
    #123 includeerrbt.htm... ok
    #124 incif.htm... ok
    #132 callsub.htm... ok
    #133 callsub.htm... ok
    #134 sub2.htm... ok
    #135 sub2.htm... ok
    #136 subargs.htm... ok
    #137 subargs.htm... ok
    #138 subout.htm... ok
    #139 subout.htm... ok
    #140 subouttab.htm... ok
    #141 subouttab.htm... ok
    #142 subempty.htm... ok
    #143 executesub.htm... ok
    #144 executesub.htm... ok
    #145 execfirst.htm... ok
    #146 execsecond.htm... ok
    #147 execprint.htm... ok
    #148 execviamod.htm... ok
    #149 importsub.htm... ok
    #150 importsub.htm... ok
    #151 importsub2.htm... ok
    #152 subtextarea.htm... ok
    #153 subtextarea.htm... ok
    #154 subtextarea.htm... ok
    #155 subtextarea.htm... ok
    #156 execwithsub.htm... ok
    #157 nph/div.htm... ok
    #159 nph/nphinc.htm... ok
    #160 sub.htm... ok
    #161 sub.htm... ok
    #162 subtab.htm... ok
    #163 exit.htm... ok
    #164 exit2.htm... ok
    #166 exitreq.htm... ok
    #167 exitcomp.htm... ok
    #168 chdir.htm... ok
    #169 chdir.htm... ok
    #170 allform/allform.htm... ok
    #172 nochdir/nochdir.htm... ok
    #176 div.htm... ok
    #177 div.htm... ok
    #179 ofunc/div.htm... ok
    #186 cookieexpire.htm... ok
    #241 SSI/ssibasic.htm... ok
    #242 SSIEP/ssiep.htm... ok
    #243 inctext.htm... ok
    #244 incperl.htm... ok
    #245 asp.htm... ok
    #246 syntax.htm... ok
    #247 syntax.htm... ok
    #248 changeattr.htm... ok
    #249 changeattr.htm... ok
    #250 tagintag.htm... ok
    #251 rtf/rtfbasic.asc... ok
    #252 rtf/rtffull.asc... ok
    #253 rtf/rtfadv.asc... ok
    #254 rtf/rtfloop.asc... ok
    #255 rtf/rtfmeta.asc... ok
    #257 pod/pod.asc... ok
    #279 app/i18n.htm... ok
    #280 xhtml.htm... ok
    #281 epform.htm... ok

    Testing Execute function...

    div.htm from file... ok
    div.htm from memory... ok
    div.htm to memory... ok
    div.htm to tied handle... ok
    div.htm from/to memory... ok
    error.htm to memory...
    Error in Line 8
    Is: >[27126]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/src/Embperl-2.5.0_1/test/html/error.htm line 23.<
    Should: >\[\d+\]ERR: 32: Warning in Perl code: Unquoted string
    &quot;qqqqqqqqqqqqqq&quot; may clash with future reserved word at
    /usr/msrc/embperl/test/html/error.htm line 23.< errornous parameter
    (input) ...ok errornous parameter (output) ...ok
    EmbperlObject/epopage1.htm ...ok EmbperlObject/sub/epopage2.htm ...ok
    EmbperlObject/obj/epoobj3.htm ...ok EmbperlObject/sub/epobless.htm
    ...ok EmbperlObject/sub/epobless.htm ...ok EmbperlObject/epofdat.htm ...
    ok EmbperlObject/sub/epobless2.htm ...ok
    EmbperlObject/sub/epobless2.htm ...ok EmbperlObject/sub/epobless3.htm
    ...ok EmbperlObject/sub/epobless3.htm ...ok
    EmbperlObject/app/epoapp.htm ...ok EmbperlObject/app/epoapp2.htm
    ...ok EmbperlObject/app/epoapp.htm ...ok EmbperlObject/app/epoapp.htm
    ...ok

    Testing Ouput Caching...

    No cache 1... ok
    No cache 2... ok
    Expires in 1 sec... ok
    Expires in 1 sec (cached)... ok
    Wait for expire... ok
    Expires in 1 sec (reexec)... ok
    Expires function... ok
    Expires function (cached)... ok
    Expires function (reexec)... ok
    Expires string function (cached)...ok
    Expires string function (reexec)...ok
    Expires named function (cached)...ok
    Expires named function (reexec)...ok
    Change query_info... ok
    Change query_info (cached)... ok
    Expires named function (cached)...ok
    Change query_info (reexec)... ok
    Expires named function (cached)...ok
    Change query_info (cached)... ok
    Modify source... ok
    Modify source query_info... ok
    $EXPIRES in source... ok
    $EXPIRES in source (cached)...ok
    Wait for expire... ok
    $EXPIRES in source (reexc)... ok
    sub EXPIRES in source... ok
    sub EXPIRES in source (cached)...ok


    Performing httpd syntax check 1 ... ok


    Performing httpd syntax check 2 ... ok


    Starting httpd...
    [Tue Mar 27 12:04:27 2012] [error] Can't locate Apache2/ServerRec.pm in
    @INC (@INC contains: /usr/src/Embperl-2.5.0_1/eg/forms /usr/src/Embperl-
    2.5.0_1/blib/arch /usr/src/Embperl-2.5.0_1/blib/lib .
    /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
    /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
    /usr/local/lib/site_perl /usr/src/Embperl-2.5.0_1/test) at /usr/src/Embperl-
    2.5.0_1/blib/lib/Embperl.pm line 74.\nCompilation failed in require at
    /usr/src/Embperl-2.5.0_1/test/conf/startup.pl line 65.\nBEGIN failed--
    compilation aborted at /usr/src/Embperl-2.5.0_1/test/conf/startup.pl line
    65.\nCompilation failed in require at (eval 2) line 1.\n [Tue Mar 27 12:04:27
    2012] [error] Can't load Perl file:
    /usr/src/Embperl-2.5.0_1/test/conf/startup.pl for server localhost:0,
    exiting...
    Cannot open test/tmp/httpd.pid at test.pl line 2894.

    Test terminated with fatal error
    make: *** [test_dynamic] Error 1
    root@dev:/usr/src/Embperl-2.5.0_1#

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Neil Gunton at Mar 27, 2012 at 7:33 pm

    richter@ecos.de wrote:
    Apache2::ServeRec i spart of mod_perl 2 and should be already installed, if mod_perl is installed.
    Of course you have to figure out why Apache2::ServerRec is missing on your System
    I found it installed under

    /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Apache2/ServerRec.pm

    This is weird, but consistent - if you recall my original message in
    this thread, Embperl 2.4 was installing itself under /root/perl5 too. Do
    you have any clues as to what affects this behavior? I assume it's just
    some environment variable that isn't set right...

    Thanks again,

    Neil

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Gerald Richter at Mar 28, 2012 at 3:47 am
    I guess the test is using the wrong httpd or mod_perl.

    Makefile.PL shows which Apache Modules and paths are used or you can take a look at test/conf/config.pl and verify that the correct mod_perl is loaded.

    I am sure there is some version mismatch

    Gerald

    P.S. I am out of office for the next days, so I can not answer any further mails until Sunday

    -----Original Message-----
    From: Neil Gunton
    Sent: Tuesday, March 27, 2012 9:33 PM
    To: Gerald Richter - ECOS
    Cc: embperl@perl.apache.org
    Subject: Re: Installing Embperl 2.4 on Debian Squeeze / Embperl 2.5
    development snapshot for Perl 5.14

    richter@ecos.de wrote:
    Apache2::ServeRec i spart of mod_perl 2 and should be already installed, if
    mod_perl is installed.
    Of course you have to figure out why Apache2::ServerRec is missing on
    your System
    I found it installed under

    /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Apache2/ServerRec.pm

    This is weird, but consistent - if you recall my original message in this thread,
    Embperl 2.4 was installing itself under /root/perl5 too. Do you have any clues
    as to what affects this behavior? I assume it's just some environment
    variable that isn't set right...

    Thanks again,

    Neil

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org
  • Neil Gunton at Mar 28, 2012 at 5:34 pm

    Neil Gunton wrote:
    richter@ecos.de wrote:
    Apache2::ServeRec i spart of mod_perl 2 and should be already
    installed, if mod_perl is installed.
    Of course you have to figure out why Apache2::ServerRec is missing on
    your System
    I found it installed under

    /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Apache2/ServerRec.pm

    This is weird, but consistent - if you recall my original message in
    this thread, Embperl 2.4 was installing itself under /root/perl5 too. Do
    you have any clues as to what affects this behavior? I assume it's just
    some environment variable that isn't set right...
    Update: I found the following had been tacked onto the end of /root/.bashrc:

    export PERL_LOCAL_LIB_ROOT="/root/perl5";
    export PERL_MB_OPT="--install_base /root/perl5";
    export PERL_MM_OPT="INSTALL_BASE=/root/perl5";
    export
    PERL5LIB="/root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi:/root/perl5/lib/perl5";
    export PATH="/root/perl5/bin:$PATH";

    I didn't put this there, so some package in Debian Wheezy must have done
    it. It's obviously messing with the installation of Perl modules, since
    once they get put under /root then other modules can't find them. So
    whatever added those lines obviously didn't also add that path to the
    other places where it seems to be needed. So I tried commenting those
    lines out of .bashrc, rebuilt mod_perl, and then Embperl (2.5.0), and it
    all seems to complete and install properly now.

    Off topic a bit: I was a bit surprised to find out that some fairly
    major things seem to be broken in Debian Wheezy. For example, cups - I
    just get blank pages when I print to my Brother laser printer.
    Eventually I found this thread:

    https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/950713

    I reset the printer type to be the most basic generic printer, and now I
    can at least print pages, but not access any of the options of the printer.

    I don't know, I guess I was expecting Wheezy to be a bit more stable at
    this point, given that they are intending to go into freeze in June 2012:

    http://stevenrosenberg.net/blog/linux/debian/2011_0809_debian

    Hope things settle down soon... I went to Wheezy primarily because I
    wanted to use an SSD for my workstation (to cut down on disk drive hum
    and increase performance for the root filesystem). For SSD to work
    efficiently (i.e. enable TRIM), you need a more recent kernel than
    Squeeze. When I tried installing the backport kernel, things didn't seem
    to work well (can't remember what broke, but something did). So I
    decided to just try a new Wheeze install. It seems to work, mostly, but
    now I am finding files are just going missing without any disk errors...
    and this isn't even on the SSD, it's on my big data hard drive, which is
    a regular WD drive. No disk errors, files just seem to disappear
    randomly. I'm returning the drive to get another one, but part of me
    wonders if it's actually the drive, or this new kernel, or some bug in
    ext4 etc. What fun.

    Anyway, thanks again for the help.

    Neil

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupembperl @
categoriesmodperl, perl
postedMar 27, '12 at 12:13p
activeMar 28, '12 at 5:34p
posts10
users2
websiteperl.apache.org

2 users in discussion

Neil Gunton: 5 posts Gerald Richter: 5 posts

People

Translate

site design / logo © 2018 Grokbase