Building From Source: Difference between revisions
Line 1: | Line 1: | ||
= Preparing The Build Machine = | = Preparing The Build Machine = | ||
You will need to install [http://fedoraproject.org Fedora Core 6] onto your development system. If you want to build a 64 bit | You will need to install [http://fedoraproject.org Fedora Core 6] (the ''i386'' variant) onto your development system. | ||
If you want to build a 64 bit variant (''x86_64'') of the '''NST''', you will need to download the ''x86_64'' variant of [http://fedoraproject.org Fedora Core 6]. While the ''i386'' variant will run on both 32 bit and 64 bit machines, the ''x86_64'' variant will only run on 64 bit machines. Most, if not all, 64 bit '''AMD''' processors and the ''Intel Core 2'' series should be compatible with the ''x86_64'' variant. | |||
If you don't want to use physical hardware, you can use a Virtual Machine (even running under Windows) to do your '''NST''' development under. We have found that either ''VMWare Server'' (our preference) or ''VMWare Player'' from [http://www.vmware.com/ VMware] can be used (even if you want to build a ''x86_64'' version of the '''NST'''). We have also found that [http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx Virtual PC] can be used. | If you don't want to use physical hardware, you can use a Virtual Machine (even running under Windows) to do your '''NST''' development under. We have found that either ''VMWare Server'' (our preference) or ''VMWare Player'' from [http://www.vmware.com/ VMware] can be used (even if you want to build a ''x86_64'' version of the '''NST'''). We have also found that [http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx Virtual PC] can be used. |
Revision as of 07:39, 3 August 2007
Preparing The Build Machine
You will need to install Fedora Core 6 (the i386 variant) onto your development system.
If you want to build a 64 bit variant (x86_64) of the NST, you will need to download the x86_64 variant of Fedora Core 6. While the i386 variant will run on both 32 bit and 64 bit machines, the x86_64 variant will only run on 64 bit machines. Most, if not all, 64 bit AMD processors and the Intel Core 2 series should be compatible with the x86_64 variant.
If you don't want to use physical hardware, you can use a Virtual Machine (even running under Windows) to do your NST development under. We have found that either VMWare Server (our preference) or VMWare Player from VMware can be used (even if you want to build a x86_64 version of the NST). We have also found that Virtual PC can be used.
Getting the NST Source Code
There are several ways to acquire the source code for NST developement (one can find an entire section related to this in the NST FAQ).
For our purposes we will choose the anonymous CVS approach. This permits one to build a current snapshot of the NST distribution as it is being developed.
The following demonstrates how one can create a: nst sub-directory on a Fedora Core 6 based system, and then populate it with the current NST source code (NOTE: Just press the Enter key when prompted for the password as there is no password required for anonymous access):
Logging in to :pserver:anonymous@nst.cvs.sourceforge.net:2401/cvsroot/nst CVS password:
... You should see file names streaming by in your console window - it may take several moments to download all of the source files ...
As time goes on, you may want to update your source files (the NST developers check in new code quite frequently). Use the following commands:
... You should see directory names streaming by in your console window as CVS searches for updated files ...
As setting the CVSROOT variable can be quite tedious, it is recommended that you include its definition in your: "~/.bashrc" file. Add the following lines to the end of: "~/.bashrc".
CVSROOT=":pserver:anonymous@nst.cvs.sourceforge.net:/cvsroot/nst"; export CVSROOT;