Building GnuTLS and GNU SASL without running ./configure

Sometimes it can be useful to build things without the autoconf ./configure machinery, and just use a simple and hand-maintained makefile and config.h. This is needed to build things in older uClinux environments. I wrote some instructions on how to build GnuTLS and GNU SASL, and their dependencies (libgpg-error, libgcrypt, libtasn1) without running ./configure, see:

http://josefsson.org/uclinux/old/

The makefile/config.h aren’t specific to uClinux, so if you for some reason need to build these projects in some other environment, without autoconf, the files may be useful.

(Although if you want to build GnuTLS/GSASL properly under a modern uClinux, you’ll be better of reading an earlier post.)

1 TeraByte

The timing of an article about the Hitachi 1TB disk (linked via a slashdot post) and the disk situation on my home server was too good to be missed. Hence this.

dopio:~# df -h|tail -3
/dev/sda1             917G  200M  871G   1% /big
/dev/sdb1             276G  248G   14G  95% /data
/dev/sdc1             276G  264G     0 100% /backup
dopio:~# 

Oh, and not to be missed: the PopSci explanation of Perpendicular technology.

OpenMoko first impressions

The physical design is excellent. The screen quality is awesome.

I started by flashing pre-built images to get something working. I flashed a new kernel and rootfs. The basic functionality is there, but things tend to crash a lot.

Building the software locally took quite some time, maybe close to a day on my laptop. The build tree is 11GB large. That is huge. Updating the software to the latest version and re-building it is pretty fast though; around a few minutes.

With todays’ build, I was finally able to make a voice call. The openmoko-dialer seems quite solid. What is missing is the audio settings. I’m now using alsactl -f /etc/alsa/gsmhandset.state restore to put the audio in the right state. There was a lot of echo and noise during the call.

Playing MP3 works fine. I was worried about performance problems, but the GUI is still responsive, even while copying a ~50MB file onto the 512MB mini-SD card. I discovered that the external audio connector isn’t a standard audio contact, it is smaller. I need to go out and buy a converter to be able to plug the neo into my stereo. It would have been nice if this cable had been included.

I briefly tried bluetooth, and at least the low-level stuff seems to be present and working. There is no GUI to power up the bluetooth chip though.