Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-04-04 Thread Ralf Becker
You're welcome :-) Maybe you're interested in a binary distribution build on AIX-5.2 for testing? I've placed one here: http://www.fh-trier.de/~beckerr/dovecot/ The binary is build with xlc using ./configure --with-ssl-dir=/usr/local --with-ldap and openldap version 2.3 See dump -H /usr/l

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-04-04 Thread funkypunky drunky
Hi ralf; In spite your incrediable help i cannot compile the plugin support of dovecot. It means i have to use dovecot without imap quota extension. I feel a little dummy but i cannot compile dovecot plugins. But if there is someone who compile the dovecot plugins on aix with gcc, i am look forwar

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-29 Thread Ralf Becker
Hello funkypunky drunky, this is an example how the script rewrite the command line when the dovecot-imap binary is being linked: 1) Makefile calls libtool with: ../../libtool --tag=CC --mode=link /usr/local/src/mail/src/bin/dovecot-cc -qlanglvl=ansi -g -export-dynamic -bexpal

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-28 Thread funkypunky drunky
Hello Ralf, Ohh thanks for your reply and i start to understand what is going on. You tell everything very well. It is amazing. After i read your mail, I export a variable export LDFLAGS="-Wl,-brtl" and now i find shared object files (.so) in their proper places after compilation. At first glance

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-28 Thread Ralf Becker
Hello funkypunky drunky, on AIX dovecot plugins (which are shared objects = .so) are a little bit problematic. It is not enough to activate run time linking by using -brtl and make the main program (dovecot) to be able to use shared objects. When a share object does function calls back into the ma

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-27 Thread Ralf Becker
Hello! Have you tried to export all symbols defined in lib archives generated while dovecot is build? I've had this problem on aix with xlC and solved it by writing an compiler script for doing that. See http://www.dovecot.org/list/dovecot/2007-February/019226.html and http://wiki.dovecot

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-26 Thread Timo Sirainen
On Mon, 2007-03-26 at 09:24 +0300, funkypunky drunky wrote: > I pasted the output of gdb. I hope it is usefull. Thanx > > This GDB was configured as "powerpc-ibm-aix5.1.0.0"... > Core was generated by `imap'. > Program terminated with signal 11, Segmentation fault. > #0 0xd1a468cc in i_malloc ()

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-25 Thread funkypunky drunky
I pasted the output of gdb. I hope it is usefull. Thanx This GDB was configured as "powerpc-ibm-aix5.1.0.0"... Core was generated by `imap'. Program terminated with signal 11, Segmentation fault. #0 0xd1a468cc in i_malloc () from /usr/local/lib/dovecot/imap/lib10_quota_plugin.so (gdb) bt full

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-23 Thread John Robinson
On 23/03/2007 14:11, funkypunky drunky wrote: [...] login_greeting = Microsoft Exchange POP3 server version 5.5.2653.23 ready [...] Then i start dovecot. It returns an error. What do you expect, if you tell it to behave like Exchange? Cheers, John.

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-23 Thread Timo Sirainen
On 23.3.2007, at 16.11, funkypunky drunky wrote: Error: imap dump-capability process killed with signal 11 So it crashes when it has loaded the plugins. Could you try getting a gdb backtrace? See http://dovecot.org/bugreport.html Also you could try setting imap_capability setting manually

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-23 Thread funkypunky drunky
I am writing step by step. 1 ./configure --with-ssl --with-ldap 2 make 3 make install This is my config protocols = imap imaps pop3 pop3s listen = * disable_plaintext_auth = no log_timestamp = "%b %d %H:%M:%S " ssl_disable = yes login_user = dovecot login_processes_count = 25 login_max_processes_

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-21 Thread Timo Sirainen
On Wed, 2007-03-21 at 22:36 +0200, funkypunky drunky wrote: > Firstly thank you for your respond Timo. I manually copied the > lib10_quota_plugin.so and lib11_imap_quota_plugin.so (sorry if i wrote the > files wrongly) But it didnt work. I dont understand why it isnt work. So if you manually copie

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-21 Thread funkypunky drunky
Firstly thank you for your respond Timo. I manually copied the lib10_quota_plugin.so and lib11_imap_quota_plugin.so (sorry if i wrote the files wrongly) But it didnt work. I dont understand why it isnt work. Normally installation procedure only copy this *.so files to plugin directory. But when i

Re: [Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-21 Thread Timo Sirainen
On Wed, 2007-03-21 at 00:29 +0200, funkypunky drunky wrote: > When i check the /usr/local/lib/dovecot/imap/lib10_quota_plugin.so i see > that it is a link which is pointing > /usr/local/lib/dovecot/lib10_quota_plugin.so . But there is no > lib10_quota_plugin.so . What is in src/plugins/quota/.libs

[Dovecot] compiling dovecot on aix gcc 3.3.2

2007-03-20 Thread funkypunky drunky
I try to compile the dovecot with gcc version 3.3.2 on aix. It seemed it was okay. It was working but when i try to use quota dynamic modules i get error. Edlopen(/usr/local/lib/dovecot/imap/lib10_quota_plugin.so) failed: Could not load module /usr/local/lib/dovecot/imap/lib10_quota_plugin.so. Sy