When installing LXDE on FreeBSD-HEAD (at least, until imake is
eliminated from the ports tree, if that ever happens) the following
addition to the make.conf will help immensely in preventing stress and
hair tearing.
# clang fallout: lxde has ports using imake, imake does not like clang
.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc46)
.if ${.CURDIR:M*/textproc/docbook-to-man} || ${.CURDIR:M*/x11/lxpanel}
CC=gcc46
CXX=g++46
CPP=cpp46
.endif
.endif
Note this only works if you have installed gcc 4.6, otherwise modify as
necessary.
When performing zfs perambulations after install (as noted in ZFS and NAStie
and i386 and not reading the specification), the chance of finger
fumbling errors is high. To prevent those errors, I modified the zfsinstall
script included in the mfsBSD 8.2-RELEASE-p2 ISO to configure the paths to
different dataset objects as described on the FreeBSD Wiki.
A patch is available for future use/reference, and the contents of
the patch are displayed below.
Apparently one should not skim the docs when putting together a server.
Apparently one should actually read the portion which tells you what type of
processor you have (for example, if you have a 64-bit processor). Occasionally
that type of information would be useful... like... say... when you are trying
to get your FreeBSD installation using ZFS to be stable, which it is NOT on
32-bit (ok, some small portion of the population has aligned the stars, but I
did not)! …continue.
In Debian on Macbook Pro 5.2 I mentioned using the xterm*font
resource to get rid of the nasty fonts, and then could not find the TTF fonts in
xfontsel/xlsfonts (despite using my previous post about xorg font
hell), and began to get very frustrated.
Apparently, the frustration was not necessary. Apparently, while I have spent
my time in OS X land, the Linux universe was moving further and further from
having X provide the fonts, instead using fontconfig and other tools. Also
xterm has a method to access ttf fonts separate from the normal X fonts.
So, Mac OS X got on my last nerve and led me back to the holy land
(linux, what else?). While FreeBSD beckoned there are certain pieces of
software I must have working for this Quarter. It is the first of my
Master Degree classes, so I want to get in the proper habits (such as not
staying up all night getting Mathematica or MATLAB working in FreeBSD, when
Linux versions are available ;)).
Regardless, some notes about stumbling blocks would be helpful if I need
to do this again, so here goes.
WIFI - The wireless is a Broadcom Corporation BCM4322.
According to various sources, stability of ZFS on i386 boxes is going to
be... not a priority. Regardless, I decided to take up the challenge.
My first attempt to get everything stable was to use zero settings in
the loader.conf file. That lasted until my first big ports build.
That did not work.
A similar (but not the actual: I have received plenty and just chose the
last one) error message follows.
It is always exciting (and scary!) when a new system arrives, and arrive
it did: A brand spanking seller-refurbished Dell Optiplex GX620 with 512
MB of RAM and a 40 GB hard drive. Wooo!
Ahem.
Anyway, the first task was to confirm it worked, which I did and it did. The
second task was to move NAStie (of building NAStie) over to the new
system.
Surprisingly (with a few burps because of SATA connected to the wrong
port and other fumbles) everything worked right away. I just made sure
to zpool export and zpool import as recommended on a forum post
about similar hijinks and the …continue.
While my priorities have not changed a "shiny" moment had me read all
about ZFS and how it will change the world, save all the children, and
eliminate hunger for all time.
With advertisements like those, how could I resist trying to run it on a
Compaq SR1103WM with a lofty 768MB of RAM? Luckily, I found a
post which provided almost everything needed to do a ZFS-mostly install.
As it had only been three days since the server rebuild, and everything
I did to setup the server aspects (vs. the actual install and
filessystem aspects) was still in my head, I figured it was now or …continue.