git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: problem with git-cvsserver

From
Aaonghus <thecolourblue@gmail.com>
Date
Aug 30, 2006, 18:20 UTC
Message-ID
<44F5D6F8.50307@gmail.com>
In-Reply-To
<Pine.LNX.4.63.0608301904360.28360@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin wrote:
Show 26 quoted lines
> Hi,
>
> On Wed, 30 Aug 2006, aonghus wrote:
>
>   
>>    install_driver(SQLite) failed: Can't locate DBD/SQLite.pm in @INC (@INC
>> contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
>> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
>> /usr/local/lib/site_perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7
>> .) at (eval 7) line 3, <STDIN> line 14.
>>
>> [...]
>>
>>    libdbd-sqlite3-perl: /usr/share/perl5/DBD/SQLite.pm
>>     
>
> Have you checked that /usr/share/perl5/DBD/SQLite.pm is actually there? 
> Because your perl does not think so.
>
> OTOH it could be that it only works when SQLite.pm is in 
> /usr/lib/perl5/DBD/ (note the "lib" instead of "share"), because in my 
> (working) setup, both the .pm and the .so are under /usr/lib/perl5/...
>
> Hth,
> Dscho
>   
Hi,

Thanks for the reply, but I think the files are in the right place- here is what I have:

    $ dpkg -S SQLite
    libdbd-sqlite3-perl: /usr/share/man/man3/DBD::SQLite.3pm.gz
    libdbd-sqlite3-perl: /usr/share/perl5/DBD/SQLite.pm
    libdbd-sqlite3-perl: /usr/lib/perl5/auto/DBD/SQLite
    libdbd-sqlite3-perl: /usr/lib/perl5/auto/DBD/SQLite/SQLite.bs
    libdbd-sqlite3-perl: /usr/lib/perl5/auto/DBD/SQLite/SQLite.so
and it really is there:
    $ ll /usr/share/perl5/DBD/SQLite.pm
    -rw-r--r-- 1 root root 16K Apr 18 16:20 /usr/share/perl5/DBD/SQLite.pm

I don't know much about the perl SQLite package, but it seems that git-cvsserver is not loading the correct module. The line 'use DBI;' seems to load only this module:

    'DBI.pm' => '1.51 from /usr/lib/perl5/DBI.pm'
Does it need something else to load the SQLite module?
a
Previous: Johannes SchindelinNext: Junio C Hamano
Message 3 of 11 in “problem with git-cvsserver”
  1. aonghusAug 30, 2006
  2. Johannes SchindelinAug 30, 2006
  3. aonghusAug 30, 2006
  4. Junio C HamanoAug 30, 2006
  5. Martin LanghoffAug 30, 2006
  6. Marco RoelandAug 31, 2006
  7. aonghusAug 31, 2006
  8. Martin LanghoffAug 31, 2006
  9. Johannes SchindelinAug 31, 2006
  10. Martin LanghoffSep 1, 2006
  11. Marco RoelandSep 1, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.