How did you install glib-2.6? If you have compiled it and didn't change
prefix, it would go to /usr/local by default, while system default is
generally /usr. So you must be having 2 glib packages in this case. Gnome
based softwares use pkgconfig to find out various parameters about installed
packages.
You'll have to add following env variable in your shell:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
After adding this, gtk compilation will be able to find new glib.
Cheers,
Manu
On Apr 1, 2005 12:46 PM, Román Posadas López <roman_posadas_at_yahoo.com.mx>
wrote:
>
> Good day
>
> My name is Roman and I am from Mexico City, I want to
> install nmapfe, however:
>
> This occurs when I click make install
>
> nmapfe.c:114:2: #error "Your system does not appear to
> have GTK (www.gtk.org <http://www.gtk.org>) installed. Thus the Nmap X
> Front End will not compile. You should still be able
> to use Nmap the normal way (via text console). GUIs
> are for wimps anyway :)"
> make[1]: *** [nmapfe.o] Error 1
> make[1]: Leaving directory `/root/nmap-3.81/nmapfe'
> make: *** [nmapfe/nmapfe] Error 2
>
> I can install glib-2.6.0
>
> When I try to install gtk+-2.6.0 I get this message:
>
> checking for glib-2.0 >= 2.6.0 atk >= 1.0.1
> pango >= 1.7.0... Requested 'glib-2.0 >= 2.6.0' but
> version of GLib is 2.4.7
>
> configure: error: Library requirements (glib-2.0 >=
> 2.6.0 atk >= 1.0.1 pango >= 1.7.0) not met;
> consider adjusting the PKG_CONFIG_PATH environment
> variable if your libraries are in a nonstandard prefix
> so pkg-config can find them.
>
> How do I know if I meet the library requirements ?
>
>
> _________________________________________________________
> Do You Yahoo!?
> La mejor conexión a internet y 25MB extra a tu correo por $100 al mes.
> http://net.yahoo.com.mx
>
> ---------------------------------------------------------------------
> For help using this (nmap-dev) mailing list, send a blank email to
> nmap-dev-help@insecure.org . List archive: http://seclists.org
>
>
--
Manu Garg
http://manugarg.freezope.org
"Truth will set you free!"
Received on Apr 01 2005