[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libdbd-sqlite-perl



Dnia 20-12-2004, pon o godzinie 07:41 -0600, Marcelo E. Magallon
napisał(a):
> On Mon, Dec 20, 2004 at 11:54:46PM +1300, Nick Phillips wrote:
> 
>  > Seems that DBD::SQLite has now migrated to sqlite3, but that
>  > libdbd-sqlite-perl has stayed at sqlite2 by actually packaging
>  > DBD::SQLite2 rather than DBD::SQLite.
> 
>  Uhm... from README.Debian:
> 
>     Package name changes from DBD::SQLite to DBD::SQLite2.
> 
>  meaning the Perl package name, not the Debian package name.
> 
>     Upstream package DBD::SQLite >= 1.00 uses sqlite3. For compatibility
>     reasons Debian use DBD-SQLite2 as foundation. Please, change in your
>     programs connect param from "dbi:SQLite" to "dbi:SQLite2".
> 
>  Sounds broken to me.  This means existing working programs will break
>  in favor of future upstream compatibility.  From upstream's changelog:
> 
>     0.32
>         - Renamed to DBD::SQLite2 to allow backwards compatibility
>         - Implemented busy_timeout API
>         - Add internal line number to error reporting
> 
>  The changelog for 1.x doesn't actually mention something breaking, so
>  my guess is that the new DBD::SQLite is backwards compatible and that

it is not.

>  there's a libdbd-sqlite3-perl stuck in incoming's queue.

No. There are prepared lidbd-sqlite2-perl packages but I have one
problem. Generated .so file is not linked with any of sqlite package. I
don't understand exactly how works xs packages of perl but I prepared
this package with manually linked libsqlite0.

"standard" package:

eloy@chlor:~$ ldd /usr/lib/perl5/auto/DBD/SQLite2/SQLite2.so
        libc.so.6 => /lib/libc.so.6 (0x4005e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

"manually linked package"

eloy@chlor:~/tmp/perl/libdbd-sqlite2-perl-0.33/blib/arch/auto/DBD/SQLite2$ ldd ./SQLite2.so 
        libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0x4005e000)
        libc.so.6 => /lib/libc.so.6 (0x400b6000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x401ea000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

If anyone could take look at packages from below and get response I'd be
happy:

deb http://kofeina.net/eloy/debian ./


When I fix problem with legacy package libdbd-sqlite2-perl package I'll
upload libdbd-sqlite-perl compiled against sqlite3 libs.

-- 
* Allegro.pl / Aukro.cz / Tetrako.hu
* Krzysztof 'eloy' Krzyżaniak
* <eloy@allegro.pl>



Reply to: