As Mike points out, if you remove the reference to x11 in the Requires: line in xrender.pc and cairo.pc in /usr/lib/pkgconfig, nmap will build fine.
You may or may not want to do this - up to you. Steve C. Mike.Sullivan at sun.com wrote: >>From sfwnv-discuss-bounces at opensolaris.org Thu Sep 13 21:11:49 2007 > >> In the current sfwnv tree nmap build appears broken, or is it just my system? >> >> >> usr/src/cmd/nmap% make -f Makefile.sfw install >> [...] >> gcc -g -O2 -Wall -I../nbase -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" >> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" >> -DMISSING_GTK=1 -DSOLARIS=1 -DVERSION=\"4.20\" -DHAVE_CONFIG_H=1 -I. -c >> nmapfe.c >> nmapfe.c:114:2: #error "Your system does not appear to have GTK >> (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 :)" >> gmake[2]: *** [nmapfe.o] Error 1 > > If you look to where nmap runs configure, you'll see it fails. > > It's this: > > 6571762 xrender.pc depends on non-existent x11.pc > > plus apparently the latest cairo pkgconfig files also depend > on x11. > > Mike > _______________________________________________ > sfwnv-discuss mailing list > sfwnv-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/sfwnv-discuss >
