[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] How to build from CVS
From: |
Eric Blossom |
Subject: |
[Discuss-gnuradio] How to build from CVS |
Date: |
Sun, 30 Jan 2005 12:55:18 -0800 |
User-agent: |
Mutt/1.5.6i |
On Sun, Jan 30, 2005 at 08:26:28AM -0800, cfk wrote:
>
> The second is "how to checkout from cvs the gnuradio tree from
> the command line?". The first is important now, the second will be important
> in another couple of weeks, but I am trying to lay some groundwork.
See http://comsec.com/wiki?CvsAccess
Here's the step-by-step version: We checkout gr-build by hand, then use it to
bootstrap everything else.
$ export CVS_RSH="ssh"
$ cvs -z3 -d:ext:address@hidden:/cvsroot/gnuradio co -P gr-build
You now have a directory called gr-build. chdir into it:
$ cd gr-build
This checkout command will checkout everything except for that related to the
Measurement Computing PCI card.
$ ./checkout -x mc4020
You'll now have a bunch of directories...
If you haven't already, you'll want to set up /etc/sudoers. The
buildit script below does the bulk of the work running as you, then
uses "sudo make install" to install the stuff into /usr/local/...
First, add yourself to group wheel by editing /etc/group.
Find the line that starts with wheel:x:... and add your logname to the
end of it.
Then make these changes to /etc/sudoers:
# Defaults specification
# Only ask for password every 10 minutes.
Defaults timestamp_timeout=10
# Uncomment to allow people in group wheel to run all commands
%wheel ALL=(ALL) ALL
Now, assuming you've got all the dependencies fulfilled, this will
bootstrap, configure, make, make check, and make install
everything in the proper order:
$ sudo -v # give sudo the password now, so you can
# walk away while it builds
# Now build everything that you checked out
$ ./for-all-dirs ../buildit 2>&1 | tee make.log
Assuming the build completed successfully, you're all set.
Later when you want to see if there are updates to CVS head, but don't
want to apply them to your tree use this:
$ ./for-all-dirs cvs -nq up
If you like what you saw from the previous command, this will get the
updates and merge them into your tree:
$ ./for-all-dirs cvs -q up
Then you should rebuild everything:
$ ./for-all-dirs ../buildit
- [Discuss-gnuradio] USRP and GSM, Pete Chown, 2005/01/29
- Message not available
- Message not available
- Message not available
- [Discuss-gnuradio] How to build from CVS,
Eric Blossom <=