Mailing List Archive

"Error in perl code: Compilation error"
I'm building our project (which uses Embperl) on a new machine. Everything built ok, but Embperl won't run. Running `make test` yields the text below. Aside from upgrading Perl, it is a suite of software that has been working and building fine on a bunch of other machines.

"Compilation error" is not terribly informative. Any help/advice anyone has would be greatly appreciated. 

Thanks,

-Carl

System: Linux blosm.com 2.6.18-238.37.1.el5 #1 SMP Fri Apr 6 13:47:10 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
OS: Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Perl: 5.14.2
Embperl: 2.3.0
Apache:2.2.4
Modperl:2.0.6


#### running make test #################

=== 2 === Mon 18:57:10 /blosm/Core/output/build/Embperl-2.3.0 ===>
ceklof@blosm$ make test
make[1]: Entering directory `/blosm/Core/output/build/Embperl-2.3.0/xs'
make[2]: Entering directory `/blosm/Core/output/build/Embperl-2.3.0/xs/Embperl'
make[3]: Entering directory `/blosm/Core/output/build/Embperl-2.3.0/xs/Embperl/App'
...
make[1]: Leaving directory `/blosm/Core/output/build/Embperl-2.3.0/xs'

PERL_DL_NONLAZY=0 /blosm/Core/third-party/perl/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 

loading...                    Name "main::SAVEERR" used only once: possible typo at test.pl line 1936.
ok

Testing offline mode...

#0 ascii...                   

[-1]]"
[-2][725]ERR:  24:  Error in Perl code: Compilation error


 ERRORS detected! NOT all tests have been passed successfully

cat: test/tmp/httpd.pid: No such file or directory
make: *** [test_dynamic] Error 1
=== 2 === Mon 18:57:26 /blosm/Core/output/build/Embperl-2.3.0 ===>
ceklof@blosm$ 
Re: "Error in perl code: Compilation error" [ In reply to ]
I seem to recall this error was previously identified when trying to use
Embperl with perl 5.14.x. Embperl 2.4.0 apparently came out in 2010
October, and I'm pretty sure I heard about this problem since then. So
you may want to try pulling the latest code from SVN, if you need to use
perl 5.14.x. There was apparently code added in 2011 August, which at
least mentions this issue.

--
Ed Grimm
Identity Services



From:
Carl Eklof <carl@beesw.com>
To:
"embperl@perl.apache.org" <embperl@perl.apache.org>
Date:
05/15/2012 01:51 PM
Subject:
"Error in perl code: Compilation error"



I'm building our project (which uses Embperl) on a new machine. Everything
built ok, but Embperl won't run. Running `make test` yields the text
below. Aside from upgrading Perl, it is a suite of software that has been
working and building fine on a bunch of other machines.

"Compilation error" is not terribly informative. Any help/advice anyone
has would be greatly appreciated.

Thanks,

-Carl

System: Linux blosm.com 2.6.18-238.37.1.el5 #1 SMP Fri Apr 6 13:47:10 EDT
2012 x86_64 x86_64 x86_64 GNU/Linux
OS: Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Perl: 5.14.2
Embperl: 2.3.0
Apache:2.2.4
Modperl:2.0.6

#### running make test #################

=== 2 === Mon 18:57:10 /blosm/Core/output/build/Embperl-2.3.0 ===>
ceklof@blosm$ make test
make[1]: Entering directory `/blosm/Core/output/build/Embperl-2.3.0/xs'
make[2]: Entering directory
`/blosm/Core/output/build/Embperl-2.3.0/xs/Embperl'
make[3]: Entering directory
`/blosm/Core/output/build/Embperl-2.3.0/xs/Embperl/App'
...
make[1]: Leaving directory `/blosm/Core/output/build/Embperl-2.3.0/xs'
PERL_DL_NONLAZY=0 /blosm/Core/third-party/perl/bin/perl "-Iblib/lib"
"-Iblib/arch" test.pl

loading... Name "main::SAVEERR" used only once:
possible typo at test.pl line 1936.
ok

Testing offline mode...

#0 ascii...

[-1]]"
[-2][725]ERR: 24: Error in Perl code: Compilation error


ERRORS detected! NOT all tests have been passed successfully

cat: test/tmp/httpd.pid: No such file or directory
make: *** [test_dynamic] Error 1
=== 2 === Mon 18:57:26 /blosm/Core/output/build/Embperl-2.3.0 ===>
ceklof@blosm$
RE: "Error in perl code: Compilation error" [ In reply to ]
For Perl 5.14 please take a look at the Embperl 2.5.0 snapshot. See discussions here http://mail-archives.apache.org/mod_mbox/perl-embperl/201203.mbox/browser <http://mail-archives.apache.org/mod_mbox/perl-embperl/201203.mbox/browser>


Gerald



From: Carl Eklof [mailto:carl@beesw.com]
Sent: Tuesday, May 15, 2012 4:14 AM
To: embperl@perl.apache.org
Subject: "Error in perl code: Compilation error"


I'm building our project (which uses Embperl) on a new machine. Everything built ok, but Embperl won't run. Running `make test` yields the text below. Aside from upgrading Perl, it is a suite of software that has been working and building fine on a bunch of other machines.


"Compilation error" is not terribly informative. Any help/advice anyone has would be greatly appreciated.


Thanks,


-Carl


System: Linux blosm.com 2.6.18-238.37.1.el5 #1 SMP Fri Apr 6 13:47:10 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

OS: Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Perl: 5.14.2

Embperl: 2.3.0
Apache:2.2.4
Modperl:2.0.6


#### running make test #################


=== 2 === Mon 18:57:10 /blosm/Core/output/build/Embperl-2.3.0 ===>

ceklof@blosm$ make test

make[1]: Entering directory `/blosm/Core/output/build/Embperl-2.3.0/xs'

make[2]: Entering directory `/blosm/Core/output/build/Embperl-2.3.0/xs/Embperl'

make[3]: Entering directory `/blosm/Core/output/build/Embperl-2.3.0/xs/Embperl/App'

...

make[1]: Leaving directory `/blosm/Core/output/build/Embperl-2.3.0/xs'

PERL_DL_NONLAZY=0 /blosm/Core/third-party/perl/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl


loading... Name "main::SAVEERR" used only once: possible typo at test.pl line 1936.

ok


Testing offline mode...


#0 ascii...


[-1]]"

[-2][725]ERR: 24: Error in Perl code: Compilation error



ERRORS detected! NOT all tests have been passed successfully


cat: test/tmp/httpd.pid: No such file or directory

make: *** [test_dynamic] Error 1

=== 2 === Mon 18:57:26 /blosm/Core/output/build/Embperl-2.3.0 ===>

ceklof@blosm$