<div dir="ltr">Suggestion: <div>$ sudo apt install libc6-dev</div><div><br></div><div><div>or maybe</div><div><br></div><div>$ sudo apt update</div><div>$ sudo apt-get build-dep pkg-config</div><div>$ sudo apt-get install build-essential devscripts</div><div><br></div><div>You can then even build the system pkg-config like this:</div><div><br></div><div><div>enable the deb-src lines in /etc/apt/sources.list, then:<br></div><div><div></div></div></div><div><br></div><div>$ sudo apt update</div><div>$ apt-get source pkg-config<br></div><div>$ cd pkg-config-0.29.1  (or whatever)</div><div>$ debuild -b -uc -us<br></div></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 18, 2019 at 7:07 AM Larsen Vanofferen <<a href="mailto:lkv0315@me.com">lkv0315@me.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><br><div><br><blockquote type="cite"><div>Begin forwarded message:</div><br><div style="margin:0px"><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(0,0,0)"><b>From: </b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif">Larsen Vanofferen <<a href="mailto:lkv0315@me.com" target="_blank">lkv0315@me.com</a>><br></span></div><div style="margin:0px"><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(0,0,0)"><b>Subject: </b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif"><b>Issue Building pkg-config</b><br></span></div><div style="margin:0px"><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(0,0,0)"><b>Date: </b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif">November 18, 2019 at 9:43:51 AM EST<br></span></div><div style="margin:0px"><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(0,0,0)"><b>To: </b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif"><a href="mailto:pkg-config@lists.freedesktop.org" target="_blank">pkg-config@lists.freedesktop.org</a><br></span></div><br><div><div style="overflow-wrap: break-word;">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<div><br></div><div><div><font face="Menlo" style="font-size:14px">gconvert.c:61:2: <font color="#ff1f00">error</font>: #error GNU libiconv not in use but included iconv.h is from libiconv</font></div><div><font face="Menlo" style="font-size:14px"> #<font style="background-color:rgba(255,255,255,0)" color="#ff1f00">error</font> GNU libiconv not in use but included iconv.h is from libiconv</font></div><div><font face="Menlo" style="font-size:14px">  <font color="#ff1f00">^~~~~</font></font></div><div><font face="Menlo" style="font-size:14px">make[6]: *** [Makefile:1373: libglib_2_0_la-gconvert.lo] Error 1</font></div><div><font face="Menlo" style="font-size:14px">make[6]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1/glib/glib'</font></div><div><font face="Menlo" style="font-size:14px">make[5]: *** [Makefile:1934: all-recursive] Error 1</font></div><div><font face="Menlo" style="font-size:14px">make[5]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1/glib/glib'</font></div><div><font face="Menlo" style="font-size:14px">make[4]: *** [Makefile:953: all] Error 2</font></div><div><font face="Menlo" style="font-size:14px">make[4]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1/glib/glib'</font></div><div><font face="Menlo" style="font-size:14px">make[3]: *** [Makefile:1046: all-recursive] Error 1</font></div><div><font face="Menlo" style="font-size:14px">make[3]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1/glib'</font></div><div><font face="Menlo" style="font-size:14px">make[2]: *** [Makefile:770: all] Error 2</font></div><div><font face="Menlo" style="font-size:14px">make[2]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1/glib'</font></div><div><font face="Menlo" style="font-size:14px">make[1]: *** [Makefile:707: all-recursive] Error 1</font></div><div><font face="Menlo" style="font-size:14px">make[1]: Leaving directory '/home/pi/Downloads/pkg-config-0.29.1'</font></div><div><font face="Menlo" style="font-size:14px">make: *** [Makefile:463: all] Error 2</font></div></div><div><font face="Menlo" style="font-size:14px"><br></font></div><div><font face="Menlo" style="font-size:14px"><br></font></div><div>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!</div></div></div></blockquote></div><br></div>_______________________________________________<br>
pkg-config mailing list<br>
<a href="mailto:pkg-config@lists.freedesktop.org" target="_blank">pkg-config@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pkg-config" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pkg-config</a></blockquote></div>