Hi ppl,
I have tried installing Embperl from CPAN but got this error :
map /usr/local/lib/perl5/5.8.2/ExtUtils/typemap -typemap typemap
Embperl.xs > Embperl.xsc && mv Embperl.xsc Embperl.c
cc -c -I/usr/local/apache2/include -I/usr/local/apache2/regex
-I/usr/local/apache2/os/unix -I/usr/local/cpan/build/Embperl-2.0b10/xs
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include
-I/usr/local/lib/perl5/5.8.2/aix/CORE -DMOD_PERL -DMP_COMPAT_1X -O
-DVERSION=\"2.0b10\" -DXS_VERSION=\"2.0b10\"
"-I/usr/local/lib/perl5/5.8.2/aix/CORE" -DAPACHE -DAPACHE2 -DEP2 -o
Embperl.o Embperl.c
"Old.xs", line 96.16: 1506-046 (S) Syntax error.
"Old.xs", line 96.126: 1506-277 (S) Syntax error: possible missing ';'
or ','?
"Old.xs", line 97.173: 1506-275 (S) Unexpected text ')' encountered.
make: 1254-004 The error code from the last command is 1.
There seem to be something wrong within Old.xs file.
Here is a snippet of Old.xs starting line 93 to line 99 :
+93 CODE:
+94 {
+95 char * p = SvPV (sText, l) ;
+96 if (0) //Node_self(DomTree_self (r ->
Component.xCurrDomTree), r -> Compon
ent.xCurrNode) -> nType == ntypDocumentFraq)
+97 Node_appendChild (r->pApp, DomTree_self (r ->
Component.xCurrDomTree),
r -> Component.xCurrNode, r -> Component.nCurrRepeatLevel, ntypCDATA,
0, p, l, 0, 0, NULL
) ;
+98 else
+99 r -> Component.xCurrNode = Node_insertAfter_CDATA
(r->pApp, p, l, (r -> Co
mponent.nCurrEscMode & 3)== 3?1 + (r -> Component.nCurrEscMode & 4):r ->
Component.nCurrEs
cMode, DomTree_self (r -> Component.xCurrDomTree), r ->
Component.xCurrNode, r -> Componen
t.nCurrRepeatLevel) ;
Any clues?
Thank you very much in advance for your help,
Best regards,
Steve Hemond
Programmeur Analyste / Analyst Programmer
Smurfit-Stone, Ressources Forestieres
La Tuque, P.Q.
Tel.: (819) 676-8100 X2833
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]