GNOME Bugzilla – Bug 61058
libmutt fails to compile on Sun (flock used but not available)
Last modified: 2009-08-15 18:40:50 UTC
- ran configure with only --prefix set - type make in top level directory in the libmutt sub directory I get the following error: gcc -DSHAREDIR=\"/scratch/tparent/gnome/share\" -DSYSCONFDIR=\"/scratch/tparent/gnome/etc\" -DLIBMUTT -I. -I./imap -I/scratch/tparent/gnu/include -I/scratch/tparent/gnome/include -g -O2 -I/user/fdc/tparent/gnu/include -c mx.c mx.c: In function `mx_lock_file': mx.c:205: `LOCK_EX' undeclared (first use in this function) mx.c:205: (Each undeclared identifier is reported only once mx.c:205: for each function it appears in.) mx.c:205: `LOCK_SH' undeclared (first use in this function) mx.c:205: `LOCK_NB' undeclared (first use in this function) mx.c:252: `LOCK_UN' undeclared (first use in this function) mx.c: In function `mx_unlock_file': mx.c:273: `LOCK_UN' undeclared (first use in this function) make[2]: *** [mx.o] Error 1 make[2]: Leaving directory `/scratch/tparent/src/balsa-1.2.0/libmutt' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/scratch/tparent/src/balsa-1.2.0/libmutt' make: *** [all-recursive-am] Error 2
Did you configure with --disable-flock --enable-fcntl as recommended in README (gee, we should probably check for in in configure...).
OK, that seems to have fixed that error. Now it looks like I'll have to upgrade some of my gnome libraries due to other problems. Gnome is a royal pain to compile. Too many libraries that you are constantly having to upgrade.
BTW, balsa-1.3.7 (prerelease of 1.4.0) is available for download: http://balsa.gnome.org/