source: git/INSTALL @ 0211218a

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data
Last change on this file since 0211218a was 0211218a, checked in by Olly Betts <olly@…>, 18 years ago

Note that you need wxWidgets, and that it must be configured with
"--with-opengl".

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3069 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 1.6 KB
Line 
1Installing Survex on Unix
2=========================
3
4If you are using Debian Linux or RedHat Linux or a distribution based
5on one of these, you will find it easier to install one of the
6prepackaged versions of Survex.
7
8Otherwise building from source is very easy.  First of all, you need
9to make sure you have the required libraries installed.  The main
10dependency is wxWidgets - if there's a suitable wxWidgets package for
11your platform, then just use that (note: library packages are usually
12split into runtime and development, usually with the same name
13but with a -dev or -devel or similar suffix on the latter - you'll
14need both to build Survex).
15
16Otherwise download the source code from http://www.wxwidgets.org/ and
17follow their build instructions.  IMPORTANT: You must enable OpenGL
18support by adding --with-opengl to the configure command line.
19
20You'll also need a working C and C++ compiler, and also the X and
21OpenGL development libraries if these aren't pulled in by installing
22wxWidgets.
23
24Then at a shell prompt, enter the following commands:
25
26./configure
27make
28make install
29
30By default 'make install' will try to install survex under /usr/local,
31which means you'll need to be root for the 'make install' stage.  You
32can tell configure to install survex elsewhere (e.g. under your home
33directory) like so:
34
35./configure --prefix=/home/olly/survex
36make
37make install
38
39If your wxWidgets installation isn't picked up automatically, or you
40have more than one version installed and want to select a particular
41one, then you can specify this like so:
42
43./configure WXCONFIG=/opt/bin/wx-config
44
45You can use both --prefix and WXCONFIG= if necessary.
Note: See TracBrowser for help on using the repository browser.