[DBD-SQLite] SQLite compiled without SQLITE_ENABLE_COLUMN_METADATA
Kenichi Ishigaki
kishigaki at gmail.com
Sun Oct 4 04:59:29 GMT 2015
Hi.
It looks like those two errors come from different reasons. The first
one (of t/51...) can be safely skipped if DBD::SQLite is not compiled
with ENABLE_COLUMN_METADATA (see t/rt_40594...). You probably need to
update your manifest or run util/constants.pl (in the repository)
before you make a distribution to address the second.
Regards,
Kenichi
2015-10-01 0:16 GMT+09:00 Vladimir Marek <Vladimir.Marek at oracle.com>:
> Hi,
>
> I am working on integrating DBD::SQLite into Solaris. I need it to link
> to /usr/lib/libsqlite3.so . The problem is that the library is compiled
> without SQLITE_ENABLE_COLUMN_METADATA. Is there any experience with this
> combination?
>
> I can make DBD::SQLite compile by removing the define in question from
> Makefile.PL. Running test shows some problems afterward:
>
> t/51_table_column_metadata.t .......................... 1/33
> # Failed test 'id is auto incremental'
> # at t/51_table_column_metadata.t line 21.
>
> # Failed test 'data type is correct'
> # at t/51_table_column_metadata.t line 22.
> # got:''
> # expected: 'integer'
>
> # Failed test 'id is a primary key'
> # at t/51_table_column_metadata.t line 23.
>
> # Failed test 'data type is not defined'
> # at t/51_table_column_metadata.t line 31.
> # got: '�('
> # expected: undef
>
> # Failed test 'id is auto incremental'
> # at t/51_table_column_metadata.t line 21.
>
> # Failed test 'data type is correct'
> # at t/51_table_column_metadata.t line 22.
> # got:''
> # expected: 'integer'
>
> # Failed test 'id is a primary key'
> # at t/51_table_column_metadata.t line 23.
>
> # Failed test 'data type is not defined'
> # at t/51_table_column_metadata.t line 31.
> # got: '�('
> # expected: undef
> # Looks like you failed 8 tests of 33.
>
>
> and
>
>
> t/virtual_table/11_filecontent_fulltext.t ............. 2/15
> # Failed test 'search '"use strict" AND "use warnings"''
> # at t/virtual_table/11_filecontent_fulltext.t line 79.
> # Structures begin differing at:
> # $got->[1] = 'lib/DBD/SQLite/VirtualTable.pm'
> # $expected->[1] = 'lib/DBD/SQLite/Constants.pm'
>
> # Failed test 'search '"use strict" AND "use warnings"' -- no
> # lib/DBD/SQLite/VirtualTable.pm'
> # at t/virtual_table/11_filecontent_fulltext.t line 92.
> # Structures begin differing at:
> # $got->[1] = 'lib/DBD/SQLite/VirtualTable/FileContent.pm'
> # $expected->[1] = 'lib/DBD/SQLite/Constants.pm'
>
> # Failed test 'search '"use strict" AND "use warnings"' -- after
> # reconnect'
> # at t/virtual_table/11_filecontent_fulltext.t line 105.
> # Structures begin differing at:
> # $got->[1] = 'lib/DBD/SQLite/VirtualTable/FileContent.pm'
> # $expected->[1] = 'lib/DBD/SQLite/Constants.pm'
> # Looks like you failed 3 tests of 15.
>
>
> and
>
>
> t/virtual_table/11_filecontent_fulltext.t
>
>
> Thank you
> --
> Vlad
>
> _______________________________________________
> 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