Re: Cyrus 2.3.9: Errors compiling outside source directory

2007-09-23 Thread Robert Banz
I have a repository copy of the cyrus source, and build in an 'lndir'- d tree. Sadly, while building-outside-the-source tree should work fine, every once and awhile you run into gotchas like this which aren't work the time tracking down. lndir symlink trees give you almost the same functi

Re: Cyrus 2.3.9: Errors compiling outside source directory

2007-09-23 Thread Vincent Fox
After hours of struggle, I am abandoning this and switching to simply having my script unpack the tarball into /tmp and compile it there. Every time I found some fix for one piece there was another one that needed fixing. Like in the sieve dir there is the xversion.sh that creates an xversion.h.

Re: Cyrus 2.3.9: Errors compiling outside source directory

2007-09-23 Thread Vincent Fox
It's undoubtedly not the right way, but I patched lib/Makefile.in. The basic problem in lib I think is twofold: 1) chartable.c being dynamically built during make, so it's not there when the makedepend is run 2) cyrusdb_quotalegacy.c including glob.h, which has a name collision with a similar Cyr

Re: Cyrus 2.3.9: Errors compiling outside source directory

2007-09-22 Thread Vincent Fox
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/

Re: Cyrus 2.3.9: Errors compiling outside source directory

2007-09-22 Thread Bron Gondwana
On Sat, Sep 22, 2007 at 08:02:34PM -0700, Vincent Fox wrote: > Bron Gondwana wrote: > > Do you have the 'makedepend' utility on your system? I found > > that if it wasn't there, "make depend" would not get all the > > dependencies in place. > > > In Solaris, there is a makedepend in /usr/openwi

Re: Cyrus 2.3.9: Errors compiling outside source directory

2007-09-22 Thread Vincent Fox
Bron Gondwana wrote: > Do you have the 'makedepend' utility on your system? I found > that if it wasn't there, "make depend" would not get all the > dependencies in place. > In Solaris, there is a makedepend in /usr/openwin/bin. Hence my including that directory in PATH at top of script. I su

Re: Cyrus 2.3.9: Errors compiling outside source directory

2007-09-22 Thread Bron Gondwana
On Sat, Sep 22, 2007 at 04:36:03PM -0700, Vincent Fox wrote: > So our protocol is we have a central repository in AFS for > source code. Then we write a script called BUILD.ksh that > does all the right stuff to compile into a /tmp/(package)-obj > directory on each build platform. This is not work

Cyrus 2.3.9: Errors compiling outside source directory

2007-09-22 Thread Vincent Fox
So our protocol is we have a central repository in AFS for source code. Then we write a script called BUILD.ksh that does all the right stuff to compile into a /tmp/(package)-obj directory on each build platform. This is not working for me yet on Cyrus 2.3.9 as the configure utility as-is doesn't