View Single Post
  #2   (View Single Post)  
Old 12th March 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by thefronny View Post
How might I break Makefile to get it to build?
  • First, why are you building? Why not simply install the package pointing PKG_PATH to a mirror?
  • Why did you install X on a firewall?
Quote:
"make build" fails because X is not running,
Untrue. Nothing in the ports tree requires X to be running. What is required by a number of ports is for the X libraries to be present. In fact, you can determine kismet's dependencies by the following (assuming the ports tree is installed...):
Code:
$ cd /usr/ports/net/kismet
$ make print-build-depends
This port requires package(s) "metaauto-1.0 libusb-0.1.12p4 gperf-3.0.4
 libiconv-1.13p2 gettext-0.18.1p0 gmake-3.81p1 ghostscript-fonts-8.11p2
 gmp-4.3.1 groff-mdoc-0.0 groff-1.15.4.7p3 jpeg-8b tiff-3.9.4 lcms-1.18a
 jbigkit-1.6p2 unzip-6.0 jasper-1.900.1p1 help2man-1.29p0 autoconf-2.61p3
 libltdl-1.5.26p0 libtool-1.5.26p4 autoconf-2.59p3 tcl-8.5.9 sqlite3-3.7.4 
 tk-8.5.9p0 db-4.6.21p4 automake-1.9.6p5 autoconf-2.62p0 bzip2-1.0.6 
 gdbm-1.8.3p0 python-2.6.6p0 libxml-2.7.8p1 xdg-utils-1.0.2p9 
 dbus-1.4.1p1v0 pcre-8.02p1 p5-XML-Parser-2.40p0 intltool-0.41.1
 libgamin-0.1.10p3 glib2-2.26.1p0 desktop-file-utils-0.18 ijs-0.35
 png-1.2.44 netpbm-10.35.75 cups-1.4.6p2 ghostscript-8.63p16 
 transfig-3.2.5ap0 libwmf-0.2.8.4 ImageMagick-6.4.5.6p0" to build.
$
To determine what packages are run-time dependencies:
Code:
$ cd /usr/ports/net/kismet
$ make print-run-depends
$
Note the exact build dependencies above are for -current.

This points out that there are no other run-time dependencies, however, some of the build dependencies may require the presence of X's libraries.

Again, installing the pre-built package gets around any dependency on X.
Reply With Quote