ViewVC Support

ViewVC Support

Posted by: robfrog
Posted on: 2007-02-26 21:36:00

Hi, I'm brand new to dreamhost and so far I'm loving it. This is the first time I've ever had webhosting so I'm sort of a newb. One question that I have so far is how to install ViewVC on your hosting area? I've uploaded the ViewVC stuff to my hosting area, I'm ssh'd into my web hosting area. I typed in the ./viewvc-install ../Installation/ViewVC ... And the view vc installation comes back saying ": No such file or directory" . Has anyone else tried installing ViewVC yet? I LOVE the way they display information about your repo. Thanks for the help. Sorry if this is a newbtacular question :D

Re: ViewVC Support

Posted by: nathan823
Posted on: 2007-02-26 22:05:00

first make sure that you upload the files into the right folder.

There are three folders in your web directory. The files should go into "yourdomain.com" folder.

Re: ViewVC Support

Posted by: robfrog
Posted on: 2007-02-26 22:06:00

Thanks, wow you're great. Fast response time. I'll give it a whirl and see what happens :D

Edit:

arggg... Didn't work... this is what I see.

[gingerale]$ ls
Installation Maildir logs ****.com svn
[gingerale]$ cd ****.com/
[gingerale]$ ls
ViewVC cgi-bin img index.php
[gingerale]$ cd ViewVC/
[gingerale]$ ls
CHANGES bin lib tools viewvc.org
COMMITTERS cvsgraph.conf.dist notes tparse windows
INSTALL docs templates viewvc-install www
README elemx tests viewvc.conf.dist
[gingerale]$ ./viewvc-install
: No such file or directoryEdited by robfrog on 02/26/07 10:12 PM (server time).

Re: ViewVC Support

Posted by: nathan823
Posted on: 2007-02-26 22:10:00

:P

I'm not familiar with ViewVC. But if you have this error message "no such file or directory", it is possible you put the files in the wrong folder.

Good luck!

Re: ViewVC Support

Posted by: robfrog
Posted on: 2007-02-27 01:27:00

I've tried a million things... still the same old
: no such file or directory ....

When I try to do obnoxious things like ./dlfwkjdfwdj
atleast it says -bash no such file

Only when I try to run that install file does it say : no such file without anything else. ...

This doesn't seem like it should be that hard. I followed all of the directions in the INSTALL document that came with it. Any help on installing this would be greatly appreciated.

Re: ViewVC Support

Posted by: anonymous2
Posted on: 2007-02-27 02:15:00

I tried and got:

In reply to:


$ ./viewvc-install


This is the ViewVC 1.0.3 installer.

It will allow you to choose the install path for ViewVC. You will
now be asked some installation questions.

Defaults are given in square brackets. Just hit [Enter] if a default
is okay.

Installation path [/usr/local/viewvc-1.0.3]:


The top of the script is: #!/usr/bin/env python

If you do: /usr/bin/env python at command line, do you get in python? (Control-D to exit)


Re: ViewVC Support

Posted by: robfrog
Posted on: 2007-02-27 02:20:00


[~/******.com/ViewVC]$ /usr/bin/env python
Python 2.3.5 (#2, Oct 16 2006, 19:19:48)
[GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>


Re: ViewVC Support

Posted by: robfrog
Posted on: 2007-02-27 02:25:00

I think i've figured out the problem. I got a direct dump from the current SVN repo... So It's probably not released. I'm goign to try 1.0.3 and see what happens.

Re: ViewVC Support

Posted by: robfrog
Posted on: 2007-02-27 02:33:00

Ok that didn't work either.

Back to the basics... When you download the .gz where are you extracting it to ?

Re: ViewVC Support

Posted by: robfrog
Posted on: 2007-02-27 02:38:00

GOT IT!

I was just downloading the ZIP and extracting it then copying it over. The last time I tried I actually downloaded the .gz and did a tar xzf .... So what's the difference I guess ?

Re: ViewVC Support

Posted by: anonymous2
Posted on: 2007-02-27 02:42:00

Could be. I did:

wget http://viewvc.tigris.org/files/documents/3330/34803/viewvc-1.0.3.tar.gz
tar xvzf viewvc-1.0.3.tar.gz

Re: ViewVC Support

Posted by: robfrog
Posted on: 2007-02-27 02:54:00

Worked for me. Hey I really appreciate your help! Thanks a million.

Re: ViewVC Support

Posted by: anonymous2
Posted on: 2007-02-27 03:51:00

You're welcome.

FWIW, I tried the zip and got the same 'no such file' error. dos2unix on viewvc-install got it to run, so it looks like it's a CR/LF DOS/UNIX difference thing. You'd need to convert more files, so getting the tar.gz is the way to go. smile

Now you can go update the wiki. cool

Re: ViewVC Support

Posted by: robfrog
Posted on: 2007-02-27 04:15:00

I would love to update the wiki. I would want to wait until I have it configured and working well first though. I'm still pretty noobish. Plus i've been up all night due to a combination of a livid interest in web stuff and someone SOMEHOW getting paint thinner in my heating unit which now billows out paint thinner fumes all night long :(

If I have lots of typos or don't make sense at times... Blame the fumes.

Re: ViewVC Support

Posted by: antilope
Posted on: 2008-07-16 07:27:00

Hello, thanks to this thread i managed to install ViewVC without problems (i also got robfrog's error).
(By the way, ViewVC's latest version is 1.0.5)

I don't understand how you managed to get it working tho. I apparently can't get the server to run the cgi scripts (unless there's something else i'm doing wrong).
I tried following the steps in this Dreamhost's wiki:
http://wiki.dreamhost.com/CGI

I could be wrong, because there's no way to tell if the cgi script is being executed. But then, if it was, the browser would load ViewVC, right?
I installed ViewVC in the main public folder, made a directory called cgi-bin, and put the script there, like the wiki says.
Installation was correct, at least the installer told so. The last step was to get the viewvc.cgi script running...

Does anyone else have ViewVC running in their host? How did you make it happen? Please, help me on this one. :(


Tags: newbdreamhostrepoone questionsshuploadedweb hostingi love