Compiling CPAN Perl Modules for the iPhone
I am trying to run a perl application on the iphone that requires modules.
This may not be difficult for someone who knows what they are doing. I have tried and gotten close, but need help with the last pieces.
So I've installed perl on the iphone and copied over the .pl and all of the required perl modules:
libwww-perl
SOAP::Lite
LWP::UserAgent
XML::Simple
XML::Parser
HTML::Template
URI
HTML::Tagset
MIME::Base64
Digest::MD5
Compress::Zlib
IO::Compress::Zlib
Compress::Zlib
IO::Compress::Base
These are the ones i suspect I will have problems with:
HTML::Parser *
Compress-Raw-Zlib *
libnet *
Most of these modules are just.pm files that get copied over. There are still some perl modules that need to be compiled. I have the toolchain setup and I am able to compile a few of the open source apps with no problems. I am not sure I understand what needs to be done to the Makefiles of the perl modules (such as HTML::Parser, Compress-Raw-Zlib, and libnet) so that they will cross compile for the iphone.
Has someone already compiled a bunch of the perl modules for the iphone? Is there somewhere to download \ upload precompiled perl modules for specific target devices? CPAN is not yet possible because the iphone does not have the tools to compile on it's own, but can CPAN on my mac be modified to cross compile for the iphone?
I would very much like to see this perl app running on the iphone. If anyone can help me get the last few perl modules compiled and running I would greatly appreciate it.