Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 Faulkner Oct 16 '12 at 14:10

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


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.