Skip to content

Artiom-M/Conf-Libconfig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
	# Support libconfig-1.4.x
	# wget http://www.hyperrealm.com/libconfig/libconfig-1.4.7.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

About

Perl bindings to the C library libconfig

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 80.8%
  • XS 19.2%