I know what was wrong, take a look at this extract:

% cat nmap-3.00-3.info
Package: nmap
Version: 3.00
Revision: 3
Maintainer: Jeremy Higgs <[EMAIL PROTECTED]>
BuildDepends: glib, libpcap, dlcompat-dev
Depends: libpcap-shlibs, gtk+-shlibs
Conflicts: nmap-nox ( <= %v-%r )
Replaces: nmap-nox ( <= %v-%r )
---

Notice that it doesn't explicitly mention that it requires gtk+? Well, it does! :)

After installing nmap for the first time, I had installed ethereal, which *does* depend on gtk+ (just as nmap *should*), and thus, when I rebuilt nmap today, it compiled all files as expected...

Experimenting a bit, I removed ethereal and gtk+, and tried to compile nmap and look what appears when it configures itself, in the precompile phase:

<snip>
checking for strcasestr... no
checking for inet_aton... yes
checking for getopt_long_only... no
checking for gtk-config... no
checking If you have GTK+ installed... no
configure: WARNING: Gtk+ has not been installed -> nmapfe will not be made
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in nbase
<snip>

I would have imagined that gtk+ was required for gtk+-shlibs to work...but apparently it didn't. Although I do recall an odd event, I *think* I saw gtk+ being installed without a compile just before ethereal compiled itself...hrmm, as if it had already been built, but not actually installed. (because I KNOW that I didn't remove gtk+ at any time before I installed nmap.

Hrmm, hrmm, the more I think about it I recall something else, I did have problems compiling nmap at first, since it I had problems finding a working ibpcap. (www.tcpdump.org doesn't respond) I ended up searching for the MD5 and finding a ibpcap that seemed correct, continued, failed again, redownloaded and it worked. (corrupt download at first I suspect). However, the actual compilation process was interrupted...could gtk+ have been left uninstalled then?

/Niclas



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to