Gerald Richter wrote:
Hi,

Looks like some configuration in your httpd.conf is not ok. Could you send us 
the parts of your httpd.conf that referes to Embperl?

I found the flaw, it was actually in perl configuration. Somehow it did not use the correct "printf" format to print hash reference pointer values ( I was getting "HASH(0x%)" everywhere, without the pointer value - UVxp was defined to /**/ ). This caused Embperl::Syntax::CloneHash() to fail copying correcly the TokenTables, thus all tokens were empty when BuildTokenTable() was called.

It's working perfecly now.

Thanks for your help anyway

Álvaro

Gerald
-----Original Message-----
From: Álvaro Lopes [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 10:00 PM
To: embperl@perl.apache.org
Subject: MIPS64 and Embperl

Hello list,

I'd like to know if anyone has suceeded running embperl2 on MIPS 64 bit (linux). I'm having some weird behaviour I find hard to debug:

* apache loads perfectly the mod_perl.so and embperl.so (I can see that on the process mmap).

* The pages are *not* interpreted by embperl. If I change the "PerlHandler" to something bogus, apache complains (so I take it is loading the handler perfectly). Basically the full text is sent to the output - If I use a handler of my own it works.

* There are no apache logs nor crashes, just does not process the pages. The same setup on iX86 works perfectly.

Running embperl direcly seems to work ok, eg, running [ perl -e "use Embperl; Embperl::Execute('test.epl');" ] works ok.

gdb/strace are hard to get working properly on this arch, so your previous experience may help a lot here.

TIA

Álvaro
DISCLAIMER: This message may contain confidential information or privileged material and is intended only for the individual(s) named. If you are not a named addressee and mistakenly received this message you should not copy or otherwise disseminate it: please delete this e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. Therefore, the sender does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmissions. Please request a hard copy version if verification is required. Critical Software, SA.


** Virus checked by BB-5000 Mailfilter **

DISCLAIMER: This message may contain confidential information or privileged 
material and is intended only for the individual(s) named. If you are not a 
named addressee and mistakenly received this message you should not copy or 
otherwise disseminate it: please delete this e-mail from your system and notify 
the sender immediately. E-mail transmissions are not guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete or contain viruses. Therefore, the sender does not 
accept liability for any errors or omissions in the contents of this message 
that arise as a result of e-mail transmissions. Please request a hard copy 
version if verification is required. Critical Software, SA.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to