1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
|
Small documentation for **FAUmachine** members how to build FAUmachine
from the repository:
Apart from the external build-dependencies (cf. debian/control for a list of
Debian/Ubuntu packages) FAUmachine also needs a working FAUcc and FAUhdlc
in order to build.
FAUcc is in cvs at /proj/FAUmachine/FAUcc.
FAUhdlc is in svn at /proj/FAUmachine/fauhdlc.
Make sure to pass --with-faucc-dir=<path-to-faucc> as configure option to
FAUmachine.
Also, you'll need to pass --with-fauhdlc-dir=<path-to-fauhdlc-prefix> as
another configure option. This must reflect the base path where FAUhdlc is
installed (either via FAUhdlc's make install or make devel target). For the
experiments to work, the binaries fauhdlc and fauhdli must be in your path.
Independent from the distribution you have to prepare the build with:
./autogen.sh
./configure
Then you can go on to the next step and build packages for your distribution:
Build RedHat compatible *.src.rpm file:
---------------------------------------
Call:
./scripts/build.sh rpm
This will produce a file called
faumachine-<version>-1.src.rpm
in the current working directory.
Build *.i386.rpm files (on a rpm-based system):
-----------------------------------------------
Call:
rpm -hiv faumachine-<version>-1.src.rpm
Change to the RPM top directory:
cd <topdir>
On RedHat-8.0 or RedHat-9 call:
rpmbuild -ba SPECS/faumachine.spec
On SuSE-8.1 or SuSE-8.2 call:
rpm -bb SPECS/faumachine.spec
This will generate the files
RPMS/i386/faumachine*-<version>-1.i386.rpm
Build Debian compatible *.dsc and *.tar.gz files:
-------------------------------------------------
Call
./scripts/build.sh deb
This will produce a files called
faumachine_0.<version>.1.dsc
faumachine_0.<version>.1.tar.gz
in the current working directory.
Build Debian binaries (on a Debian system):
-------------------------------------------
Unpack sources:
dpkg-source -x faumachine_0.<version>.1.dsc
Build binaries:
cd faumachine-0.<version>.1
debuild binary
cd ..
This will produce the files
faumachine-*_0.<version>.1_i386.deb
Build source tarball:
---------------------
Call:
./scripts/build.sh tar
This will produce a file called
faumachine-<version>.src.tar.gz
Build binaries from source tarball:
-----------------------------------
Unpack tarball:
tar zxvf faumachine-<version>.src.tar.gz
Build binaries by calling:
cd FAUmachine-<version>
./configure --prefix=/usr/local (or similar, doesn't matter)
make
make prefix=`pwd`/Snapshot install
cd Snapshot
tar zcvf ../faumachine-<version>.bin.tar.gz .
cd ..
cd ..
This will produce the file
faumachine-<version>.bin.tar.gz
|