perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: HTML::Embperl make fails (Old.xs?)
Date Thu, 29 Jan 2004 14:58:16 GMT
Hemond, Steve wrote:
> Thank you very much! I have removed the commented line in several
> files.
>
> I am using the Aix C Compiler version 6. (xlc), there is surely a way
> to tell the compiler to accept both comment styles?
>

It's my fault. There are several compiler that aren't accept // as a comment
and I need to remove them before a new release. Just missed it this time,
sorry.

> Anyway, I still have this problem :
>
> /usr/local/bin/perl /usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp
> -typemap /usr/local/lib/perl5/5.8.2/ExtUtils/typemap -typemap typemap
> xs/Embperl/App/App.xs > xs/Embperl/App/App.xsc && mv
> xs/Embperl/App/App.xsc xs/Embperl/App/App.c
> Can't find typemap in /root/.cpan/build/Embperl-2.0b10/xs/Embperl/App
> *** Error code 2
>
> 1. What is a typemap?

A typemap is used by the Perl XS Preprocessor (which converts xs files to c
files) to map Perl datatypes to C datatypes.

> 2. Why I get to that error on both Aix and Freebsd? :-)
>

try

cd xs
make
cd ..
make

Does this change anything?

If yes, please send me your top level Makefile. This issue should be fixed,
but Perl 5.8.2 has a new version of MakeMaker and maybe I have to take a
look at it again to get it working with the new MakeMaker version.

Gerald



> Thank you very much for your help again, hope to be able to run
> Embperl soon :-)
>
> Best regards,
>
> Steve Hemond
> Programmeur Analyste / Analyst Programmer
> Smurfit-Stone, Ressources Forestières
> La Tuque, P.Q.
> Tel.: (819) 676-8100 X2833
> shemond@smurfit.com
>
>
>
>  > -----Original Message-----
>  > From: Gerald Richter [mailto:richter@ecos.de]
>  > Sent: Thursday, January 29, 2004 12:40 AM
>  > To: Hemond, Steve; embperl@perl.apache.org
>  > Subject: Re: HTML::Embperl make fails (Old.xs?)
>  >
>  >
>  > Hi,
>  >
>  > > "Old.xs", line 96.16: 1506-046 (S) Syntax error.
>  > >...
>  > >    +96          if (0) //Node_self(DomTree_self (r ->
>  > >
>  >
>  > This will be because of the C++ style comment on this line.
>  > Not all compiler accept this in C code. Just turn the C++
>  > commnet (//) into a C comment (/* ... */) or just delete
>  > lines 96 - 98, since they doesn't do anything anyway
>  >
>  > Gerald
>  >
>  >
>  > --------------------------------------------------------------
>  > Gerald Richter     ecos electronic communication services gmbh
>  > IT-Securitylösungen * dynamische Webapplikationen * Consulting
>  >
>  > Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
>  > E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
>  > WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
>  > --------------------------------------------------------------
>  > |
>  > |   ECOS BB-5000 Firewall- und IT-Security Appliance:
> www.bb-5000.info
>>
> +-------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------


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


Mime
View raw message