Re: Cyrus 2.3.9: Errors compiling outside source directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux