[DBD-SQLite] ok to add a Makefile.PL knob for enabling RTREE support

Kenichi Ishigaki kishigaki at gmail.com
Fri Aug 27 00:42:36 GMT 2010


Hi. Please see the ExtUtils::MakeMaker's pod and try
"perl Makefile.PL DEFINE=-DDBD_SQLITE_ENABLE_RTREE"
or whatever. You'll get what you want. As for CPAN
clients, you can tweak a configuration option like
"makepl_arg" (permanently or tentatively).

Hope this helps.

Kenichi


On Thu, 26 Aug 2010 09:55:00 -0700, George Hartzell <hartzell at alerce.com> wrote:

>
>I use SQLITE's Rtree code and as the Makefile.PL currently stands I
>need to unpack it, add -DSQLITE_ENABLE_RTREE' to @CC_DEFINE, repack
>the tarball and then install it by hand instead of just being able to
>use cpan.
>
>I'd like to propose (and I'd be happy to generate a patch) something
>along the lines of adding a check for an environment variable like
>DBD_SQLITE_ENABLE_RTREE and if it's present/true/... then adjust
>@CC_DEFINE.
>
>Any reason this approach won't work or is a bad idea?
>
>Thanks,
>
>g.
>
>
>_______________________________________________
>DBD-SQLite mailing list
>DBD-SQLite at lists.scsys.co.uk
>http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbd-sqlite




More information about the DBD-SQLite mailing list