LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-07-2006, 01:23 PM   #1
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Rep: Reputation: 30
How to cvs


Hello,

I have a folder with some sourcefiles that needs to be compiled. I am doing this under the Kubuntu Livecd.

I have never cvs before so my question is... How do I do it?

Thanks in advance!
 
Old 08-07-2006, 02:02 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Do you mean that the source files are in the repository and you want to get a copy of them on your box to work with? If that's the case you need to login to the CVS server and then checkout the files. For example:
Code:
cvs -d :pserver:jrandom@cvs.foobar.com:/usr/local/cvs login
cvs checkout myproj
I recommend having a look through the tutorial at Open Source Development with CVS, that's where the example came from. You need to know what type of access the server supports (the example assumes pserver), your username/password, what your CVSROOT setting should be (the : pserver:jrandom@cvs.foobar.com:/usr/local/cvs from above) and the name of the module that corresponds to the code you want to work with (the myproj from above).
 
Old 08-07-2006, 02:17 PM   #3
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
Hehehe, I meant Compile From Source, not Concurrent Versions System.

My bad I always thought cvs meant Compile From Source but that would be cfs.

So, how do I compile from source?
 
Old 08-07-2006, 02:25 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
No problem - that's the risk with abbreviations, different meanings for different people Generally, compiling a package for your distro from sources is just a few steps:
Code:
cd source-folder
./configure
make
su -
make install
Those steps are common, but not the only way to do it - there should be a README file and an INSTALL file which describes how your sources need compilation. Can you tell us what the application is? Maybe someone else here has used it and has more specific advice.
 
Old 08-07-2006, 02:50 PM   #5
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
There is nothing said about installing or compiling anything in the readme. I opened Konsole and went to the folder where the source files were in, then I tried what you suggested but Bash kept saying "Command not found". In Konqueror I made the files excecutable and even tried all the commands with sudo but it didn't work. There is a file called "Makefile".
 
Old 08-07-2006, 05:18 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
OK - is the application part of Kubuntu? If so, can you tell us what it is so that someone who's compiled it can comment.

If not, since there's a Makefile, have you tried just running make? After that, try running make install - however if you have missing dependencies the compile will fail. The dependencies should have been documented in the INSTALL and/or README files...
 
Old 08-08-2006, 12:48 PM   #7
V!NCENT
Member
 
Registered: Dec 2005
Location: The Netherlands
Distribution: Kubuntu 8.10 KDE4
Posts: 208

Original Poster
Rep: Reputation: 30
I don't need to compile it anymore. I'm running a distri with the package pre-installed on it. Thanks for you time anyway!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running CVS Server on Fedora Core 4 with pserver as "cvs" user rupak Fedora 2 09-17-2005 02:06 PM
Running CVS Server with pserver as "cvs" user on Fedora Core 4 rupak Linux - Software 2 09-17-2005 12:10 PM
create a cvs repository with existing files to cvs powah Linux - Software 1 08-19-2005 09:19 AM
Obtaining sources by CVS - no cvs access cybrjackle *BSD 0 01-18-2005 08:28 AM
cvs wine. Unable to download. Error "cvs: command not found" gonus Debian 5 08-03-2004 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration