source: git/INSTALL @ 5e6e3d4

debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
Last change on this file since 5e6e3d4 was cf62988, checked in by Olly Betts <olly@…>, 4 years ago

Require at least PROJ 5.0

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[64d37a3]1Installing Survex on Unix
2=========================
[8a64c35]3
[4a320aa]4If you are using Debian Linux or Ubuntu Linux or a distribution based
[0211218a]5on one of these, you will find it easier to install one of the
6prepackaged versions of Survex.
[6c7fbd5]7
[cf62988]8Otherwise you'll need to build from source.  First of all, you need to make
9sure you have the required libraries installed.  Where possible it's usually
10easier to install these using your Linux distribution's package manager.
11Note that C/C++ library packages are usually split into runtime and
12development, usually with similar names but with a -dev or -devel or similar
13suffix on the development one.  You'll need both to build Survex.
14
15* The main dependency is wxWidgets 3.0 or later - if there's a suitable
16  wxWidgets package for your platform, then just use that (note: library
17  packages are usually split into runtime and development, usually with the
18  same name but with a -dev or -devel or similar suffix on the latter.
19  need both to build Survex).
20
21  Otherwise download the source code from https://wxwidgets.org/ and
22  follow their build instructions.  IMPORTANT: You must enable OpenGL
23  support by adding --with-opengl to the configure command line.
24
25* You'll also need a working C and C++ compiler (with support for C++11), and
26  also the OpenGL development libraries if these aren't pulled in by installing
27  wxWidgets.
28
29* Version 5.0 or later of the PROJ library is needed for coordinate conversion
30  functionality.
31
32* Optionally, FFMPEG is used if available to implement Aven's movie export
33  feature.  If not available this feature is disabled.
34
35Then at a shell prompt, unpack the source code, cd into the directory, and
36enter the following commands:
[55302e3]37
38./configure
39make
[8a64c35]40make install
41
[7a0710c]42By default 'make install' will try to install Survex under /usr/local,
43which means you'll probably need to become root for the 'make install' stage.
44If you use sudo to manage root access, then:
45
46sudo make install
47
48You can tell configure to install Survex elsewhere (e.g. under your home
[0211218a]49directory) like so:
[55302e3]50
[8a64c35]51./configure --prefix=/home/olly/survex
52make
53make install
[0211218a]54
55If your wxWidgets installation isn't picked up automatically, or you
56have more than one version installed and want to select a particular
57one, then you can specify this like so:
58
[4a320aa]59./configure WX_CONFIG=/opt/bin/wx-config
[0211218a]60
[4a320aa]61You can use both --prefix and WX_CONFIG= if necessary.
Note: See TracBrowser for help on using the repository browser.