I've applied patches similar to these (and the acap one, though we're dropping the acap directory in 2.2 anyway, so....) to CVS.
Thanks, -Rob On Mon, 9 Dec 2002, Matt Selsky wrote: > > I had problems with the sieve and perl part too when trying to build out > > of the source directory. Acap and sieve were fixed with these patches, > > but I couldn't get the perl part to build. Seems I need to patch > > MakeMaker for this 8-( > > > > $ diff -u acap/Makefile.in.orig acap/Makefile.in > > --- acap/Makefile.in.orig Sat May 25 21:57:41 2002 > > +++ acap/Makefile.in Sat Dec 7 20:40:04 2002 > > @@ -51,7 +51,7 @@ > > RANLIB = @RANLIB@ > > > > DEFS = @DEFS@ > > -CPPFLAGS = @CPPFLAGS@ @SASLFLAGS@ -I. -I.. -I../lib > > +CPPFLAGS = @CPPFLAGS@ @SASLFLAGS@ -I. -I.. -I$(srcdir) -I../lib > > LIBS = @LIBS@ > > > > CFLAGS = @CFLAGS@ > > > > diff -u sieve/Makefile.in.orig sieve/Makefile.in > > --- sieve/Makefile.in.orig Sat Dec 7 20:31:59 2002 > > +++ sieve/Makefile.in Sat Dec 7 20:32:47 2002 > > @@ -70,6 +70,8 @@ > > mv -f y.tab.h sieve.h > > > > addr-lex.c: addr-lex.l addr.h > > + $(LEX) $(srcdir)/addr-lex.l > > + mv -f lex.addr.c addr-lex.c > > > > addr.c addr.h: addr.y > > $(YACC) $(YFLAGS) -p addr $(srcdir)/addr.y > > I patched acap/Makefile.in and also master/Makefile.in and > imap/Makefile.in > > --- master/Makefile.in.orig 2002/12/09 23:03:36 > +++ master/Makefile.in 2002/12/09 23:07:31 > @@ -53,7 +53,7 @@ > CYRUS_GROUP=@cyrus_group@ > > DEFS = @DEFS@ @LOCALDEFS@ > -CPPFLAGS = -I. -I.. -I../lib -I$(srcdir) @CPPFLAGS@ @COM_ERR_CPPFLAGS@ > +CPPFLAGS = -I. -I.. -I../lib -I$(srcdir) -I$(srcdir)/../lib @CPPFLAGS@ > @COM_ERR_CPPFLAGS@ > DEPLIBS = @DEPLIBS@ > > CFLAGS = @CFLAGS@ > > > --- imap/Makefile.in.orig Mon Nov 4 12:39:36 2002 > +++ imap/Makefile.in Mon Dec 9 18:12:24 2002 > @@ -62,7 +62,7 @@ > CYRUS_GROUP=@cyrus_group@ > > DEFS = @DEFS@ @LOCALDEFS@ > -CPPFLAGS = -I. -I.. -I../sieve -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../acap >-I../acap @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ > +CPPFLAGS = -I. -I.. -I../sieve -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../acap >-I../acap -I$(srcdir)/../sieve @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ >@SASLFLAGS@ > IMAP_LIBS = @IMAP_LIBS@ > SIEVE_LIBS = @SIEVE_LIBS@ > IMAP_COM_ERR_LIBS = @IMAP_COM_ERR_LIBS@ > > I also ran into a problem with perl, but for now, I'm building without > it (--without-perl). > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper