Re: The Agony of GMP

2007-12-19 Thread Dan Kogai
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis those who suffer the same prob, If you are on Intel Macs, try recompiling reinstalling GMP as follows: tar jxvf gmp-4.2.1.tar.bz2 cd gmp-4.2.1/mpn/x86 rm *dive_1* */*dive_1* */*/*dive_1* */*mode1o* */*/*mode1o* cd ../.. sh configure

MacOSX::File 0.71 released!

2005-08-19 Thread Dan Kogai
: 2005/08/19 06:11:26 $ ! bin/psync Addressed: #!/usr/local/bin/perl missing, causing unsuable script being installed. Ouch! Message-Id: [EMAIL PROTECTED] ! bin/psync POD fixes by Jean-Louis Fuchs Message-Id: [EMAIL PROTECTED] =head1 AUTHOR Dan Kogai [EMAIL PROTECTED] =cut Dan

MacOSX::File 0.70 released

2005-08-09 Thread Dan Kogai
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Folks, Sorry for those who waited, especially Tiger users, for MacOSX::File which did not make test fine. Now it does, with version 0.70. (I ought to have done so at OSCON but the connection there was sporadic and I barely released

Re: psync and MacOSX::File installing with cpan

2005-07-08 Thread Dan Kogai
Folks, On Jul 09, 2005, at 12:56 , Chris Devers wrote: The first failed test is: use MacOSX::File::Catalog; ... my $asked = askgetfileinfo(dummy); $asked eq avbstcLinmed ? ok(1) : ok(0); The second failed test is nearly identical: use MacOSX::File; use

Universal Binary vs. Perl5

2005-06-06 Thread Dan Kogai
Porters, So it happened. I am surprisingly unsurprised at the news. These days I hardly care CPUs. I am as CPU-blind ad Color-blind (in a politically correct sense). But as a Perl5 porter I found at least a couple of issues we have to care. What's gonna happen to XS?

Re: Mac OS X POD viewer app

2004-11-13 Thread Dan Kogai
On Nov 14, 2004, at 01:29, John Siracusa wrote: Is there an OS X equivalent of the old Shuck POD viewer app that came with MacPerl? I know I can convert the POD to HTML and view that, but I'd rather just have something like Shuck for quick rich text views of POD in OS X. Terminal.app :) Well,

Re: pSync/Panther how?

2004-08-04 Thread Dan Kogai
Fellow users of MacOSX::File (and psync) Hi Ingo, I am using psync on Panther and I like it very much. No trouble, it just works. Here is my version info. Joe. [Abba:~] josephal% perl -v This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level (with 1 registered patch, see perl -V for more

Re: pSync/Panther how?

2004-08-04 Thread Dan Kogai
On Aug 05, 2004, at 02:27, Chris Nandor wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Dan Kogai) wrote: I have recently found that gcc2, which is required to build MacOSX::File on Panther's pre-installed version of perl, is not I build MacOSX::File just fine with gcc3 on Panther

MacOSX::File 0.69 released

2004-08-04 Thread Dan Kogai
In response to recent thread on psync/panther, I have checked the case and found that on Panther + preinstalled perl, make test passes fine but noisy w/ v-string warnings. Version 0.69 just corrects that. There are no other changes so existing users don't have to update. Availability

Re: Sort by Mod Date

2004-05-13 Thread Dan Kogai
On May 14, 2004, at 11:53, Ken Williams wrote: Instead of using string-munging, you can use a real data structure: How come no one here is using hash? #!/usr/bin/perl -Tw use strict; my $dir = shift || '.'; my %mtime; opendir my $dh = $dir or die $dir:$!; foreach my $f (grep !/^\./,

Re: MacOSX::File on Panther

2003-10-24 Thread Dan Kogai
On Friday, Oct 24, 2003, at 14:58 Asia/Tokyo, [EMAIL PROTECTED] wrote: No, it doesn't work for me. I had tried something similar, but it seems that -U only affects a corresponding -D, but not #define in files. Hmm Right. Okay. It seems like I have to work it out which I will start right

Re: MacOSX::File on Panther

2003-10-23 Thread Dan Kogai
Panther users, On Friday, Oct 24, 2003, at 13:41 Asia/Tokyo, Dan Kogai wrote: On Friday, Oct 24, 2003, at 02:42 Asia/Tokyo, [EMAIL PROTECTED] wrote: Yes, this seems to be another case of a Perl define (I_POLL) colliding with a Mac OS X one (in OpenTransportProtocol.h). Panther now has poll

Re: Psync, small pseudo-bug

2003-08-09 Thread Dan Kogai
On Thursday, Aug 7, 2003, at 03:33 Asia/Tokyo, alex black wrote: However, I have a small problem with it that is not your fault (or necessarily even your responsibility with psync) but the fault of the finder: Say I have a directory on the source volume: Blah/ stuff.txt pic.jpg

Re: psynch and Panther

2003-08-04 Thread Dan Kogai
On Monday, August 4, 2003, at 7:39 AM, Bill Henry wrote: Dan I am using Panther b21 and it does not seem to work with the psync in CCC from Mike Bombich, or even your stand alone psync 2.0 product Any updates in the works? I have finally got Panther Preview and acknowledged the problem. %

Re: Encode failure in conversion from MacArabic/Farsi/Hebrew

2003-08-04 Thread Dan Kogai
Kino, On Thursday, Jul 24, 2003, at 14:39 Asia/Tokyo, Kino wrote: Anyway, I will make mac(Arabic|Farsi|Hebrew).ucm available BEFORE releasing the next version of Encode so I appreciate if you test them. I'll be very happy to test them. I am sorry I forgot to report this to you but the patch is

Pantherbites

2003-07-23 Thread Dan Kogai
I have finally gotten an access to Panther so here is my preliminary report on it as a Perl5 Porter. Let me begin with pros * It is good looking * And fast * I love Expos~{(~}. Now cons * input method is a mess! I like the old one (disintegrated) better. * took 15 minutes to find how to enter

Re: Pantherbites

2003-07-23 Thread Dan Kogai
Hmm Mail 1.3 seems to need some more work (back in Jaguar) On Wednesday, Jul 23, 2003, at 21:32 Asia/Tokyo, Dan Kogai wrote: I have finally gotten an access to Panther so here is my preliminary report on it as a Perl5 Porter. Let me begin with pros * It is good looking * And fast * I

Re: Pantherbites

2003-07-23 Thread Dan Kogai
On Thursday, Jul 24, 2003, at 01:18 Asia/Tokyo, Edward Moy wrote: Did you file a bug report? Don't worry, I already did (#3340036). I was about to do but I am a Perl5 Porter before OS X user so @perl.org had precedence. Plus it is in the middle of the change of the season (rainy - summer) and

Re: Encode failure in conversion from MacArabic/Farsi/Hebrew

2003-07-23 Thread Dan Kogai
On Wednesday, Jul 23, 2003, at 23:20 Asia/Tokyo, Kino wrote: I remember someone has already brought this issue up several months ago. As I'm just a newbie in perl, I'm hesitating in reporting this. I'm not 100% sure if it is a bug. Anyway... Obviously I have overlooked and thanks for rehashing

Re: Few questions about psync

2003-06-06 Thread Dan Kogai
On Saturday, June 7, 2003, at 11:37 AM, Scott Haneda wrote: I have a few q's about psync, do you have time? I use as root psync -d / /Volumes/backupplace/daily psync -d / /Volumes/backupplace/weekly Cron triggers them accordingly... I can not seem to get the Startup Disk Pref Pane to see either

Re: [MacOS X] consider useshrplib='false' by default

2003-06-04 Thread Dan Kogai
On Wednesday, June 4, 2003, at 03:33 PM, Jarkko Hietaniemi wrote: Sounds reasonable to make the useshrplib to default to false (because of the significant startup slowness otherwise) and at the very least make it conditional (and I got a nod from Ed Moy of Apple, too). So I did (change #19681).

Re: [MacOS X] consider useshrplib='false' by default

2003-06-04 Thread Dan Kogai
On Wednesday, June 4, 2003, at 04:01 PM, Dan Kogai wrote: I think we should but the biggest problem on slow startup was primarily libperl.dylib (too may symbols for fix_prebinding daemon to tweak). I am now working on benchmarking the difference but even without -prebind flag the launch speed

Re: [MacOS X] consider useshrplib='false' by default

2003-06-04 Thread Dan Kogai
On Wednesday, June 4, 2003, at 08:03 PM, Chris Nandor wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Dan Kogai) wrote: As you see ${ldflags} is injected into $lddlflags but in case of -prebind we need to avoid that. $ldflags is for perl linking while $lddlflags is for XS. Since

[MacOS X] consider useshrplib='false' by default

2003-06-04 Thread Dan Kogai
Porters, I would like to propose that we make useshrplib='false' default for darwin to resolve prebinding woes. I said update_prebinding -root / should resolve the problem but only temporarily. perl is in fact not prebind. This is what is actually happning. % env DYLD_PREBIND_DEBUG=1

Re: psync question

2003-06-02 Thread Dan Kogai
On Monday, June 2, 2003, at 05:24 AM, J.C. Wren wrote: Dan, I'm a Mac owner, running OSX, but I'm not into OSX. I'm more a Linux person. What I'm looking for is a solution to backup the complete OSX volumes, including resource forks (what ever they are, but apparently I *really* want to keep

Re: safe system()?

2003-03-28 Thread Dan Kogai
On Saturday, Mar 29, 2003, at 03:23 Asia/Tokyo, Rich Morin wrote: Let's say that I want to use a command (e.g., md5) on a file. No problem; just use: system(md5 $file); Except that the file name could contain all manner of white space characters, shell wildcard characters, etc. Is there a

Re: [MacPerl] Re: problem with Japanese text

2003-03-27 Thread Dan Kogai
On Friday, Mar 28, 2003, at 11:37 Asia/Tokyo, Joel Rees wrote: Not sure if my comments are relevant, just feeling inclined to expose my ignorance -- And here is mine. Japanese is one of those languages that has relatively few specifically plural forms. To get the pluralizations right in

Re: [MacPerl] Re: problem with Japanese text

2003-03-26 Thread Dan Kogai
On Thursday, Mar 27, 2003, at 01:31 Asia/Tokyo, Chris Nandor wrote: Is there a reason for MacJPerl when MacPerl 5.8.x is released? I thought none but the second thought; The built-in text editor that many not support multibyte characters. But even that is moot since there are many text editors

Re: DynaLoader and prebinding

2003-03-22 Thread Dan Kogai
pudge, On Saturday, Mar 22, 2003, at 13:10 Asia/Tokyo, Chris Nandor wrote: So I have this problem: Mac::Carbon takes a long time to load. $ time perl -Iblib/arch -Iblib/lib -MMac::Carbon -e1 real0m2.923s user0m2.570s sys 0m0.160s Profiling the run showed that over

Re: man psync

2003-02-27 Thread Dan Kogai
On Friday, Feb 28, 2003, at 05:52 Asia/Tokyo, Brad Schonhorst wrote: Silly question- After installing MacOSX::File in order to gain access to psync I cannot seem to bring up the man page for it. I am using mac 10.2.4. Any suggestions or is there a way to get at the man page somewhere else

Re: Psync and Perl 5.8.0.

2003-01-27 Thread Dan Kogai
On Monday, January 27, 2003, at 01:14 PM, J. Charles Holt wrote: Any idea what the trouble might be? Any thoughts would be appreciated! [snip] In file included from Catalog.xs:16: ../common/util.c:9:19: Files.h: No such file or directory Do you have Developer Tool installed? It appears

MacOSX::File updated to 0.65

2003-01-19 Thread Dan Kogai
Folks, I just updated MacOSX::File to 0.65. This is mainly thanks to a bug report from Guy Sabourin that addresses a minor typecast bug in Catalog/Catalog.xs that copies creator improperly when compiled in certain condition (the condition I could not duplicate; I suspect the compiler

Re: unix or mac-style text files?

2002-11-24 Thread Dan Kogai
On Monday, Nov 25, 2002, at 01:05 Asia/Tokyo, Chris Nandor wrote: The bottom line was that it'd be nice to have a PerlIO filter for perl 5.8.x, so that MacPerl can execute Unix and Windows text files, and Mac OS X perl can execute Mac OS text files, etc. Patches are surely welcome! :-) One

Re: psync groups?

2002-11-04 Thread Dan Kogai
On Tuesday, Nov 5, 2002, at 03:08 Asia/Tokyo, Ronald Florence wrote: Dan, I have installed and used your excellent psync to backup an HFS+ partition on MacOS 10.2.1. It works flawlessly, using the command line you suggest, with one exception: Every file in the backup has group `unknown'

[OT] That annoying yen mark! [Was: Re: [Encode] ...]

2002-10-18 Thread Dan Kogai
On Friday, Oct 18, 2002, at 22:25 Asia/Tokyo, Nicholas Clark wrote: On Fri, Oct 18, 2002 at 10:21:07PM +0900, Dan Kogai wrote: AFAIK, CP¥d+ should be avoided for any data exchanged in the Net so you ^ Yen sign? That should be a backslash, as in CP\d+ ? Right. The smart-ass

Re: Parsing JIS X 0208 Shift JIS with 5.8.0

2002-10-01 Thread Dan Kogai
On Tuesday, Oct 1, 2002, at 18:16 Asia/Tokyo, Robin wrote: Is anyone else doing/done this? Care to share notes? Too brief a comment to grok what your point is. If all you need is (en|de)code Shift_JIS, all you have to do is; use Encode qw/encode decode/; #... my $utf8 =

Re: Parsing JIS X 0208 Shift JIS with 5.8.0

2002-10-01 Thread Dan Kogai
On Tuesday, Oct 1, 2002, at 18:47 Asia/Tokyo, Dan Kogai wrote: my $utf8 = decode('shift-jis', $string/; my $utf8 = decode('shift-jis', $string); # of course. .I need to get to bed, which I have not for last couple of Earth rotation Dan the Insomniac

Jaguar, Psync and tcsh in Jaguar

2002-09-28 Thread Dan Kogai
On Saturday, Sep 28, 2002, at 14:41 Asia/Tokyo, Jeff Yana wrote: Hi Dan- After recently updating to Jaguar I decided it was high time to run a back-up using your wonderful little Psync utility. Problem is that it does not run. The Terminal returns the error command not found. Do you have

dot files in Jaguar

2002-09-28 Thread Dan Kogai
On Sunday, Sep 29, 2002, at 00:33 Asia/Tokyo, Gero Herrmann wrote: Jordan Hubbard explained the decision in a posting to the Mac OS X TeX mailing list. http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/2002/MacOSX- TeX_Digest_09-11-02.html Thanks. But why not plain-old README that comes

psync vs. Jaguar [Was: Re: search.cpan.org: Dan Kogai]

2002-09-19 Thread Dan Kogai
On Friday, Sep 20, 2002, at 04:31 Asia/Tokyo, Erik J. Barzeski wrote: Hi, I upgraded Perl on Mac OS X (10.2.1 now) to 5.8.0 as per the instructions at Apple's site. Unfortunately... This seems to have caused some trouble with psync. Hmm... I have numerous reports that MacOSX::File and

Re: Problems install Text::Iconv

2002-05-01 Thread Dan Kogai
On Thursday, May 2, 2002, at 11:21 , Ward W. Vuillemot wrote: I am trying to get, ultimately, XML::SAX and some of its own supporting modules (e.g. XML::SAX::ParserFactory which needs XML::SAX::Writer which needs Text::Iconv). How how the merry nymphs dance and prance on m' forehead. Argh!

Re: MacOSX-File-0.50.tar.gz uploaded to CPAN

2002-04-26 Thread Dan Kogai
. Dan the Man with Too Many Modules to Manage -- _ Dan Kogai __/ CEO, DAN co. ltd. /__ /-+-/ 2-8-14-418 Shiomi Koto-ku Tokyo 135-0052 Japan /--/--- mailto: [EMAIL PROTECTED] / http://www.dan.co.jp/ - __/ /Tel:+81 3-5665-6131 Fax:+81 3-5665-6132 GPG Key

Re: Permanently add INC directory?

2002-04-21 Thread Dan Kogai
On Monday, April 22, 2002, at 11:50 , Levan, Jerry wrote: Is there any way to globally add an INC directory to Perl after compilation? I know about setenv PERLLIB5 and do that in my .cshrc. But it doesn't get set when I run Perl from within BBEdit or cron. Is there any way to do this so it

Re: BSD::stat - and Mac OS X

2002-04-15 Thread Dan Kogai
constants there after all. I will check to see if Fcntl module can be used for that purpose. But for the time being, please give me more time than usual; I am doing Encode, the largest module (in size) in the upcoming perl 5.8. Dan the Man with Too Many Modules to Manage -- _ Dan Kogai

Re: PAUSE bug discovered?

2002-03-07 Thread Dan Kogai
On 2002.03.08, at 04:03, Elaine -HFB- Ashton wrote: This has happened only one other time that I can recall and I think that Randal somehow added a LF to his html file. Double check your file name before you upload it this time around. I don't know that this is a bug but it's not a feature.

PAUSE bug leads to LWP bug

2002-03-07 Thread Dan Kogai
On 2002.03.08, at 08:28, Elaine -HFB- Ashton wrote: I would think it's in the filename itself since PAUSE fetches the URL you feed it and the fetch would fail if it had a gremlin on the end. I don't see how it could be anywhere else but the filename. Negative. See

Re: psync questions

2002-03-04 Thread Dan Kogai
On 2002.03.05, at 03:07, Hugh Harris wrote: Intuitivey it seems that the command   sudo psync / /Volumes/backup would try to backup /Volumes/backup to /Volumes/backup hence creating a nasty loop - why doesn't this happen? You can find the answer by looking at the source but I will

Re: Newline independence?

2002-02-17 Thread Dan Kogai
On 2002.02.18, at 14:47, Chris Devers wrote: On Mon, 18 Feb 2002, Peter N Lewis wrote: Does anyone know a good trick? Would it be worth skimming over the source code for a text editor for ideas? Vim can handle pretty much any line endings scheme you throw at it, and I'd assume Emacs can

Re: psync question

2002-02-07 Thread Dan Kogai
On 2002.02.08, at 07:08, Mark Edwards wrote: Okay, I've finally got psync humming along quite nicely every morning at 4am, backing up my whole drive. Thanks to your help! I'm curious about one last thing. psync, and pretty much every other utility I've tried, can't seem to correctly copy a

Re: psync fails with 5.7.2

2002-02-05 Thread Dan Kogai
On 2002.02.06, at 05:00, Randal L. Schwartz wrote: Rick == Rick Frankel [EMAIL PROTECTED] writes: Rick Running 5.6.1 here, but I think it may be a permission problem in the Rick distrib directory, Rick The test scripts should probably copy, etc. in /tmp instead of the Rick current tree.

Re: One more psync question

2002-02-04 Thread Dan Kogai
On 2002.02.05, at 07:38, Mark Edwards wrote: I've also noticed that some of the directory sizes do not match between the psync copy and the original. This may be due to .* files not being copied, but in one case the directory was actually larger in the copy than in the original, despite

Re: psync question

2002-02-04 Thread Dan Kogai
On 2002.02.05, at 09:23, Mark Edwards wrote: I don't know why I would have an old version. I downloaded the .61 source code and compiled it with perl Makefile.PL make make test make install I did compile version .41 earlier, but I never did make install, and I deleted the directory

Re: psync question

2002-02-04 Thread Dan Kogai
On 2002.02.05, at 15:13, Mark Edwards wrote: That didn't work either. See, I didn't actually install a previous version. I've only done a make install with .61 I cleared every single file and directory that .61 installed, and I re-installed and got the same problem. I'm attaching

Re: psync question

2002-02-04 Thread Dan Kogai
I finally got the picture! On 2002.02.05, at 16:45, Mark Edwards wrote: The directory that caused problems was a standard ~/Sites/images directory. Here is the file list of the source directory: -rwxr-xr-x 1 mark staff 82 Feb 13 2001 ._apache_pb.gif -rwxr-xr-x 1 mark staff

Re: psync

2002-02-01 Thread Dan Kogai
Ulrich, Hi. On 2002.02.01, at 21:02, Ulrich auf dem Keller wrote: thanks for providing information on the useful psync command. I already tried it successfully for backups of entire partitions with a firewire drive as target directory. Since I would like to use it routinely on our

Re: MacOSX-File-bindist

2002-01-30 Thread Dan Kogai
On 2002.01.31, at 07:17, James Reynolds wrote: On http://search.cpan.org/search?dist=MacOSX-File in the section titled DEPENDENCIES you say: This module requires MacOS X. Develper kit is needed to make install. To get binary distribution, check MacOSX-File-bindist via CPAN. I

Why not MacPerl X [Was: Re: Please DON'T]

2002-01-24 Thread Dan Kogai
On 2002.01.25, at 01:17, Cranz, Gregory wrote: Please, pretty please, carbonize MacPerl. I shudder to think of having to differentiate between both versions when debugging or having a conversation on this thread. IMHO, MacPerl was a stopgap that kept the Mac in the game until we've got

Re: MacOSX::File uploaded to CPAN

2002-01-09 Thread Dan Kogai
Fred, on 02.1.9 9:12 AM, Wilfredo Sánchez at [EMAIL PROTECTED] wrote: Have you considered adding this functionality into existing File I/O code (possibly with some new options) instead of adding whole new API? Do you mean that I modify File::Copy? That's a possibility but as I answered in

Namespace [Was: Re: MacOSX::File]

2002-01-08 Thread Dan Kogai
Hi Chris. Long time no see. on 02.1.9 7:46 AM, Chris Nandor at [EMAIL PROTECTED] wrote: Hi Dan. Two comments: Okay let me answer one by one. 1. Did you ask [EMAIL PROTECTED] about the namespace? I am not sure MacOSX is a good top-level namespace. Maybe I should have and I did think

File::Copy vs. MacOSX::File::Copy [Was: Re: MacOSX::File uploadedto CPAN]

2002-01-08 Thread Dan Kogai
Now let me answer the 2nd question of Chris 2. Did you look at the modules in MacPerl that do the same thing, with an eye toward compatability of interfaces? Yes I did and I did check File::Copy myself as well. As a matter of fact File::Copy appears to be MacPerl-compliant already. In a

MacOSX::File uploaded to CPAN

2002-01-07 Thread Dan Kogai
Hi all, My name is Dan Kogai and this is my first time to drop a message here -- maybe with a good reason. I just uploaded a module called MacOSX::File, which allows you to write programs like the ones on /Developer/Tools. You can now copy() with resource fork and finder info, gets