Code Monkey home page Code Monkey logo

alien-pkgconf's Introduction

NAME
    Alien::pkgconf - Discover or download and install pkgconf + libpkgconf

SYNOPSIS
     use Alien::pkgconf;
 
     my $cflags = Alien::pkgconf->cflags;
     my $libs   = Alien::pkgconf->libs;

DESCRIPTION
    This module provides you with the information that you need to invoke
    "pkgconf" or link against "libpkgconf". It isn't intended to be used
    directly, but rather to provide the necessary package by a CPAN module
    that needs "libpkgconf", such as PkgConfig::LibPkgConf.

METHODS
  cflags
     my $cflags = Alien::pkgconf->cflags;

    The compiler flags for compiling against "libpkgconf".

  libs
     my $libs = Alien::pkgconf->libs;

    The linker flags for linking against "libpkgconf".

  dynamic_libs
     my($dll) = Alien::pkgconf->dynamic_libs;

    The ".so", ".dll" or ".dynlib" shared or dynamic library which can be
    used via FFI.

  version
     my $version = Alien::pkgconf->version;

    The "libpkgconf" version.

  bin_dir
     my($dir) = Alien::pkgconf->bin_dir;

    The directory where you can find "pkgconf". If it is not already in the
    "PATH". Adding this to "PATH" should make tools that require "pkgconf"
    work.

  install_type
     my $type = Alien::pkgconf->install_type;

    The type of install, should be either "share" or "system".

HELPERS
  pkgconf
     %{pkgconf}

    The name of the "pkgconf" binary. This is usually just "pkgconf".

SEE ALSO
    PkgConfig::LibPkgConf

PLATFORM NOTES
  Solaris
    You may need to have the GNU version of nm installed, which comes with
    GNU binutils.

ACKNOWLEDGMENTS
    Thanks to the "pkgconf" developers for their efforts:

    <https://github.com/pkgconf/pkgconf/graphs/contributors>

AUTHOR
    Graham Ollis

    Contributors:

    Thibault Duponchelle (tib)

COPYRIGHT AND LICENSE
    This software is copyright (c) 2016 Graham Ollis.

    This is free software; you may redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

alien-pkgconf's People

Contributors

manwar avatar plicease avatar ppisar avatar thibaultduponchelle avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

manwar ppisar

alien-pkgconf's Issues

Probe failed on CentOS7

While running make on a CentOS7 system:

cp lib/Alien/pkgconf.pm blib/lib/Alien/pkgconf.pm
"/opt/perl-5.24.1/bin/perl5.24.1" script/fetch.pl
fetch http://distfiles.dereferenced.org/pkgconf
fetch http://distfiles.dereferenced.org/pkgconf/pkgconf-1.2.0.tar.xz
write _alien/tar/pkgconf-1.2.0.tar.xz
"/opt/perl-5.24.1/bin/perl5.24.1" script/extract.pl
untar _alien/tar/pkgconf-1.2.0.tar
write _alien/src/pkgconf-1.2.0
"/opt/perl-5.24.1/bin/perl5.24.1" script/probe.pl site /opt/perl-5.24.1/lib/5.24.1/x86_64-linux /opt/perl-5.24.1/lib/site_perl/5.24.1/x86_64-linux 
do not know enough about this OS to probe for correct paths.  Please open a ticket https://github.com/plicease/Alien-pkgconf/issues at script/probe.pl line 262.
make: *** [_alien/01probe.json] Fehler 2

CI: test system install

When I originally wrote this there weren't any system libpkgconf packages so I wasn't testing system installs, but it might be in debian by now and might be worth adding to ci.

0.18: test suite is failing against pkgconfig 0.19

PkgConfig::LibPkgConf with patch from PerlAlien/PkgConfig-LibPkgConf#15 and temporary disabled test suite.

Test suite is failing:

+ /usr/bin/make -O -j48 V=1 VERBOSE=1 test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
#
#
#
# _dist_dir = /home/tkloczko/rpmbuild/BUILD/Alien-pkgconf-0.18/blib/lib/auto/share/dist/Alien-pkgconf
# $VAR1 = {
#           'dll' => '/usr/lib64/libpkgconf.so.4.0.0',
#           'install_type' => 'system',
#           'cflags' => '-I/usr/include/pkgconf -DPKGCONFIG_IS_NOT_STATIC ',
#           'version' => '1.9.3',
#           'libs' => '-lpkgconf '
#         };
#
#
t/00_diag.t .. ok
t/helper.t ... ok
    # Failed test 'pkgconf is not 1.9.x or 2.x'
    # at t/xs.t line 20.
    # +-------+----+-------+
    # | GOT   | OP | CHECK |
    # +-------+----+-------+
    # | 10903 | <  | 10900 |
    # +-------+----+-------+

# Failed test 'xs subtest'
# at t/xs.t line 21.
t/xs.t .......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests

Test Summary Report
-------------------
t/xs.t     (Wstat: 256 Tests: 5 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
Files=3, Tests=7,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.89 cusr  0.28 csys =  1.20 CPU)
Result: FAIL
Failed 1/3 test programs. 1/7 subtests failed.

Investigagte 5.18 + 5.16 failure

I added a skip on 5.16 and 5.18 in CI because it started failing, I think when I switched to cip.

bbcf75b

These fails are not showing up in cpantesters, so it is either a prereq fail or something wrong with the CI itself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.