| 1 |
|
| 2 |
GNU APL has been compiled successfully on non-GNU/Linux systems. |
| 3 |
Some of these systems may require additional settings. |
| 4 |
|
| 5 |
Below are notes from GNU APL users with non-GNU/Linux systems (in |
| 6 |
almost alphabetical order of the OSs) |
| 7 |
|
| 8 |
=============================================================================== |
| 9 |
==== ==== |
| 10 |
==== BSD (FreeBSD) ==== |
| 11 |
==== ==== |
| 12 |
=============================================================================== |
| 13 |
|
| 14 |
We have the following problem building GNU APL in FreeBSD. |
| 15 |
It can be solved by ./configure'ing GNU APL as shown below. |
| 16 |
|
| 17 |
1. Non-standard library locations. Some of the libraries used by GNU APL. |
| 18 |
for example libexecinfo, live in /usr/local/lib and not in /usr/lib and |
| 19 |
may not be found by ./configure. This can be solved by setting LDFLAGS |
| 20 |
BEFORE running ./configure. |
| 21 |
|
| 22 |
After compiling GNU APL you may want to enable UTF-8 encoding for your |
| 23 |
terminal. For example, in xterm you need enable UTF-8 encoding and |
| 24 |
UTF-8 Fonts in xterm's VT menu (Ctrl + right mouse). It may be possible |
| 25 |
to set this permanently in your terminal's configuration file(s). |
| 26 |
|
| 27 |
Freebsd 8.4 |
| 28 |
------------------------------------------------------------------------------- |
| 29 |
|
| 30 |
Many thanks to Sam Sirlin for providing this! |
| 31 |
|
| 32 |
for configure: |
| 33 |
-------------- |
| 34 |
|
| 35 |
setenv CC gcc46 |
| 36 |
setenv CXX g++46 |
| 37 |
setenv LDFLAGS '-L/usr/local/lib -L/usr/local/lib/gcc46 -R/usr/local/lib -R/usr/local/lib/gcc46' |
| 38 |
setenv LIBS ' -lexecinfo ' |
| 39 |
|
| 40 |
Freebsd 9 |
| 41 |
------------------------------------------------------------------------------- |
| 42 |
|
| 43 |
setenv LDFLAGS '-L/usr/local/lib' |
| 44 |
|
| 45 |
|
| 46 |
=============================================================================== |
| 47 |
==== ==== |
| 48 |
==== BSD (OpenBSD) ==== |
| 49 |
==== ==== |
| 50 |
=============================================================================== |
| 51 |
|
| 52 |
The latest version (SVN) of GNU APL compiles out of the box on OpenBSD. |
| 53 |
You may want to install the following packages before building: |
| 54 |
|
| 55 |
execinfo fftw3 gtk+3 pcre2 |
| 56 |
|
| 57 |
You should run the configure script as follows: |
| 58 |
|
| 59 |
CC=cc CXX=c++ CPPFLAGS="-I/usr/local/include -I/usr/X11R6/include" \ |
| 60 |
LDFLAGS="-L/usr/local/lib -L/usr/X11R6/lib" ./configure |
| 61 |
|
| 62 |
Then use gmake to build. |
| 63 |
|
| 64 |
A binary package of the most recent release is available from the official |
| 65 |
package repository, which can be installed with the command `pkg_add apl`. |
| 66 |
The package comes with Adrian Smith's public domain standard APL fonts. |
| 67 |
|
| 68 |
|
| 69 |
=============================================================================== |
| 70 |
==== ==== |
| 71 |
==== CYGWIN 5.1 (aka. Windows) ==== |
| 72 |
==== ==== |
| 73 |
=============================================================================== |
| 74 |
|
| 75 |
GNU APL compiles on CYGWIN, see README-5-WINDOWS for details |
| 76 |
|
| 77 |
|
| 78 |
=============================================================================== |
| 79 |
==== ==== |
| 80 |
==== OS-X ==== |
| 81 |
==== ==== |
| 82 |
=============================================================================== |
| 83 |
|
| 84 |
The latest version (SVN) of GNU APL was reported to compile and run on OS-X |
| 85 |
without special measures. |
| 86 |
|
| 87 |
For Macintosh users, Peter Teeson has contributed very nice installation |
| 88 |
instructions that can be found in the doc/ subdirectory (file: |
| 89 |
APL-on-Macintosh.pdf). |
| 90 |
|