From 8456ddac1f7770283ba040eb612347f5108a590f Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Fri, 5 Feb 2010 18:04:39 +0100 Subject: Add notes about building on OpenBSD. --- building.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'building.txt') 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 + -- cgit v1.2.3