in reply to Installing XML::Parser on an embedded linux system.

If you have a truly equivalent machine with a compiler, I believe you can copy over the contents of the blib/ directory that's built when you run perl Makefile.PL; make.

Replies are listed 'Best First'.
Re: Re: Installing XML::Parser on an embedded linux system.
by SmokeyB (Scribe) on Nov 13, 2003 at 14:36 UTC
    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?
      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.