in reply to Re^4: EXTERN.h missing when compiling on OpenWrt
in thread EXTERN.h missing when compiling on OpenWrt

I remember having tried cpanm but I had issues.

I may try again, but my understanding is that the missing EXTERN.h will not be fixed by getting a cpan-client to work.

This does not come with a module but should part of the perl-installation (or am I wrong?).

  • Comment on Re^5: EXTERN.h missing when compiling on OpenWrt

Replies are listed 'Best First'.
Re^6: EXTERN.h missing when compiling on OpenWrt
by Corion (Patriarch) on Dec 12, 2018 at 10:23 UTC

    No, CPAN::SQLite needs DBI and DBD::SQLite, and thus CPAN::SQLite is not part of the Perl core. And now that I'm writing about this, this approach is a non-starter for your case, because both DBI and DBD::SQLite will need a C compiler and the Perl headers, which you don't have (yet) ...

      I have a working gcc and make on the device.

        I have a working gcc and make on the device.

        The device is crippled (ram) so it doesn't matter what you have on it

        Best option is to cross compile,

        I imagine that is loading a virtual machine on a desktop with enough ram to handle the job

        Then you can share a tarball/rpm/whatever to the package repository