Hi,
I'm having problems installing Crypt::IDEA on my mac (10.4). sudo
perl Makefile.pl works fine. However, when I run make or make test,
I get the following error message:
gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -
DUSE_SITECUSTOMIZE -DNO_HASH_SEED -DBUILT_BY_ACTIVESTATE
John Mercer said:
Is the problem with endian.h? What is endian.h? I googled it, and
found that it was part of GLT, but I don't see how that could be
related to an encryption mod.
Well, I can answer this part of the question...
endian.h looks to be a fairly general file, that GLT just happens
Looks to me that _idea.c is assuming that all system have /usr/
include/endian.h, which is false (it's probably a Linux assumption).
You can probably get this to work by changing line 8 to:
#include machine/endian.h
for Mac OS X anyways.
Edward Moy
Apple
On Jun 15, 2005, at 8:01 AM, John
Good call, Ed. That fixed the problem. Smooth install.
Thanks,
jm
On Jun 15, 2005, at 12:21 PM, Edward Moy wrote:
Looks to me that _idea.c is assuming that all system have /usr/
include/endian.h, which is false (it's probably a Linux
assumption). You can probably get this to work by
I thought I'd understood how to use unicode support in perl, but
evidently not. In the script below, I'm stumped as to:
1) why the regex won't match ''.
2) why the substitution is carried out, but the result isn't in UTF8,
nor is it UTF8 re-encoded in UTF8 (uncomment #require Encode;
Try use utf8 - it lets Perl know that your script contains utf8 chars.
More info: http://perlpod.com/5.9.1/lib/utf8.html
Andrew
On Jun 15, 2005, at 2:48 PM, Robin wrote:
I thought I'd understood how to use unicode support in perl, but
evidently not. In the script below, I'm stumped as
On Jun 15, 2005, at 2:48 PM, Robin wrote:
I thought I'd understood how to use unicode support in perl, but
evidently not. In the script below, I'm stumped as to:
1) why the regex won't match ''.
2) why the substitution is carried out, but the result isn't in
UTF8, nor is it UTF8 re-encoded
thanks Andrew and Sherm
I went back to look at perluniintro because I was sure I could remember
reading that the use utf8 pragma was no longer needed, right under
where it says this it continues Only one case remains where an
explicit use utf8 is needed: if your Perl script itself is encoded
At 4:26 am +0900 16/6/05, Robin wrote:
I went back to look at perluniintro because I was sure I could
remember reading that the use utf8 pragma was no longer needed,
right under where it says this it continues Only one case remains
where an explicit use utf8 is needed: if your Perl script
On 2005.6.16, at 05:13 AM, John Delacour wrote:
At 4:26 am +0900 16/6/05, Robin wrote:
I went back to look at perluniintro because I was sure I could
remember reading that the "use utf8" pragma was no longer needed,
right under where it says this it continues "Only
Hi,
Here's a quick question. This doesn't have anything to do with perl on
my mac, but just a perl question. I have a a small script that simply
increases a number by 1, when it is run, then writes the changes back
to the file. I am using it to check how many people come to the site by
way
Mark == Mark Wheeler [EMAIL PROTECTED] writes:
Mark open (FILE, $pathtodatafile) || die (Cannot open file);
Mark flock (FILE, 2);
0wn3d!
That's your breakage.
Once in a blue mooon, you'll kill your entire data this way.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503
Hi,
Sorry, I don't understand. What's my breakage? Should I not use flock?
Thanks,
Mark
Mark open (FILE, $pathtodatafile) || die (Cannot open file);
Mark flock (FILE, 2);
0wn3d!
That's your breakage.
Once in a blue mooon, you'll kill your entire data this way
Hey Mark,
I doubt any mortal brain could follow all the various permutations of
clients hitting your files and trying to lock them while some other
client is doing the same. But here's one way your data could get
hosed: one client reads the file in between the time another client
opened it
--As of Wednesday, June 15, 2005 7:40 PM -0500, Ken Williams is alleged to
have said:
Don't worry, Apple has solved the Endian problem once and for all with
the move to Intel:
--As for the rest, it is mine.
And if you believe that, I've got some nice land for you in the jungles of
Venus.
15 matches
Mail list logo