Cyrus 2.3.9: Errors compiling outside source directory
Vincent Fox
vbfox at ucdavis.edu
Sun Sep 23 00:47:07 EDT 2007
Ah, found my problem. The 2nd problem with glob_t not being found, was
caused by my fix
for the first problem. To rewind a bit, my first trial failed here:
### Done building chartables.
gcc -c -I.. -I/ucd/include
-I/ucd/src/cyrus-imapd/cyrus-imapd-2.3.9/cyrus-imapd-2.3.9/et
-I/ucd/include -I/usr/include -I/u
cd/src/cyrus-imapd/cyrus-imapd-2.3.9/cyrus-imapd-2.3.9/et -I/ucd/include
-DHAVE_CONFIG_H -g -O \
chartable.c
chartable.c:1:21: error: charset.h: No such file or directory
chartable.c:2:23: error: chartable.h: No such file or directory
For which I applied a fix by trying to define CPPFLAGS=(a lot of places)
Since there was a glob.h also in the Cyrus source directory, with quite
different contents than
the /usr/include/glob.h I was then breaking cyrusdb_quotalegacy.c. I
could see it finally when
I started playing with cpp.
So I'm back to finding a proper fix for the fact, that the compile line
for chartable.c doesn't
include the $scrdir/lib directory and hence can't find charset.h and
chartable.h.
More information about the Info-cyrus
mailing list