The Media Box

I’ve been trying unsuccessfully to get Apache installed on my media box, in order to continue development of NeoMPC. I’d been getting an error message telling me that the build environment had changed, and all attempts at getting it compiled were failing.

Tonight I found the problem, in /etc/make.conf:

CFLAGS="-O2 -march=i686  -msse -mmmx -mfpmath=sse  -pipe -fomit-frame-pointer"

You probably can’t tell what’s wrong with that line, even if you’re a seasoned Gentoo Linux user. Here is the correct line:

CFLAGS="-O2 -march=i686 -msse -mmmx -mfpmath=sse -pipe -fomit-frame-pointer"

Spot the difference? Look carefully…

There’s two spaces between -march=i686 and -msse, and again between -mfpmath=sse and -pipe and these cause the compile process to think that the build environment has changed somewhere down the line. Stupid bloody CFLAGS parser.

For the record, here is the error that I was getting:

configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -O2 -march=i686  -msse -mmmx -mfpmath=sse  -pipe -fomit-frame-pointer
configure:   current value: -O2 -march=i686 -msse -mmmx -mfpmath=sse -pipe -fomit-frame-pointer
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm /var/tmp/portage/apache-2.0.58-r1/work/httpd-2.0.58/config.cache' and start over
configure failed for srclib/pcre

On a good note, I’ve spotted NeoMPC being used in the field!

Blogging from Textmate

Great screencast by Allan Odgaard on the blogging bundle in Textmate. In fact I used it to post this!

Websites as Graphs

Interesting applet that creates crazy looking graphs of websites, like the one below.

HTML graph of Pixelhum

[Via Ministry of Information]

Towel Day!

Towel Day

I can’t believe this one passed me by! I didn’t bring a towel…

NeoMPC Reprise

I’m in the process of getting my Media Box up and running again, the intention being to set it up as a music player with my iPaq as the remote. This means the the NeoMPC project is not dead! I’m going to make a page for it, so it has a permanent home here on PixelHum.

← Previous  1 … 5 6 7 8 9 … 19 Next →

About

Pixelhum is the web playground of Dan Barber (danbee), a disgruntled Web Designer and general geek.

Header image by Chris Percival. Licenced under Creative Commons.

User