Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running Mac OS X 10.6.8, and I'm trying to compile a software package originally developed for Linux.

The code is under development and uses a CVS repository and is attempting to access /srv/cvs/CVSROOT/history, but I don't have a /srv directory.

Is there a way I could fix this?

share|improve this question
3  
To those considering voting this closed and moving this to SO, this belongs here. –  Journeyman Geek Oct 15 '12 at 23:24
    
But it has the words compile and code in it! –  Tanner Oct 16 '12 at 14:10

1 Answer 1

Depending on the software, there may be a way to change the location of the CVS repository. That might be a configure flag or an environment variable.

But if not, you can just create the directory.

sudo mkdir -p /srv/cvs
sudo chown USER /srv/cvs

Replace USER with whatever user needs to own the repository. Then, as that user, initialize the CVS repository like this

sudo su USER -c "CVSROOT=/srv/cvs cvs init"
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.