Date: Thu, 24 Jul 2003 17:41:00 +0200 From: "ggelpi@iol.it" <ggelpi@iol.it> To: "freebsd-cvsweb" <freebsd-cvsweb@freebsd.org> Message-ID: <HIJCWC$CF437F6D44DF2D3F28A2289EE3DCE30D@libero.it>
next in thread | raw e-mail | index | archive | help
I have the same problem described below. I notice that all files name hav= e a double // after path. Error: Failed to spawn GNU rlog on "/var/cv= sroot/CVSROOT//loginfo,v, /var/cvsroot/CVSROOT//rcsinfo,v, /var/cvsroot/= CVSROOT//editinfo,v, /var/cvsroot/CVSROOT//verifymsg,v, /var/cvsroot/CVS= ROOT//commitinfo,v, /var/cvsroot/CVSROOT//taginfo,v, /var/cvsroot/CVSROO= T//checkoutlist,v, /var/cvsroot/CVSROOT//cvswrappers,v, /var/cvsroot/CVS= ROOT//notify,v, /var/cvsroot/CVSROOT//modules,v, /var/cvsroot/CVSROOT//c= onfig,v". Having a look into cvsweb.cgi code it seems that $where end = with a /. In getDirLogs there is: my ($DirName) =3D "$cvsro= ot/$where"; Some lines below: If in getDirLogs I change this line:=0D = push (@files, &safeglob("$DirName/*,v")); whith pus= h (@files, &safeglob("$DirName . *,v")); the error goes away, but I ge= t the message: Note: There are n files, but none matches the current t= ag( ) 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 -------------------------------- Land= mines must be stopped. (CRI) -------------------------------- -------= -------------------------------------------------------------------- =0D = 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 di= scussion boards (newsgroups) to get help with my > problem. Yes, you'= re on the correct list. > I'm having trouble getting cvsweb to run. E= verything is set up > properly (CVSROOT, .conf file, the path to rm, rlo= g, etc...) but I > keep on getting this error > > Error: Failed to s= pawn GNU rlog on "all my file names in cvs" > > Did you set the $comma= nd_path in your configuration file correctly ? > (Currently "/bin:/usr/b= in:/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 sort= ed 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. =0D = HTH, -- \/ille Skytt=E4 scop at FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HIJCWC$CF437F6D44DF2D3F28A2289EE3DCE30D>