Menu

how to handle cvsversions

2001-10-24
2001-10-25
  • Fernando Martins

    Hi!

    I'm trying to setup LXR on Windows but I'm stuck with lxr.conf (version 0.8). I just want to be able to browse locally (I've Apache and MySQL setup up) a source directory with a bunch of .c and .h files. I don't have any versions to deal with.

    I created an empty cvsversions file; no good. I commented out variable v; no good.

    So, how can I avoid this version stuff?

    Thanks

     
    • Malcolm Box

      Malcolm Box - 2001-10-25

      lxr requires versions to work.  What you need to do is treat your collection of files as a single version (which they are).

      So either put a single version name in the cvsversions file, or put a single version in the lxr.conf file like this:

      'v' => {'name'    => 'Version',
                'range'   => [qw (onlyone) ],
                'default' => 'onlyone'},

      Your source then needs to go in $sourceroute/onlyone rather than just in $sourceroute.

      If you get it working on Windows, please let us know - I don't think anyone has it running there at the moment.

      Cheers,

      Malcolm  

       
      • Fernando Martins

        Thanks for the quick reply!

        I tried it with a variation: use the cvsversions file (to minimize changes) anyway just with one entry. It worked fine.

        As for porting LXR to Windows, this is an idea doomed to fail because I've never used Apache, only a little of MySQL, I use Perl occasionally and I only have residual time to hack it...

        Anyway, I'm trying and with feedback like yours, who knows ;)

        Next problem: MySQL.pm complains about lack of DBI.pm. There is a DBI.pm file in the same dir as MySQL.pm but I realised it's not the good one. It seems I have to use DBI from

        http://dbi.symbolstone.org/

        and also download the MySQL modules which I already did. Next step is to install this stuff (tomorrow, hopefully, as time run out) and try it.

        I'll report back. Please, let me know if this is the wrong track.

        Cheers,

        Fernando

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.