about perl modules on Mac OS X

2002-03-31 Thread drieux


I just tried this and got the strange error:

make: *** Warning: File `llyrisWeb.pm' has modification time in the future 
(2002-03-31 19:37:50  2002-03-31 11:40:45)

I am using the default StuffitExpander


ciao
drieux

---




Re: about perl modules on Mac OS X

2002-03-31 Thread Phil Dobbin

On 31/3/02 at 12:11, [EMAIL PROTECTED] (drieux) wrote:

 
 I just tried this and got the strange error:
 
 make: *** Warning: File `llyrisWeb.pm' has modification time in the 
 future 
 (2002-03-31 19:37:50  2002-03-31 11:40:45)
 
 I am using the default StuffitExpander

Your timezone isn't set to GMT by any chance?

There's a bug in OS X that if that's so, files creation dates are set to GMT plus 
seven hours.

The workaround is to change from GMT to something else (i.e. your country from the 
drop-down menu).

Regards,

Phil.



Re: about perl modules on Mac OS X

2002-03-31 Thread drieux


On Sunday, March 31, 2002, at 12:29 , Phil Dobbin wrote:

 On 31/3/02 at 12:11, [EMAIL PROTECTED] (drieux) wrote:


 I just tried this and got the strange error:

 make: *** Warning: File `llyrisWeb.pm' has modification time in the
 future
 (2002-03-31 19:37:50  2002-03-31 11:40:45)

 I am using the default StuffitExpander

 Your timezone isn't set to GMT by any chance?

the command line gets me:

[jeeves:~] drieux% date
Sun Mar 31 12:43:14 PST 2002
[jeeves:~] drieux%

[..]

the silly part is that I had just made the tarball with make dist
on a solaris box - pushed it to my webpage - downloaded it with
OmniWeb - which invoked the plain jane StuffitExpander - but
when I copied the tarball back over to the solaris box and do

zcat tarball | tar -xf -

the same is true for the linux box... the only one to get it
weird was the OS X box.

Must be an issue in stuffItExpander - since I had the dopy thought,

hey, why not repeat it at the commadline

and it comes out with the expect results.

Sorry

ciao
drieux

---




perl can't use sasl?

2002-03-31 Thread Michael Bartosh



I'm trying to build cyrus imapd on Mac OS X.

It includes a number of perl based facilities- including cyradm- used to 
manage acl's, mailbox creation, etc.

Cyradm needs access to sasl libs so it can authenticate. Perl doesn't 
seem to be able to find them, though (they're in /usr/local/lib/sasl, 
linked to /usr/lib/sasl)

When I run cyradm, I see this:

 [localhost:~/cyrus/cyrus-imapd-2.0.16] mab9718% cyradm
 dyld: perl Undefined symbols:
 _sasl_client_init
 _sasl_client_new
 _sasl_client_start
 _sasl_client_step
 _sasl_decode
 _sasl_dispose
 _sasl_encode
 _sasl_setprop

during build, I see this:

 ### Making all in /Volumes/iPod/mab9718/cyrus/cyrus-imapd-2.0.16/perl
 (cd imap; \
  SASL_LIB=-lsasl SASL_INC= CC=cc \
perl Makefile.PL PREFIX=/usr/local)
 Checking if your kit is complete...
 Looks good
 Warning: -L../../lib changed to 
 -L/Volumes/iPod/mab9718/cyrus/cyrus-imapd-2.0.16/perl/imap/../../lib
 Note (probably harmless): No library found for -lsasl
 Writing Makefile for Cyrus::IMAP

and

 ### Making all in /Volumes/iPod/mab9718/cyrus/cyrus-
 imapd-2.0.16/perl/sieve/acap
 Checking if your kit is complete...
 Looks good
 Warning: -L../../../acap/ changed to 
 -L/Volumes/iPod/mab9718/cyrus/cyrus-
 imapd-2.0.16/perl/sieve/acap/../../../acap/
 Note (probably harmless): No library found for -lsasl
 Warning: -L../../../lib/ changed to 
 -L/Volumes/iPod/mab9718/cyrus/cyrus-
 imapd-2.0.16/perl/sieve/acap/../../../lib/


I've added this to perl/Makefile.pl

 LDFLAGS=@LDFLAGS@
 imap/Makefile: imap/Makefile.PL
(cd imap; \
 SASL_LIB=$(SASL_LIB) SASL_INC=$(SASL_INC) CC=$(CC) 
 LDFLAGS=$(LDFLAGS) \
   $(PERL) Makefile.PL PREFIX=$(prefix))

and

 my $LDFLAGS  = $ENV{LDFLAGS};
   'LIBS'  = [-L../../lib -L/$LDFLAGS -lcyrus $SASL_LIB -lssl 
 -lcrypto],

to perl/imap/Makefile.PL

and

 my $LDFLAGS  = $ENV{LDFLAGS};
'LIBS'  = [-L../../../acap/ -L/$LDFLAGS -lacap $SASL_LIB 
 -L../../../lib/ -lcyrus -lssl -lcrypto],   # e.g., '-lm'

to perl/sieve/acap/Makefile.pl and finally:

 my $LDFLAGS  = $ENV{LDFLAGS};
'LIBS'  = [-L../lib/ -L/$LDFLAGS -lisieve $SASL_LIB 
 -L../../../lib/ -lcyrus -lssl -lcrypto],

to  perl/sieve/managesieve/Makefile.pl

But no luck. I'm hardly a perl master... I'm wondering if there's an 
obvious solution I'm missing? sasl it's self is working properly- the 
sample client/server works fine.

Thanks!


http://www.4am-media.com
Mac OS X Consulting and Training
Michael Bartosh
[EMAIL PROTECTED]
303.517.0272
Denver, CO


The surest way to corrupt a youth is to instruct him to hold in higher
regard those who think alike than those who think differently.

- -- Nietzsche

Think Different.