Hello, <br><br>I want to install lablgtk, and when I was doing &quot;./configure&quot; (for lablgtk), I got<br>following attached error msg (1).<br><br>So I try to download cairo and comple it, but after &quot;cd cairo-1.4.14&quot;,<br>
when I was doing &quot;./configure&quot; (for cairo), I got following attached msg (2).<br><br>And then a funny thing is that I actually should have cairo installed on my machine <br>using &quot;MacPorts&quot;, according to attached commands and msg (3).<br>
<br>Anyone can help me to see what are is the problem here?<br>Many thanks in advance!<br><br>------------------------------------------<br>(1) ./configure for lablgtk<br>------------------------------------------<br>checking pkg-config is at least version 0.9.0... yes<br>
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 &gt;= 2.13.5&nbsp;&nbsp;&nbsp; atk &gt;= 1.9.0&nbsp;&nbsp;&nbsp; pango &gt;= 1.17.3&nbsp;&nbsp;&nbsp; cairo &gt;= 1.2.0) were not met:<br><br>No package &#39;cairo&#39; found<br><br>Consider adjusting the PKG_CONFIG_PATH environment variable if you<br>
installed software in a non-standard prefix.<br><br>Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS<br>and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.<br>See the pkg-config man page for more details.<br>
------------------------------------------<br><br><br>------------------------------------------<br>
(2)&nbsp; ./configure for cairo<br>
------------------------------------------<br>
checking whether cairo&#39;s Microsoft Windows font backend could be enabled... no (requires a Win32 platform)<br>checking for cairo&#39;s PNG backend... <br>configure: WARNING: Could not find libpng in the pkg-config search path<br>
checking whether cairo&#39;s PNG backend could be enabled... no<br>configure: error: requested PNG backend could not be enabled<br>
------------------------------------------<br>
<br><br><br>------------------------------------------<br>
(3)&nbsp; MacPorts show cairo is there<br>
------------------------------------------<br>$ sudo port installed cairo<br>The following ports are currently installed:<br>&nbsp; cairo @1.4.10_0<br>&nbsp; cairo @1.4.14_0 (active)<br><br>$ sudo port uninstall cairo @1.4.10_0<br>
---&gt;&nbsp; Unable to uninstall cairo 1.4.10_0, the following ports depend on it:<br>---&gt;&nbsp;&nbsp;&nbsp; pango<br>---&gt;&nbsp;&nbsp;&nbsp; pango<br>---&gt;&nbsp;&nbsp;&nbsp; gtk2<br>Error: port uninstall failed: Please uninstall the ports that depend on cairo first.<br>
<br><br>$ sudo port uninstall cairo @1.4.14_0&nbsp; <br>---&gt;&nbsp; Unable to uninstall cairo 1.4.14_0, the following ports depend on it:<br>---&gt;&nbsp;&nbsp;&nbsp; pango<br>---&gt;&nbsp;&nbsp;&nbsp; pango<br>---&gt;&nbsp;&nbsp;&nbsp; gtk2<br>Error: port uninstall failed: Please uninstall the ports that depend on cairo first.<br>

------------------------------------------<br>
<br><br><br clear="all">Anything can I do to keep on installing lablgtk without problems from cairo?<br><br>Thanks and Regards,<br>-- <br>Angela Zhu<br>------------------------------------------<br>Dept. of CS, Rice University<br>
<a href="http://www.cs.rice.edu/~yz2/">http://www.cs.rice.edu/~yz2/</a><br>------------------------------------------