search for: pkg_config

Displaying 20 results from an estimated 45 matches for "pkg_config".

Did you mean: pg_config
2020 Apr 23
2
Re: [PATCH nbdkit] golang: Compile against the local nbdkit build, not installed.
...method get_ready) > > > > This happens because we were using the installed <nbdkit-plugin.h> > > rather than the local copy. > > > > We don't want to modify the *.go files themselves as they might be > > copied into other projects. Instead we can set PKG_CONFIG to point to > > a fake pkg-config binary which will return the correct CFLAGS. > > > > Fixes: commit 1ff44288ae1cf95428283e252edd9474c3fe3b55 > > Thanks: Dan Berrangé, Eric Blake > > > +# This fake pkg-config program is used to trick cgo so that > > +# &quot...
2020 Apr 23
3
[PATCH nbdkit] golang: Compile against the local nbdkit build, not installed.
...undefined (type _Ctype_struct_nbdkit_plugin has no field or method get_ready) This happens because we were using the installed <nbdkit-plugin.h> rather than the local copy. We don't want to modify the *.go files themselves as they might be copied into other projects. Instead we can set PKG_CONFIG to point to a fake pkg-config binary which will return the correct CFLAGS. Fixes: commit 1ff44288ae1cf95428283e252edd9474c3fe3b55 Thanks: Dan Berrangé, Eric Blake --- .gitignore | 1 + configure.ac | 2 ++ plugins/golang/Makefile.am | 4...
2020 Feb 20
2
Re: build problem with libxl
https://wiki.centos.org/HowTos/Xen/Xen4QuickStart configure:53501: checking for LIBXL configure:53508: $PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0" Package xenblktapctl was not found in the pkg-config search path. Perhaps you should add the directory containing `xenblktapctl.pc' to the PKG_CONFIG_PATH environment variable Package 'xenblktapctl', required by 'Xenlight'...
2020 Feb 20
2
Re: build problem with libxl
I use centos 7 (7.7.1908). these pkgs are installed: xen-hypervisor-4.12.2-1.el7.x86_64 xen-devel-4.12.2-1.el7.x86_64 qemu-xen-4.12.1-1.el7.x86_64 xen-runtime-4.12.2-1.el7.x86_64 xen-licenses-4.12.2-1.el7.x86_64 xen-4.12.2-1.el7.x86_64 xen-libs-4.12.2-1.el7.x86_64 xen-ovmf-20180825-1.gitef529e6ab.el7.x86_64 even with --with-libxl it doesnt work... --- ------ Greetz Am 20.02.2020 11:31, schrieb
2020 Feb 21
0
Re: build problem with libxl
[adding Anthony PERARD to cc since his name is next to xen-4.12.2-1.el7's ChangeLog entry] Hi, Anthony! On Thu, Feb 20, 2020 at 07:10:38PM +0100, Christoph wrote: >https://wiki.centos.org/HowTos/Xen/Xen4QuickStart > >configure:53501: checking for LIBXL >configure:53508: $PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0" >Package xenblktapctl was not found in the pkg-config search path. >Perhaps you should add the directory containing `xenblktapctl.pc' >to the PKG_CONFIG_PATH environment variable It seems like xenlight's .pc file is broken i...
2019 Jan 22
2
[PATCH] gobject: Add Vala binding support
...uot; = "x"], [ + vapigen_pkg_name=vapigen + ], [ + vapigen_pkg_name=vapigen-$2 + ]) + AS_IF([test "x$1" = "x"], [ + vapigen_pkg="$vapigen_pkg_name" + ], [ + vapigen_pkg="$vapigen_pkg_name >= $1" + ]) + + PKG_PROG_PKG_CONFIG + + PKG_CHECK_EXISTS([$vapigen_pkg], [ + AS_IF([test "$enable_vala" = "auto"], [ + enable_vala=yes + ]) + ], [ + AS_CASE([$enable_vala], [yes], [ + AC_MSG_ERROR([$vapigen_pkg not found]) + ], [auto], [ + enable_vala=no +...
2020 Apr 23
0
Re: [PATCH nbdkit] golang: Compile against the local nbdkit build, not installed.
...t; > > > This happens because we were using the installed <nbdkit-plugin.h> > > > rather than the local copy. > > > > > > We don't want to modify the *.go files themselves as they might be > > > copied into other projects. Instead we can set PKG_CONFIG to point to > > > a fake pkg-config binary which will return the correct CFLAGS. > > > > > > Fixes: commit 1ff44288ae1cf95428283e252edd9474c3fe3b55 > > > Thanks: Dan Berrangé, Eric Blake > > > > > +# This fake pkg-config program is used to trick...
2019 Jan 22
1
[PATCH] gobject: Add Vala binding support
...uot; = "x"], [ + vapigen_pkg_name=vapigen + ], [ + vapigen_pkg_name=vapigen-$2 + ]) + AS_IF([test "x$1" = "x"], [ + vapigen_pkg="$vapigen_pkg_name" + ], [ + vapigen_pkg="$vapigen_pkg_name >= $1" + ]) + + PKG_PROG_PKG_CONFIG + + PKG_CHECK_EXISTS([$vapigen_pkg], [ + AS_IF([test "$enable_vala" = "auto"], [ + enable_vala=yes + ]) + ], [ + AS_CASE([$enable_vala], [yes], [ + AC_MSG_ERROR([$vapigen_pkg not found]) + ], [auto], [ + enable_vala=no +...
2019 Jan 22
2
Re: [PATCH] gobject: Add Vala binding support
...uot; = "x"], [ + vapigen_pkg_name=vapigen + ], [ + vapigen_pkg_name=vapigen-$2 + ]) + AS_IF([test "x$1" = "x"], [ + vapigen_pkg="$vapigen_pkg_name" + ], [ + vapigen_pkg="$vapigen_pkg_name >= $1" + ]) + + PKG_PROG_PKG_CONFIG + + PKG_CHECK_EXISTS([$vapigen_pkg], [ + AS_IF([test "$enable_vala" = "auto"], [ + enable_vala=yes + ]) + ], [ + AS_CASE([$enable_vala], [yes], [ + AC_MSG_ERROR([$vapigen_pkg not found]) + ], [auto], [ + enable_vala=no +...
2019 Oct 30
2
installing supermin on debian10
...permin on debian 10 (buster) and I am getting the following error: checking /usr/sbin/mke2fs -t or -T... -t checking for EXT2FS... no configure: error: in `/root/supermin-5.1.16': configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables EXT2FS_CFLAGS and EXT2FS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see <http://pkg-config.freedesktop.org/>. See `confi...
2009 Oct 25
0
[PATCH] Use pkg-config (if available) to detect libogg. Fall back to old method if pkg-config fails.
...MACRO_DIR([m4]) AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define) AM_MAINTAINER_MODE @@ -112,7 +113,16 @@ AC_MSG_RESULT($has_visibility) AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h) -XIPH_PATH_OGG([src="src"], [src=""]) +# Test for availablitly of pkg-config. +PKG_PROG_PKG_CONFIG + +if test -n "$PKG_CONFIG"; then + PKG_CHECK_MOD_VERSION(OGG, ogg >= 1.1.3, ac_cv_ogg=yes, ac_cv_ogg=no) + src=src + fi +if test x$ac_cv_ogg != xyes; then + XIPH_PATH_OGG([src="src"], [src=""]) + fi AC_SUBST(src) AC_CHECK_LIB(m, sin) @@ -287,7 +297,7 @@ AC_DEFI...
2009 Oct 25
1
[PATCH] Use pkg-config (if available) to detect libogg. Fall back to old method if pkg-config fails.
...DULES, [ACTION-IF-FOUND], +# [ACTION-IF-NOT-FOUND]) +# +# This is a very slight modification to the macro PKG_CHECK_MODULES that +# is in the original pkg.m4 file. It prints the versions in the checking +# message (erikd at mega-nerd.com). + +AC_DEFUN([PKG_CHECK_MOD_VERSION], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $2 ]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_def...
2015 May 26
0
Re: supermin in Fedora Rawhide switched (again) to using dnf instead of yum
...though: yum-utils-1.1.31-505.fc22.noarch dnf-1.0.0-1.fc22.noarch rpm-4.12.0.1-9.fc22.x86_64 > What is the output from ./configure? https://kashyapc.fedorapeople.org/virt/temp/supermin-config.log >From here, it complains that the 'rpm' package is not found in in the PKG_CONFIG_PATH: [. . .] configure:15882: $PKG_CONFIG --exists --print-errors "rpm" Package rpm was not found in the pkg-config search path. Perhaps you should add the directory containing `rpm.pc' to the PKG_CONFIG_PATH environment variable No package 'rpm' foun...
2020 Feb 20
0
Re: build problem with libxl
...c config file for pkg-config: https://cbs.centos.org/koji/buildinfo?buildID=27840 so it should work. Can you paste the config.log section beginning with 'checking for LIBXL'? On my Fedora 31 where I build with libxl it looks like this: configure:23591: checking for LIBXL configure:23598: $PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0" configure:23601: $? = 0 configure:23615: $PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0" configure:23618: $? = 0 configure:23666: result: yes configure:23718: checking libxlutil.h usability configure:23718: clang -c -g -g...
2020 Feb 21
1
Re: build problem with libxl
...name is next to > xen-4.12.2-1.el7's ChangeLog entry] > > Hi, Anthony! > > On Thu, Feb 20, 2020 at 07:10:38PM +0100, Christoph wrote: > > https://wiki.centos.org/HowTos/Xen/Xen4QuickStart > > > > configure:53501: checking for LIBXL > > configure:53508: $PKG_CONFIG --exists --print-errors "xenlight >= 4.6.0" > > Package xenblktapctl was not found in the pkg-config search path. > > Perhaps you should add the directory containing `xenblktapctl.pc' > > to the PKG_CONFIG_PATH environment variable > > It seems like xenligh...
2014 Nov 14
0
[PATCH]: libexttextcat from libreoffice
...T,, Define if you want textcat support for CLucene) ], [ - AC_CHECK_LIB(exttextcat, special_textcat_Init, [ - have_lucene_exttextcat=yes - AC_DEFINE(HAVE_LUCENE_EXTTEXTCAT,, Define if you want textcat (Debian version) support for CLucene) - ]) + if test "$PKG_CONFIG" != "" && $PKG_CONFIG --exists libexttextcat 2>/dev/null; then + PKG_CHECK_MODULES(LIBEXTTEXTCAT, libexttextcat) + LIBS="$LIBS $LIBEXTTEXTCAT_LIBS" + AC_DEFINE(HAVE_LUCENE_EXTTEXTCAT,, Define if you want textcat (LibreOffice version) support for CLucene) + els...
2015 Mar 14
0
[ANNOUNCE] font-util 1.3.1
These utilities are used when generating and building the packages for the X.Org fonts. This release fixes the autoconf macros installed for use generating the other Xorg font packages to respect the $PKG_CONFIG variable that some build systems, especially cross-compilers, require; and updates the license notice in map-JISX0201.1976-0 to the current version from Unicode Consortium. Adam Jackson (1): configure: Drop AM_MAINTAINER_MODE Alan Coopersmith (3): Fix a bunch of clang integer size co...
2014 Aug 19
1
[PATCH 2/2] Install udev rules in system-default directory
...d this to be dist_udevrules_DATA = 90-virtio-rng.rules or alternatively EXTRA_DIST = 90-virtio-rng.rules udevrules_DATA = 90-virtio-rng.rules > +AC_ARG_WITH([udevrulesdir], > + AS_HELP_STRING([--with-udevrulesdir=DIR], [Directory for udev rules]), > + [], > + [with_udevrulesdir=$($PKG_CONFIG --variable=udevdir udev)"/rules.d"]) > +AC_SUBST([udevrulesdir], [$with_udevrulesdir]) You can use AM_CONDITIONAL to skip the installation if $with_udevrulesdir is "no" (aka --without-udevrulesdir). Then you'd have EXTRA_DIST = 90-virtio-rng.rules if INSTALL_UDEV_RULES...
2014 Aug 19
1
[PATCH 2/2] Install udev rules in system-default directory
...d this to be dist_udevrules_DATA = 90-virtio-rng.rules or alternatively EXTRA_DIST = 90-virtio-rng.rules udevrules_DATA = 90-virtio-rng.rules > +AC_ARG_WITH([udevrulesdir], > + AS_HELP_STRING([--with-udevrulesdir=DIR], [Directory for udev rules]), > + [], > + [with_udevrulesdir=$($PKG_CONFIG --variable=udevdir udev)"/rules.d"]) > +AC_SUBST([udevrulesdir], [$with_udevrulesdir]) You can use AM_CONDITIONAL to skip the installation if $with_udevrulesdir is "no" (aka --without-udevrulesdir). Then you'd have EXTRA_DIST = 90-virtio-rng.rules if INSTALL_UDEV_RULES...
2018 Feb 22
1
[Bug 1230] New: checking for libmnl... no in cross-compile
...e libmnl found. *** Please install the 'libmnl' package Or consider --disable-nftables to skip iptables-compat over nftables support. but the check is not even compiling code, I think the check is checking the pkg-config. configure:13029: checking for libmnl configure:13036: $PKG_CONFIG --exists --print-errors "libmnl >= 1.0" Package libmnl was not found in the pkg-config search path. Perhaps you should add the directory containing `libmnl.pc' to the PKG_CONFIG_PATH environment variable No package 'libmnl' found configure:13039: $? = 1 configure:13053: $PK...