|
1 |
| -These RPMs were created on a RedHat Enterprise Linux 3-compatible |
2 |
| -system. |
| 1 | +Installing rpms |
| 2 | +=============== |
3 | 3 |
|
4 |
| -Both the maxima and maxima-exec-cmucl packages are required. It is |
5 |
| -possible to simultaneously install maxima-exec packages for other |
6 |
| -lisps, but I am only providing cmucl at this time. |
| 4 | +There are three Maxima binary rpms: |
| 5 | +maxima, maxima-exec-cmucl, and maxima-xmaxima. |
7 | 6 |
|
8 |
| -The maxima-xmaxima package is optional. It provides a maxima GUI. |
| 7 | +The maxima and maxima-exec-cmucl rpms must be installed together. |
| 8 | + |
| 9 | +maxima-exec rpms for other Lisp versions can also be installed, |
| 10 | +although you'll probably have to build them yourself. |
| 11 | + |
| 12 | +The maxima-xmaxima rpm is optional. Xmaxima is a Maxima GUI. |
| 13 | + |
| 14 | + |
| 15 | +Building rpms |
| 16 | +============= |
| 17 | + |
| 18 | +You can build rpm files from an unpacked tarball or cvs sandbox. |
| 19 | + |
| 20 | +(0) Go to the Maxima directory. |
| 21 | + |
| 22 | + $ cd sandbox/maxima # or whatever is your top-level maxima directory |
| 23 | + |
| 24 | +(1) Set the version number. |
| 25 | + |
| 26 | + Open ./configure.in and change the AM_INIT_AUTOMAKE line. |
| 27 | + (This is the only way I know to change the version number.) |
| 28 | + |
| 29 | + Optionally -- open ./maxima.spec.in and increment the `Release' number. |
| 30 | + (This number is appended to the version number.) |
| 31 | + |
| 32 | +(2) Select Lisp version. |
| 33 | + |
| 34 | + Open ./maxima.spec.in. |
| 35 | + |
| 36 | + Change all `%define enable_<whatever>' to `0' |
| 37 | + except for the selected Lisp; make that `1'. |
| 38 | + |
| 39 | + Change all `%define <whatever>_flags' to `--disable-<whatever>' |
| 40 | + except for the selected Lisp; make that `--enable-<whatever>'. |
| 41 | + |
| 42 | +(3) Generate the rpm spec file. |
| 43 | + |
| 44 | + $ make maxima.spec |
| 45 | + |
| 46 | +(4) Generate a source tarball. |
| 47 | + |
| 48 | + $ make dist-gzip |
| 49 | + |
| 50 | + May need to invoke superuser privileges here (if /usr/src/local not writeable). |
| 51 | + |
| 52 | + $ mv maxima-<release number>.tar.gz /usr/src/local/SOURCES |
| 53 | + |
| 54 | +(5) Build rpms. |
| 55 | + |
| 56 | + The maxima.spec file builds three binary rpms: |
| 57 | + maxima, maxima-xmaxima, and maxima-exec-<whatever>. |
| 58 | + |
| 59 | + May need to invoke superuser privileges here (if /usr/src/local not writeable). |
| 60 | + |
| 61 | + $ rpmbuild -ba ./maxima.spec # build source rpm and three binary rpms |
| 62 | + |
| 63 | + $ rpmbuild -bb ./maxima.spec # build three binary rpms |
0 commit comments