-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
37 lines (25 loc) · 1.04 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Quick Install:
(1) Execute './configure; make' to compile this program.
(2) Do sudo and execute 'make install' to install executable
binaries and resources files.
If some depended libraries are installed in custom directories,
set LDFLAGS and LD_LIBRARY_PATH environmental variables and do
configure.
e.g.
$ export LDFLAGS=-L/usr/local/lib/boost_1.44
$ export LD_LIBRARY_PATH=/usr/local/lib/boost_1.44:/usr/local/lib
$ ./configure
...
(3) Set GEONLP_DIR environmental variable to the directory where
GEONLP dictionaries will be installed.
$ export GEONLP_DIR=/home/foo/geonlp_dic
(4) Move down to './geonlp-dic-util' directory and run;
$ php geonlp-dic-util.php list
to show all the available GeoNLP dictionaries on the server.
(5) Execute 'add', 'compile' and 'install' command.
$ php geonlp-dic-util.php add geonlp/japan_pref geonlp/japan_city ...
$ php geonlp-dic-util.php compile
$ php geonlp-dic-util.php install
Generate and update the configure scripts:
(1) edit configure.ac.
(2) execute './autotool.sh' to create/update the configure scripts.