Nmap Development mailing list archives
Re: I can not install nmapfe.
From: Manu Garg <manugarg () gmail com>
Date: Wed, 13 Apr 2005 21:56:30 -0400
./configure script is giving enough hints by itself. At least you could install gtk+, right? gtk installation installs a script called gtk-config somewhere (most probably in /usr/local/bin). Try setting GTK_CONFIG environment variable to the full path of gtk-config. Note: there might be 2 gtk-config on your computer. Make sure that you use right one(one with new version, try running gtk-config to determine) in GTK_CONFIG env. variable. And please include list while mailing. Somebody else may better understand your problem. cheers, ~Manu On 4/13/05, Román Posadas López <roman_posadas () yahoo com mx> wrote:
OK, thank you very much, This is the evidence that I do not know too much about it. However the results where no very good. I found the pkgconfig folder in: /usr/lib /usr/share /usr/local/lib This is my PKG_CONFIG_PATH. [root@dhcp-10-16-96-70 nmapfe]# echo $PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/usr/lib/pkgconfig and when I click ./configure inside the nmapfe folder I get this. checking for gtk-config... no checking for GTK - version >= 1.0.0... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. configure: WARNING: NMAPFE WILL NOT BE BUILT -- BUT NMAP SHOULD STILL WORK checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu configure: creating ./config.status config.status: creating Makefile Now I have enclosed these text files with the files of every folder and also the config.log --- Manu Garg <manugarg () gmail com> escribió:Good day Roman, You searched for the wrong file. PKG_CONFIG_PATH is supposed to be the path to pkg-config configuration directory, while you searched for pkg-config binary. You should look in /usr/local/lib/pkgconfig (default path for compilation) and /usr/lib/pkgconfig (distribution default) directories. These are the directories where all gnome packages store their configuration files. So, first see if there is a file for glib-2 in /usr/local/lib/pkgconfig. If it's there, change you PKG_CONFIG_PATH as following: exportPKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATHSee manual page of pkg-config: 'man pkg-config'. cheers, ~manu On 4/13/05, Román Posadas López <roman_posadas () yahoo com mx> wrote:Good Day Today I made a search of the file pkg-config anditwas found in this location /usr/bin then I wrote this command. export PKG_CONFIG_PATH=/usr/bin echo $PKG_CONFIG_PATH /usr/bin/ then I go to the nmapfe folder and type./configureEverything goes fine untill I see this: checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.0.0..../configure:line 2292: /usr/bin/gtk-config: No such file or directory ./configure: line 2293: /usr/bin/gtk-config: Nosuchfile or directory ./configure: line 2295: /usr/bin/gtk-config: Nosuchfile or directory ./configure: line 2297: /usr/bin/gtk-config: Nosuchfile or directory ./configure: line 2299: /usr/bin/gtk-config: Nosuchfile or directory no *** Could not run GTK test program, checkingwhy...*** The test program failed to compile or link.Seethe file config.log for the *** exact error that occured. This usually meansGTKwas incorrectly installed *** or that you have moved GTK since it wasinstalled.In the latter case, you *** may want to edit the gtk-config script: /usr/bin/gtk-config configure: WARNING: NMAPFE WILL NOT BE BUILT --BUTNMAP SHOULD STILL WORK checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu configure: creating ./config.status config.status: creating Makefile Now what do you think I should do ?. I will apretiate any answer to this e-mail. The real thing is that I am finding very difficulttoinstall the libraries needed to install nmapfe. Sincerely Román Posadas L. --- Manu Garg <manugarg () gmail com> wrote:How did you install glib-2.6? If you havecompiledit and didn't change prefix, it would go to /usr/local by default,whilesystem default is generally /usr. So you must be having 2 glib packages in this case. Gnome based softwares use pkgconfig to find outvariousparameters about installed packages. You'll have to add following env variable inyourshell:PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATHAfter adding this, gtk compilation will be abletofind new glib. Cheers, Manu On Apr 1, 2005 12:46 PM, Román Posadas López <roman_posadas () yahoo com mx> wrote:Good day My name is Roman and I am from Mexico City, Iwanttoinstall nmapfe, however: This occurs when I click make install nmapfe.c:114:2: #error "Your system does notappear tohave GTK (www.gtk.org <http://www.gtk.org>)installed. Thus the Nmap XFront End will not compile. You should stillbeableto use Nmap the normal way (via text console).GUIsare 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 thismessage:checking for glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.7.0... Requested 'glib-2.0 >=2.6.0'butversion 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_PATHenvironmentvariable if your libraries are in anonstandardprefixso pkg-config can find them. How do I know if I meet the libraryrequirements ?_________________________________________________________Do You Yahoo!? La mejor conexión a internet y 25MB extra a tucorreo por $100 al mes.http://net.yahoo.com.mx---------------------------------------------------------------------For help using this (nmap-dev) mailing list,senda blank email tonmap-dev-help () insecure org . List archive:http://seclists.org=== message truncated === _________________________________________________________ Do You Yahoo!? La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx
-- Manu Garg http://manugarg.freezope.org "Truth will set you free!" _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- I can not install nmapfe. Román Posadas López (Apr 01)
- Re: I can not install nmapfe. Manu Garg (Apr 01)
- <Possible follow-ups>
- Re: I can not install nmapfe. Manu Garg (Apr 13)
- Message not available
- Re: I can not install nmapfe. Manu Garg (Apr 13)
- Message not available