FreeBSD Port: p5-DBD-SQLite-1.08
Daniel S. Haischt
me at stefan.haischt.name
Thu Jun 9 19:17:33 GMT 2005
Anton Berezin wrote:
> On Mon, Jun 06, 2005 at 06:27:58PM +0200, Daniel S. Haischt wrote:
>
>
>>>>I am trying to upgrade my p5-DBD-SQLite installation. During
>>>>the build process I am getting the following error message:
>>>>
>>>>===> Building for p5-DBD-SQLite-1.08
>>>>cp lib/DBD/SQLite.pm blib/lib/DBD/SQLite.pm
>>>>/usr/local/bin/perl /usr/local/lib/perl5/site_perl/5.8.6/ExtUtils/xsubpp
>>>>-typemap /usr/local/lib/perl5/5.8.6/ExtUtils/typemap SQLite.xs >
>>>>SQLite.xsc && mv SQLite.xsc SQLite.c
>>>>Cannot open 'SQLite.xsi': No such file or directory in SQLite.xs, line 72
>>>>*** Error code 1
>>>>
>>>>Actually I have no idea where to search for 'SQLite.xsi'.
>>>>Is this a file that gets generated?
>
>
> Ok. The Makefile you have sent does not have a section which is
> typically generated by DBI::DBD::dbd_postamble(). The Makefile.PL for
> DBD::SQLite executes this sub, evaled (meaning that no problems in it
> are going to be reported).
>
> Could you try the following:
>
> make clean
> make patch
> vi work/DBD-SQLite-1.08/Makefile.PL
>
> Make this line:
> eval { DBI::DBD::dbd_postamble(@_) };
> look like this:
> DBI::DBD::dbd_postamble(@_);
>
> make configure
I did change the line as suggested. Now I get ...
===> Configuring for p5-DBD-SQLite-1.08
Checking if your kit is complete...
Warning: the following files are missing in your kit:
getsqlite.pl
Please inform the author.
Undefined subroutine &DBI::DBD::dbd_postamble called at ./Makefile.PL
line 59.
>
> I would expect that configure stage to fail, the output would be
> interesting.
>
> Also, the output of plain
>
> $ perl -MDBI::DBD -le 'print DBI::DBD->dbd_postamble()'
Here I get ...
root at abyssone# perl -MDBI::DBD -le 'print DBI::DBD->dbd_postamble()'
Can't load '/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI/DBI.so'
for module DBI:
/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/DBI/DBI.so: Undefined
symbol "PL_dowarn" at /usr/local/lib/perl5/5.8.6/mach/DynaLoader.pm line
230.
at /usr/local/lib/perl5/site_perl/5.8.6/mach/DBI.pm line 254
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.6/mach/DBI.pm line 254.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.6/mach/DBI/DBD.pm line 2745.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.6/mach/DBI/DBD.pm line 2746.
Compilation failed in require.
BEGIN failed--compilation aborted.
After having re-installed p5-DBI I am now able to install
the actual p5-DBD-SQLite port. Thanx for guiding me through
this!
Next, I have to figure out why I am still not able to
upgrade my mod_perl2 installation ;)
--
Mit freundlichen Gruessen / With kind regards
DAn.I.El S. Haischt
Spammers, please please send any mail to:
Daniel S. Haischt <me_c at daniel.stefan.haischt.name>
Want a complete signature??? Type at a shell prompt:
$ > finger -l haischt at daniel.stefan.haischt.name
More information about the freebsd-perl
mailing list