You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2004/06/10 12:14:09 UTC

Re: [Bug] Compile errors with 1.3.6 + threaded perl version 5.8.x on various platforms

>
> I tried to compile HTML::Embperl-1.3.6 on various platforms with Perl
> version 5.8.x and it looks like Embperl has problems with threaded perl.
>

Embperl 1.3.6 only supports Perl up to 5.8.0. 5.8.1/2/3 might or might not
work.

Embperl 2 supports all Perl versions from 5.005 up to Perl 5.8.3

Gerald


> The make terminates with the following error:
>
>
cc -c  -I/usr/local/sw/clients/i386_fbsd4/include -I/usr/local/sw/clients/i3
86_fbsd4/regex -I/usr/local/sw/clients/i386_fbsd4/os/unix -I/usr/local/sw/sr
c/mw/perl/test/HTML-Embperl-1.3.6/xs  -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H 
-fno-strict-aliasing -I/client/include -I/usr/local/include -O    -DVERSION=
\"1.3.6\"  -DXS_VERSION=\"1.3.6\" -DPIC -fPIC
"-I/sw/i386_fbsd4/perl-5.8/lib/5.8.3/i386-freebsd-thread-multi/CORE"  -DAPAC
HE  -o Embperl.o Embperl.c
> Embperl.c: In function `XS_HTML__Embperl_SetupRequest':
> Embperl.c:282: syntax error before `void'
> Embperl.c: In function `boot_HTML__Embperl':
> Embperl.c:1750: `XS_HTML__Embperl_CurrReq' undeclared (first use in this
function)
> Embperl.c:1750: (Each undeclared identifier is reported only once
> Embperl.c:1750: for each function it appears in.)
> *** Error code 1
>
> Stop in /usr/local/sw/src/mw/perl/test/HTML-Embperl-1.3.6.
>
> The systems I have tested, were the following:
>
> FreeBSD 4.9-RELEASE-p4 i386 with threaded perl-5.8.3: fails
> Debian Linux 2.4.18-1-686 i686 with threaded perl-5.8.2: fails
> SuSE Linux 2.4.20-4GB i686 with non-threaded perl-5.8.1: succeeds
>
> The problem occurs no matter if mod_perl support is enabled or
> not. The apache version is 1.3.29.
>
> I searched the mailing list archive and found a related thread in
> http://www.ecos.de/~mailarc/embperl/2003-06/msg00007.html, but
> unfortunately there were no hints in the answers, what went wrong.
>
> I can certainly provide more details if required.
>
> Thank your very much for any suggestions in advance.
>
> Please also answer me personally as I am no member of this mailing list.
>
> -- 
> Gruss / Best regards   |  LF.net GmbH        |  fon +49 711 90074-411
> Matthias Waffenschmidt |  Ruppmannstr. 27    |  fax +49 711 90074-33
> mw@LF.net              |  D-70565 Stuttgart  |  http://www.lf.net
>


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


Re: [Bug] Compile errors with 1.3.6 + threaded perl version 5.8.x on various platforms

Posted by Matthias Waffenschmidt <mw...@LF.net>.
Hi,

On Fri, Jun 11, 2004 at 08:08:10AM +1000, Angus Lees wrote:
> At Thu, 10 Jun 2004 12:14:09 +0200, Gerald Richter wrote:
> > > I tried to compile HTML::Embperl-1.3.6 on various platforms with Perl
> > > version 5.8.x and it looks like Embperl has problems with threaded perl.
> 
> Take a look at the patches in my libhtml-embperl-perl Debian package -
> that works against the (threaded) Debian perl-5.8.3.  If you are on a
> non-Debian system, look for the newest libhtml-embperl-perl*.diff.gz
> file in <nearest debian mirror>/pool/main/libh/libhtml-embperl-perl/
> 
> Embperl 1.3 won't actually work *with* threads, but should work fine
> with a perl compiled with thread support.

Thank you very much for your suggestion and sorry for my late
feedback. The platform were the modul is currently needed is indeed
Debian, but a custom perl installation on woody.

Unfortunately the problem remains the same. I'll try to convince them
using the 2.0 version of the module.

Thanks again for your help.

-- 
Gruss / Best regards   |  LF.net GmbH        |  fon +49 711 90074-411
Matthias Waffenschmidt |  Ruppmannstr. 27    |  fax +49 711 90074-33
mw@LF.net              |  D-70565 Stuttgart  |  http://www.lf.net

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


Re: [Bug] Compile errors with 1.3.6 + threaded perl version 5.8.x on various platforms

Posted by Angus Lees <gu...@inodes.org>.
At Thu, 10 Jun 2004 12:14:09 +0200, Gerald Richter wrote:
> > I tried to compile HTML::Embperl-1.3.6 on various platforms with Perl
> > version 5.8.x and it looks like Embperl has problems with threaded perl.

Take a look at the patches in my libhtml-embperl-perl Debian package -
that works against the (threaded) Debian perl-5.8.3.  If you are on a
non-Debian system, look for the newest libhtml-embperl-perl*.diff.gz
file in <nearest debian mirror>/pool/main/libh/libhtml-embperl-perl/

Embperl 1.3 won't actually work *with* threads, but should work fine
with a perl compiled with thread support.

-- 
 - Gus

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