View Single Post
  #4   (View Single Post)  
Old 16th June 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by schh View Post
...can i just install the x packages with pkg_add or do i have to reinstall?
Section 4.11 of the FAQ answers this very question.

As for your other question, building ports involves building many dependencies. Building some of these dependencies requires X libraries on occasion. Section 15.4 describes this in more detail:
Quote:
Another common failure is a missing X11 installation. Even if the port you try to build has no
direct dependency on X11, a subpackage of it or its dependencies may require X11 headers
and libraries. Building ports on systems without X11 is not supported, so if you insist on doing
so, you are on your own to figure it out. For many ports, there are, however, "no_x11"
flavored packages available, which you can install without needing X11 on your system.
The requirement for installing X11 before building has not always been mandated. The problem is that too many people were asking "Why does my application not build?" so often that the result was simpler to make it a requirement. Far too many weren't sifting through the details themselves.

Last edited by ocicat; 16th June 2011 at 04:15 PM.
Reply With Quote