diff options
author | Bardur Arantsson <bardur@scientician.net> | 2010-02-05 18:04:39 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2010-02-05 18:04:39 +0100 |
commit | 8456ddac1f7770283ba040eb612347f5108a590f (patch) | |
tree | 31765124a8a9840c57e26b9d0597ff12d81884e6 /building.txt | |
parent | 578302b7808d742eac85197bf4f5af1bc207d97d (diff) |
Add notes about building on OpenBSD.
Diffstat (limited to 'building.txt')
-rw-r--r-- | building.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/building.txt b/building.txt index 34247f9e..021b3718 100644 --- a/building.txt +++ b/building.txt @@ -58,3 +58,20 @@ Each frontend requires the additional packages listed below: X11: libx11-dev SDL: libsdl-image1.2-dev, libsdl-ttf2.0-dev ncurses: libncurses5-dev + + +Compiling on OpenBSD +==================== + +As of February 2010, the OpenBSD package cmake-2.4.8p2 is too old for +building ToME. You may need to compile a newer version of CMake. + +If you have X11, then a bug in CMake may cause a linker error when +linking the 'tome' executable. As a workaround, set the environment +variable LDFLAGS=-L/usr/X11R6/lib when running CMake. Example: + + $ env LDFLAGS=-L/usr/X11R6/lib cmake . + $ make + +The SDL frontend also requires these packages: sdl-image, sdl-ttf + |