Re: Compiling Dovecot on Solaris 10

2017-02-06 Thread Mantas Gegužis
Timo Sirainen rašė: On 6 Feb 2017, at 17.06, Mantas Gegužis wrote: Hello, thank You, this solution worked too. But had to do same thing for those files: test-http-client-errors.c:388 test-http-client-errors.c:484 test-http-client-errors.c:556 test-http-client-errors.c:636 test-http-serv

Re: Compiling Dovecot on Solaris 10

2017-02-06 Thread Timo Sirainen
On 6 Feb 2017, at 17.06, Mantas Gegužis wrote: > > Hello, > > thank You, this solution worked too. But had to do same thing for those files: > > test-http-client-errors.c:388 > test-http-client-errors.c:484 > test-http-client-errors.c:556 > test-http-client-errors.c:636 > test-http-server-error

Re: Compiling Dovecot on Solaris 10

2017-02-06 Thread Mantas Gegužis
Hello, thank You, this solution worked too. But had to do same thing for those files: test-http-client-errors.c:388 test-http-client-errors.c:484 test-http-client-errors.c:556 test-http-client-errors.c:636 test-http-server-errors.c:594 main.c:63 director.c:1445 director.c:1448 imap-client.c:253

Re: Compiling Dovecot on Solaris 10

2017-02-05 Thread Timo Sirainen
On 2 Feb 2017, at 19.38, Mantas Gegužis wrote: > > Hello, > > I am tying to compile Dovecot 2.2.27 on Solaris 10, and I get this error: > test-ioloop.c: In function `test_ioloop_pending_io': > test-ioloop.c:188: error: size of array `type name' is negative Change NULL to (void *)NULL in that li

Re: Compiling Dovecot on Solaris 10

2017-02-03 Thread Dave McGuire
On 02/03/2017 03:22 PM, KSB wrote: A bit offtopic, but I'm interested what's the point of using so old OS (support still exists though)? Short version: It works. Long version: Solaris 10 is still supported; the production systems here are patched up to current as of last week. So whil

Re: Compiling Dovecot on Solaris 10

2017-02-03 Thread KSB
On 2017.02.03. 16:10, Mantas Gegužis wrote: Hi, thank You for a reply, compiling with Solaris Studio 12.5 solved this case. Martin Preen rašė: Hello, I don't have problems building 2.2.27 on Solaris 10 (using Sun Workshop compiler 5.11). The configuration is the same as your. Maybe a compi

Re: Compiling Dovecot on Solaris 10

2017-02-03 Thread Joseph Tam
I don't have problems building 2.2.27 on Solaris 10 (using Sun Workshop compiler 5.11). ... and I don't have problems with Solaris10/gcc, but I don't have as many options as you do. Joseph Tam

Re: Compiling Dovecot on Solaris 10

2017-02-03 Thread Dave McGuire
Same here Sun compiler v5.12 on SPARC. Built cleanly this morning. I'll be upgrading from 2.2.18 this afternoon. :) -Dave On 02/03/2017 05:36 AM, Martin Preen wrote: Hello, I don't have problems building 2.2.27 on Solaris 10 (using Sun Workshop compiler 5.11). The configurati

Re: Compiling Dovecot on Solaris 10

2017-02-03 Thread Mantas Gegužis
Hi, thank You for a reply, compiling with Solaris Studio 12.5 solved this case. Martin Preen rašė: Hello, I don't have problems building 2.2.27 on Solaris 10 (using Sun Workshop compiler 5.11). The configuration is the same as your. Maybe a compiler/version problem on your system ? Regards

Re: Compiling Dovecot on Solaris 10

2017-02-03 Thread Matthias Lohmann
Hi there... I just had the same problem yesterday. I believe you're using the gcc3 compiler from /usr/sfw ? Try with a newer gcc 4. I used/installed the gcc4 packages from opencsw.org to get it going faster. (Installs under /opt/csw, so no problems with existing software.) Change your PATH

Re: Compiling Dovecot on Solaris 10

2017-02-03 Thread Martin Preen
Hello, I don't have problems building 2.2.27 on Solaris 10 (using Sun Workshop compiler 5.11). The configuration is the same as your. Maybe a compiler/version problem on your system ? Regards, Martin Mantas Gegužis wrote: Hello, I am tying to compile Dovecot 2.2.27 on Solaris 10, and I get th

Compiling Dovecot on Solaris 10

2017-02-02 Thread Mantas Gegužis
Hello, I am tying to compile Dovecot 2.2.27 on Solaris 10, and I get this error: test-ioloop.c: In function `test_ioloop_pending_io': test-ioloop.c:188: error: size of array `type name' is negative My configuration is like this: Install prefix . : /usr/local File offsets ... : 64bit I/O polling