forked from cnangel/Conf-Libconfig
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
69 lines (45 loc) · 1.72 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Conf-Libconfig
Perl bindings to the C library libconfig
INSTALLATION
First install libconfig and its development files.
Redhat: yum install libconfig libconfig-devel -y
Debian: apt-get libconfig libconfig-devel
openSUSE: zypper install libconfig8 libconfig-devel
(available in the Packman repository)
On other platforms, you can compile libconfig from source:
http://www.hyperrealm.com/libconfig/
Instructions:
wget http://www.hyperrealm.com/libconfig/libconfig-1.3.2.tar.gz
tar -zxf libconfig-1.3.2.tar.gz
cd libconfig-1.3.2
export MYPREFIX=/usr
# or if you lack privileges for making system-wide changes:
# export MYPREFIX=$HOME/local
./configure --prefix=$MYPREFIX
make
make install
To install this module, run the following commands:
perl Makefile.PL
# or if you use a self-compiled libconfig as above:
# perl Makefile.PL LIBS=-L$MYPREFIX/lib INC=-I$MYPREFIX/include
make
# If not using en_US system, you must set export LC_ALL=en_US.UTF-8
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc Conf::Libconfig
You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Conf-Libconfig
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Conf-Libconfig
CPAN Ratings
http://cpanratings.perl.org/d/Conf-Libconfig
Search CPAN
http://search.cpan.org/dist/Conf-Libconfig/
COPYRIGHT AND LICENCE
Copyright (c) 2009, Alibaba Search Center, Alibaba Inc. All rights reserved.
Copyright (C) 2009 cnangel
This program is released under the following license: bsd