You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Luiz Fernando <lu...@engenhosolucoes.com.br> on 2011/09/28 00:28:06 UTC

Compiling good old Embperl 1.3.6

Hello brave people,

Its been a long time. I need to upgrade an old server that has some big Embperl 1.3 projects running. I compiled old versions of perl (5.8.9), apache(1.3.36) and mod-perl(1.31), all with minor issues, but I can't sucessfully compile Embperl 1.3.6 :(

perl Makefile.PL runs OK

but soon after running make a lot of errors like this occurs:

Embperl.c:329: error: static declaration of ‘XS_HTML__Embperl_CurrReq’ follows non-static declaration
Embperl.c:328: note: previous declaration of ‘XS_HTML__Embperl_CurrReq’ was here
...
Embperl.c:1755: error: static declaration of ‘XS_HTML__Embperl__Req_Escape’ follows non-static declaration
Embperl.c:1754: note: previous declaration of ‘XS_HTML__Embperl__Req_Escape’ was here

My system has gcc-4.4.3

Is it possible to build 1.3.6 on newer linux distributions?

Best regards,

Luiz Fernando


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


Re: Compiling good old Embperl 1.3.6

Posted by Dirk Jagdmann <do...@cubic.org>.
> Is it possible to build 1.3.6 on newer linux distributions?

I'm still using Embperl 1.3 on FreeBSD and had to patch some files to compile
it. I think it also fixes the problem you've described. You would also want to
have the CGI.pm fix for Embperl 1.3 releases. I can send you a tarball with my
FreeBSD port, the patches contained in there should get you compiling.

And of course if somebody else is interested in a FreeBSD Embperl 1.6 port you
can tell me. It is based on the removed p5-HTML-Embperl port from the official
port collection.

-- 
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org

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