DotGNU Portable.NET Source Installation GuideThis document explains how to install DotGNU Portable.NET by building it from the source distribution. Visit the Portable.NET Packages page for instructions on installing the binary package distributions. Source Code DownloadsThe most recent version can be downloaded from the Savannah's download area. It may however be best to grab the latest development version from Savannah CVS. This project's CVS repository can be checked out through anonymous CVS with the following instruction set. cvs -z3 -d:pserver:[email protected]:/sources/dotgnu-pnet co .
NOTE: Before you can build the cvs version, you need to run
BuildingThere are three main components that you must install in the following order to use DotGNU Portable.NET:
And there are two optional components:
You will need "
Another component, " You will need flex and bison to build DotGNU Portable.NET. We use flex 2.5.4 and bison 1.28. Some support is provided for the BSD version of yacc, but bison is recommended. Other versions of lex or yacc may not work. You typically unpack and install each component as follows:
If you are building the CVS version, you should run
See the " Most platforms will install and build using the above instructions. The following sections provide special instructions for some platforms. Building under MS WindowsYou will need to install the Cygwin package to build DotGNU Portable.NET under MS Windows. It can be obtained from http://sources.redhat.com/cygwin/. Follow the instructions in the previous section to build the distribution. This will build the Cygwin version, which can be installed and run from within the Cygwin environment. If you wish to run DotGNU Portable.NET as a regular MS Windows application, outside the Cygwin environment, then you must build the "mingw32" version instead. To do this, configure and build as follows:
Building under Mac OS XInstall the development tools from the Developer Tools CD that should be included with your pack of Mac CDs. If you don't have the CD, get an account at connect.apple.com and download from the net. The download is well over 100 megabytes.
Next, install Fink (fink.sourceforge.net). Using the GUI program Fink Commander,
install the package called For each directory in treecc, pnet, pnetlib, etc, perform the following command:
Type in your usual admin password for the account on your computer when it asks for it (towards the end of each install).
It is important that you use the Fink version of the " Getting a more recent versionThe most recent release version of the source code will always be available on the project's Download site. However, it is recommended that developers use the CVS version when updating the source code. The CVS version will always be more recent than the release versions.
cvs -z3 -d:pserver:[email protected]:/sources/dotgnu-pnet co .
where
NOTE: Before you can build the cvs version, you need to run
Running the examples
Once you have built the system, you can test it on the examples within
the "
The PNetMark program, listed above, is a more involved example.
Instructions for running PNetMark can be found within its
DocumentationOnline documentation for the tools can be found here.
Information on changes to individual versions can be found in the
The Converted Virtual Machine (CVM) instruction set has been documented using embedded XML tags in the source. A HTML version of the documentation can be found here. Common problems
Some platforms may have problems building "
Sometimes " |