Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jun 2005 21:17:26 +0200
From:      "Daniel S. Haischt" <me@stefan.haischt.name>
To:        Anton Berezin <tobez@tobez.org>
Cc:        ports@FreeBSD.org, perl@FreeBSD.org
Subject:   Re: FreeBSD Port: p5-DBD-SQLite-1.08
Message-ID:  <42A895C6.8040906@daniel.stefan.haischt.name>
In-Reply-To: <20050609072355.GA34272@heechee.tobez.org>
References:  <42A0486C.4050706@daniel.stefan.haischt.name> <20050606120304.GA1741@heechee.tobez.org> <42A4798E.3090309@daniel.stefan.haischt.name> <20050609072355.GA34272@heechee.tobez.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@daniel.stefan.haischt.name>

Want a complete signature??? Type at a shell prompt:
$ > finger -l haischt@daniel.stefan.haischt.name



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42A895C6.8040906>