Hi Tina,
There are a few packages that are quite tricky to get to cross compile
and unfortunately one of them is Perl. The reason is that you need Perl
to build the module, and the Perl you use should be the one on the
target. The best you can do at compile time (on the host) is to build a
host version of the target package and use that. Using this is okay for
simple add-on perl modules, but more complex ones that need compiling of
shared libraries (such as DBI) may not be possible.
My recommendation would be to not try to upgrade the Perl package.
Although it's old, DBI has been around for a long time too. So I'd just
find a version of DBI that is the same vintage as Perl 5.8.8. Once you
have this you have 2 options:
1. Try to get it to cross compile (may not be easy)
2. Build/install it on the target system. This assumes it has the
horse-power to do this. You may also be able to use CPAN, but I
guess that still needs to do any building, which will require a
toolchain on the target.
Regards, Stuart
On 10/04/12 06:59, tina sss wrote:
Sir,
I am a student doing my project in Embedded Linux. I am using LTIB
tool to build u-boot, Linux kernel, root file system for the target
platform ARM Embedded Artists LPC3250. I have included Perl package in
LTIB
tool.The default version of Perl used is Perl5.8.8 which is quite
older version. I want to include DBI module to Perl package. I have
followed the steps given under the heading "How do i make changes to a
package and
capture them" in LTIB FAQ. But, build gets failed when i include DBI
module to Perl package. Please do help me to proceed further since i
am a newbie in this domain.
Regards,
Tina
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib