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

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) ...

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

Replies are listed 'Best First'.
Re^7: EXTERN.h missing when compiling on OpenWrt
by morgon (Priest) on Dec 12, 2018 at 10:25 UTC
    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

        Because I hate cross-compiling and something may go complex with dependencies, can I ask why not make more RAM by adding SWAP from a USB?

        Lot's of options if no USB port is available: e.g. mount a remote filesystem and make the SWAP on mounted disk. Or mount a USB from a remote host and use that as SWAP.

        bw, bliako