./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_at_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_at_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_at_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:
> > export
> >
> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATH
> >
> > See manual page of pkg-config: 'man pkg-config'.
> >
> > cheers,
> > ~manu
> >
> > On 4/13/05, Román Posadas López
> > <roman_posadas_at_yahoo.com.mx> wrote:
> > > Good Day
> > >
> > > Today I made a search of the file pkg-config and
> > it
> > > was 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
> > ./configure
> > >
> > > Everything 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: No
> > such
> > > file or directory
> > > ./configure: line 2295: /usr/bin/gtk-config: No
> > such
> > > file or directory
> > > ./configure: line 2297: /usr/bin/gtk-config: No
> > such
> > > file or directory
> > > ./configure: line 2299: /usr/bin/gtk-config: No
> > such
> > > file or directory
> > > no
> > > *** Could not run GTK test program, checking
> > why...
> > > *** The test program failed to compile or link.
> > See
> > > the file config.log for the
> > > *** exact error that occured. This usually means
> > GTK
> > > was incorrectly installed
> > > *** or that you have moved GTK since it was
> > installed.
> > > In the latter case, you
> > > *** may want to edit the gtk-config script:
> > > /usr/bin/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 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 difficult
> > to
> > > install the libraries needed to install nmapfe.
> > >
> > > Sincerely
> > > Román Posadas L.
> > >
> > > --- Manu Garg <manugarg_at_gmail.com> wrote:
> > > > 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_at_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
Received on Apr 13 2005