Building from CVS
CVS is a way of storing and tracking changes in the code between releases. It always has the latest code and bug fixes. Here's step-by-step instructions for how to check out and build mimetypes from CVS. Before you begin, make sure you have the required dependencies installed. You also need, of course, cvs installed (version 1.11).
Step 1. Check out the source
Run the following commands in a directory that you have write access to (such as your home directory):
cvs -d ':pserver:email@example.com:/cvsroot/mimetypes' login
(Just hit enter for the password)
cvs -z3 -d ':pserver:firstname.lastname@example.org:/cvsroot/mimetypes' checkout mimetypes
You should see it listing all the source files.
Step 2. Build again
Once you've checked the code out of CVS, run the following commands:
If you see any errors here, you haven't installed everything you need. autogen.sh will also run ./configure for you once it's created, if it's created successfully.
make make test make install
Refer to the INSTALL file for further details.
Step 3. Update code
When there are changes to mimetypes's code, you'll want to update your local copy. You don't have to remove the entire directory that you checked out and redo the whole thing; instead, from inside the directory, run:
cvs update -Pd
The update will merge all the changes into the current files, and then you can rebuild as appropriate.