Thanks simonm!
I tried this out, but now when I run my code on a browser, once it hits a page that uses the XML::Parser, i now get a 502 Gateway error - Not CGI compliant. It works on all the other systems, just not this one. Is there something I might be missing? | [reply] |
Check your web server's error log; I bet that XML::Parser isn't loading properly, and that failure is producing the 502 message you see.
More generally, I suspect that your compilation host doesn't really have "the same environment" as the embedded Linux box. Just having another machine running Linux is not enough; it needs to be truly compatible at the hardware and library level. See Roger's comments below about cross-compilation techniques, or contact your embedded systems vendor for more information.
| [reply] |