Confused Development

I develop software and I often get confused in the process. I usually find the answers after a while, but a month later I can't remember them. So from now on, I will write them down here.

Sunday, June 11, 2006

Using configure / installing libical on Mac OS X

I recently tried to build libical (make sure you get the current version from there, and not the obsolete one from here), which I need to develop an iCal plugin for semiBlog. Running configure, I always ran into this error:

[knud@Dunkers-Hole]# ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c

[...]

checking whether ln -s works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking host system type... configure: error: can not guess host type; you must specify one
Ok, so I need to specify a host type. After some searching, it turned out that the correct host to specify for me was powerpc-apple-darwin8.6.0 (I still don't have an Intel-Mac...). And - hooray -, by running
./configure powerpc-apple-darwin8.6.0
the configure script runs perfectly,