INSTALL 1.12 KB
Newer Older
1
#
2
#   Copyright (C) 2010-2017 Andreas Rönnquist
3 4 5 6
#   This file is distributed under the same license
#   as the sciteproj package, see COPYING file.
#

7 8 9 10 11 12 13 14 15

Installation:
-------------

To build, first check that you have the packages required. The ones required 
to build are:

pkg-config
libgtk-3-dev
16
liblua5.1-0-dev
17
gettext
18 19 20 21 22

or if you are still using GTK version 2:

pkg-config
libgtk2.0-dev
23
liblua5.1-0-dev
24
gettext
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58

Then the build process is simple - to build the program, just type

make

or on GTK2, you need to pass

make GTK2=1

which will in the end create an executable in the bin folder. If you want to
build an executable with debug symbols enable, run

make DEBUG=1

To install the program run

make install

with super user priviliges, on a system using root:

su -c "make install"

or on a system using sudo, run

sudo make install

This will install the program in the system. This installs a desktop file too, 
so now you should have an icon in the development part of your X menu.

This will default to /usr/local, installing the executable to /usr/local/bin.
This can be changed using PREFIX variable:

	make install PREFIX=/usr

59