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.

2007/04/30

Keeping FreeBSD Ports up to date with cvsup

Filed under: FreeBSD — Dan @ 11:00

If your a unix/linux/freebsd nerd, it can be tedious to figure out how to refresh

Beautiful FreeBSD Wallpaper

 your installed apps repository. In a previous life, I did some sysadmin work on some large (to me) scale FreeBSD servers. To the point; cvsup is a quick command to keep FreeBSD ports in sync. I could never seem to remember this trick, so I wrote it down here. 

 

 

 

 

(more…)

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