No subject

ggelpi at iol.it ggelpi at iol.it
Thu Jul 24 08:41:02 PDT 2003


I have the same problem described below. I notice that all files name have a
double // after path.

Error: Failed to spawn GNU rlog on "/var/cvsroot/CVSROOT//loginfo,v,
/var/cvsroot/CVSROOT//rcsinfo,v, /var/cvsroot/CVSROOT//editinfo,v,
/var/cvsroot/CVSROOT//verifymsg,v, /var/cvsroot/CVSROOT//commitinfo,v,
/var/cvsroot/CVSROOT//taginfo,v, /var/cvsroot/CVSROOT//checkoutlist,v,
/var/cvsroot/CVSROOT//cvswrappers,v, /var/cvsroot/CVSROOT//notify,v,
/var/cvsroot/CVSROOT//modules,v, /var/cvsroot/CVSROOT//config,v".

Having a look into cvsweb.cgi code it seems that $where end with a /.

In getDirLogs there is:

        my ($DirName) = "$cvsroot/$where";

Some lines below:

If in getDirLogs I change this line:

        push (@files, &safeglob("$DirName/*,v"));

whith
        push (@files, &safeglob("$DirName . *,v"));

the error goes away, but I get the message:

Note: There are n files, but none matches the current tag( )

Only Directory are now visible and browsable.

My system is RH 9 full patched.

I also verified the same problem in version 1.0.5 and 1.0.4.

-- 
Gelpi ing. Andrea
--------------------------------
Landmines must be stopped. (CRI)
--------------------------------

---------------------------------------------------------------------------

On Tue, 2003-06-17 at 00:07, Yves Fournier wrote:

> I'm not sure if I'm asking the right group of people for help but I
> haven't found any discussion boards (newsgroups) to get help with my
> problem.

Yes, you're on the correct list.

> I'm having trouble getting cvsweb to run.  Everything is set up
> properly (CVSROOT, .conf file, the path to rm, rlog, etc...)  but I
> keep on getting this error
>
>  Error: Failed to spawn GNU rlog on "all my file names in cvs"
>
>  Did you set the $command_path in your configuration file correctly ?
> (Currently "/bin:/usr/bin:/usr/local/bin"
>
> I am able to run rlog from the command line but I can't get it to run
> in the cvsweb.cgi  script.
>
> The web server that I'm running is Apache, I'm not sure which modules
> are running, my Perl version is 5.0.8 using mod_perl 2

Most likely that's the problem, mod_perl 2 has issues with the current
cvsweb.cgi.  These will be sorted out eventually.  In the meantime, I'd
say running without cvsweb.cgi without mod_perl 2 is a better bet.
OTOH, mod_perl 1.2x should work.

HTH,
-- 
\/ille Skyttä
scop at FreeBSD.org




More information about the freebsd-cvsweb mailing list