Saturday, December 23, 2006

DBD::mysql done

Installing the perl module DBD::mysql is notoriously plagued by glitches. Getting it going on my MacBook Pro proved no different. I found some references to others having issues, but none the same as mine. Perhaps this is because I have installed perl 5.8.8 (placing it in /usr/local/bin, archiving the existing install (5.8.6), and symbolically linking /usr/bin/perl to the new install). Or maybe it's the phase of the moon.

The error I got at the "make" stage listed two /tmp/.out files and told me they were both i386 architecture files and couldn't be bundled together. The Makefile.PL uses the output form mysql_config to set the -cflags directive by default, so I took a look at this. It was:

-I/usr/local/mysql/include -Os -arch i386 -fno-common

removing the "-arch" flag worked. All I had to do was:

mysql -u root -p
password: *****
> grant all on test.* to ''@localhost
OK
> quit

make clean
perl Makefile.PL -cflags="-I/usr/local/mysql/include -Os -fno-common"
make
make test
sudo make install

Sunday, December 17, 2006

Wow

What a wonderful birthday weekend it's been. I feel very loved. Thanks everyone.

:-)

Friday, December 8, 2006

Ginkgo Biloba

Well, cool. The nice gentleman at the apple store took the memory and the MacBook Pro in the back and came back out with it working. Not sure what he did that I didn't, but that's ok.

More memory is nice since I've been running more applications at once since I downloaded Desktop Manager

Thursday, December 7, 2006

Bad Memory

New memory module for MacBook Pro came by FedEx. Install seemed easy enough, but the machine won't even turn on with it in. Damn. Appt. at Apple store this evening, we'll see what they have to say about it.