Re: Problems with sieveshell under Solaris 9

2005-02-25 Thread Thomas Robers
Robert Scussel wrote:
I I have perl 5.8.5.  I don't know about 5.8.3 and when I looked around 
I couldn't find it on Sunfreeware any more, but under 5.8.5 it states:

Important Note - Solaris 9 comes with a slightly earlier version of perl 
in /usr/bin. You may wish to use this version rather than the version on 
sunfreeware.com. If you do install this perl and want to use it rather 
than the Sun one, you will need to have /usr/local/bin in your PATH 
before /usr/bin.

Which might mean that the version you have might not be right.
This is just a guess, but I hope it helps.
B
Hi Robert,
you're right. I think I have overseen version 5.8.5 or the download
was to long ago. But your hint regarding the perl version was helpful
because with the self compiled perl version 5.8.6 sieveshell is now
working fine.
Thank you, Thomas
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Problems with sieveshell under Solaris 9

2005-02-24 Thread Thomas Robers
Robert Scussel wrote:
This might be a shot in the dark, but having recently battled through 
some quirks on Solaris 9, make sure that your perl binary is one that 
was compiled on the Solaris box with gcc ( unless of course you actually 
have the sun compiler and compiled cyrus with it ). The one from 
sunfreeware works. I was having all sorts of issues trying to install 
perl modules with the solaris CC compiled perl.

Hope this helps,
B
Hi Robert,
the perl binary is the one from sunfreeware. It's version 5.8.3.
So it should work? I use gcc version 3.2.2 also from sunfreeware.
But I don't know if that perl version is compiled with gcc 3.2.2.
I also tried the perl that comes with Solaris 9
but that didn't work. I got an error message:
 make[2]: cc: Command not found
 make[2]: *** [IMAP.o] Error 127
The compiling stops in the directory ./perl/imap. It seems that
the Sun compiler is assumed from the perl binary shipped with
Solaris.
I think I try it with self compiled version of perl.
Thanks
Thomas
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Problems with sieveshell under Solaris 9

2005-02-24 Thread Robert Scussel
I I have perl 5.8.5.  I don't know about 5.8.3 and when I looked around 
I couldn't find it on Sunfreeware any more, but under 5.8.5 it states:

Important Note - Solaris 9 comes with a slightly earlier version of perl 
in /usr/bin. You may wish to use this version rather than the version on 
sunfreeware.com. If you do install this perl and want to use it rather 
than the Sun one, you will need to have /usr/local/bin in your PATH 
before /usr/bin.

Which might mean that the version you have might not be right.
This is just a guess, but I hope it helps.
B
Thomas Robers wrote:
Robert Scussel wrote:
This might be a shot in the dark, but having recently battled through 
some quirks on Solaris 9, make sure that your perl binary is one that 
was compiled on the Solaris box with gcc ( unless of course you 
actually have the sun compiler and compiled cyrus with it ). The one 
from sunfreeware works. I was having all sorts of issues trying to 
install perl modules with the solaris CC compiled perl.

Hope this helps,
B
Hi Robert,
the perl binary is the one from sunfreeware. It's version 5.8.3.
So it should work? I use gcc version 3.2.2 also from sunfreeware.
But I don't know if that perl version is compiled with gcc 3.2.2.
I also tried the perl that comes with Solaris 9
but that didn't work. I got an error message:
  make[2]: cc: Command not found
  make[2]: *** [IMAP.o] Error 127
The compiling stops in the directory ./perl/imap. It seems that
the Sun compiler is assumed from the perl binary shipped with
Solaris.
I think I try it with self compiled version of perl.
Thanks
Thomas
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Problems with sieveshell under Solaris 9

2005-02-23 Thread Thomas Robers
Paul Boven wrote:
Hi Thomas,
Thomas Robers wrote:
I'm running Cyrus-Imapd 2.2.12 on Solaris 9.
I compiled it from source with gcc 3.2.2 from
Sunfreeware. I use saslauthd with method pam
for authentication. The user accounts for pam
are from a Windows 2003 Server via Samba/Winbind.

I'm running Cyrus-2.2.12 on Solaris 9 as well and we use a different 
authentication method (namely ldap) and just wanted to let you know that 
sieveshell itself works fine on Solaris 9.

Regards, Paul Boven.
Hi Paul,
thank you for your reply. When your sieveshell works on
Solaris 9 then there must be something different to my
installation which has nothing to do with the authentication
method because even with sasl_pwcheck_method: auxprop
(saslpasswd2) sieveshell doesn't work in my environment.
I get the same error message as with sasl_pwcheck_method: saslauthd.
So did you compile Cyrus also from source or is there any
location to get a precompiled version? If you compiled it
from source, which compiler did you use? And maybe you used
a different version of perl? Maybe there is a patch for Solaris
which causes this error. Is your Solaris installation patched?
I installed the version 09/04 and run then the Recommended patches
from Sun.
Thanks, Thomas
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Problems with sieveshell under Solaris 9

2005-02-23 Thread Robert Scussel
This might be a shot in the dark, but having recently battled through 
some quirks on Solaris 9, make sure that your perl binary is one that 
was compiled on the Solaris box with gcc ( unless of course you actually 
have the sun compiler and compiled cyrus with it ). The one from 
sunfreeware works. I was having all sorts of issues trying to install 
perl modules with the solaris CC compiled perl.

Hope this helps,
B
Thomas Robers wrote:
Paul Boven wrote:
Hi Thomas,
Thomas Robers wrote:
I'm running Cyrus-Imapd 2.2.12 on Solaris 9.
I compiled it from source with gcc 3.2.2 from
Sunfreeware. I use saslauthd with method pam
for authentication. The user accounts for pam
are from a Windows 2003 Server via Samba/Winbind.

I'm running Cyrus-2.2.12 on Solaris 9 as well and we use a different 
authentication method (namely ldap) and just wanted to let you know 
that sieveshell itself works fine on Solaris 9.

Regards, Paul Boven.
Hi Paul,
thank you for your reply. When your sieveshell works on
Solaris 9 then there must be something different to my
installation which has nothing to do with the authentication
method because even with sasl_pwcheck_method: auxprop
(saslpasswd2) sieveshell doesn't work in my environment.
I get the same error message as with sasl_pwcheck_method: saslauthd.
So did you compile Cyrus also from source or is there any
location to get a precompiled version? If you compiled it
from source, which compiler did you use? And maybe you used
a different version of perl? Maybe there is a patch for Solaris
which causes this error. Is your Solaris installation patched?
I installed the version 09/04 and run then the Recommended patches
from Sun.
Thanks, Thomas
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

--
Robert Scussel
1024D/BAF70959/0036 B19E 86CE 181D 0912  5FCC 92D8 1EA1 BAF7 0959
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Problems with sieveshell under Solaris 9

2005-02-23 Thread Derrick J Brashear
On Wed, 23 Feb 2005, Robert Scussel wrote:
This might be a shot in the dark, but having recently battled through some 
quirks on Solaris 9, make sure that your perl binary is one that was compiled 
on the Solaris box with gcc ( unless of course you actually have the sun 
compiler and compiled cyrus with it ). The one from sunfreeware works. I was 
having all sorts of issues trying to install perl modules with the solaris CC 
compiled perl.
I have just in the last few minutes finished fighting a similar problem.
The changes to use strlcpy in 2.2.11 result in a __eprintf dependancy when 
gcc is used to compile cyrus with some gcc versions, and if perl is 
compiled with cc it will not include libgcc (where __eprintf comes from)

In this case I would expect your perl module to not load at all, though, 
in sieveshell.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html