I am a package maintainer for the Solaris community site known as CSW or blastwave.org. A CSW user requested a dovecot package, so I am attempting to build the package. I downloaded 0.99.10.4 earlier this month and it compiles just fine on my test machine. I went to our CSW build machines to build a version that I can distribute. I got the latest CVS version and used the same environment variables and configure options as the build on my test machine. In src/lib-storage I get the following compile error. I do not have proxy-mail-storage.c on my test machine from the earlier download, so I hope this is a problem that you can easily fix. The environment is Sun SPARC on Solaris 8. I am using the Sun compiler which seems to work fine for this software. My configure options are ./configure --prefix=/opt/csw --with-libiconv-prefix=/opt/csw --with-shadow --with-pam --with-ldap --with-ssl=openssl --with-ssldir=/opt/csw/ssl .. cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -I../../src/lib-mail -I../\../src/lib-imap -I/opt/csw/include -fast -xarch=v8 -I/opt/csw/include -c `te\st -f 'proxy-mail-storage.c' || echo './'`proxy-mail-storage.c "proxy-mail-storage.c", line 10: void function cannot return value cc: acomp failed for proxy-mail-storage.c *** Error code 2 make: Fatal error: Command failed for target `proxy-mail-storage.o' Current working directory /export/home/asmoore/build/dovecot-0.99.10/src/lib-st\orage *** Error code 1 .. Thanks, Alex Moore
On 24.12.2003, at 17:09, Alex S Moore wrote:> I downloaded 0.99.10.4 earlier this month and it compiles just fine on > my test > machine. I went to our CSW build machines to build a version that I > can > distribute. I got the latest CVS version and used the same environment > variables and configure options as the build on my test machine.Currently CVS seems to be quite buggy, at least with using index files. I've been rewriting the indexing code quite a lot in last few days, hopefully I get it actually working this month :)> "proxy-mail-storage.c", line 10: void function cannot return valueGCC should have complained about that too.. Fixed. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040106/f64370e9/attachment-0001.bin>
On Tue, 6 Jan 2004 05:25:03 +0200 Timo Sirainen <tss at iki.fi> wrote:> On 24.12.2003, at 17:09, Alex S Moore wrote: > > > I downloaded 0.99.10.4 earlier this month and it compiles just fine on > > my test > > machine. I went to our CSW build machines to build a version that I > > can > > distribute. I got the latest CVS version and used the same environment > > variables and configure options as the build on my test machine. > > Currently CVS seems to be quite buggy, at least with using index files. > I've been rewriting the indexing code quite a lot in last few days, > hopefully I get it actually working this month :) >Thanks for the honest reply Timo. Hope that you enjoyed the recent holiday season.> > "proxy-mail-storage.c", line 10: void function cannot return value > > GCC should have complained about that too.. Fixed. >Yes, both gcc and Sun's compiler complained. P.S. If there are any Solaris blastwave.org customers, or would be blastwave.org customers listening, I can make a package available fairly quickly for version 0.99.10.4. There was a request for this package from someone. I need help with testing. Initially, please reply to this mailing list. It is helpful to see some interest in a Solaris package. Thanks, Alex Moore