nulltrap.com

2007/06/28

Solving X11BASE port collision on older FreeBSD machines when using 6.2 Ports

Filed under: FreeBSD, HOWTO — Dan @ 16:00

Today I was updating our main FreeBSD DNS server, and when I went to make bind9, I got an odd failure message:


super1# pwd
/usr/ports/dns/bind9
super1# make

On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf. On the other hand, if you do wish to use non-default X11BASE, please set variable USE_NONDEFAULT_X11BASE.
*** Error code 1
Stop.
super1# 

To fix it, (for a server which has no X11 installed)… I edited the make.conf file under /etc to “USE_NONDEFAULT_X11BASE”.

 

  1. pico /etc/make.conf
  2. Add the following line at the bottom.

USE_NONDEFAULT_X11BASE=${LOCALBASE}

Also add a comment mentioning the change.
# added by DC 6.28.2007 to fix ports when running make

Hopefully this helps.

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

WP All rights reserved, Copyright 2007-2009 nulltrap.com Page rendered in 0.599 seconds