Issue Building pkg-config

Dan Kegel dank at kegel.com
Mon Nov 18 16:09:00 UTC 2019


Suggestion:
$ sudo apt install libc6-dev

or maybe

$ sudo apt update
$ sudo apt-get build-dep pkg-config
$ sudo apt-get install build-essential devscripts

You can then even build the system pkg-config like this:

enable the deb-src lines in /etc/apt/sources.list, then:

$ sudo apt update
$ apt-get source pkg-config
$ cd pkg-config-0.29.1  (or whatever)
$ debuild -b -uc -us



On Mon, Nov 18, 2019 at 7:07 AM Larsen Vanofferen <lkv0315 at me.com> wrote:

>
>
> Begin forwarded message:
>
> *From: *Larsen Vanofferen <lkv0315 at me.com>
> *Subject: **Issue Building pkg-config*
> *Date: *November 18, 2019 at 9:43:51 AM EST
> *To: *pkg-config at lists.freedesktop.org
>
> Hello, I am trying to build pkg-config on my raspberry pi 4B running the
> most up to date version of raspbian. I have installed both gettext and
> libconfig, which seem to be the only dependencies. The ./configure ended up
> working as expected. Once running the sudo make, the readout eventually
> gives the following
>
> gconvert.c:61:2: error: #error GNU libiconv not in use but included
> iconv.h is from libiconv
>  #error GNU libiconv not in use but included iconv.h is from libiconv
>   ^~~~~
> make[6]: *** [Makefile:1373: libglib_2_0_la-gconvert.lo] Error 1
> make[6]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1/glib/glib'
> make[5]: *** [Makefile:1934: all-recursive] Error 1
> make[5]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1/glib/glib'
> make[4]: *** [Makefile:953: all] Error 2
> make[4]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1/glib/glib'
> make[3]: *** [Makefile:1046: all-recursive] Error 1
> make[3]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1/glib'
> make[2]: *** [Makefile:770: all] Error 2
> make[2]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1/glib'
> make[1]: *** [Makefile:707: all-recursive] Error 1
> make[1]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1'
> make: *** [Makefile:463: all] Error 2
>
>
> I’m pretty new at this whole Linux/Unix kind of thing so I really have no
> idea of where to go from here, since neither the libiconfig’s README or
> INSTALL text files had any relevant info. The pkg-config README and INSTALL
> texts provided me with no helpful info, at least that I understand. Any
> help would be greatly appreciated! Thanks!
>
>
> _______________________________________________
> pkg-config mailing list
> pkg-config at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pkg-config
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pkg-config/attachments/20191118/4f4bd756/attachment.html>


More information about the pkg-config mailing list