On Mon, Jan 10, 2005 at 09:36:18PM -0600, Bryan Baldus wrote:
> At 10:39 AM -0600 1/4/05, Andy Lester wrote:
> >On Tue, Jan 04, 2005 at 05:17:56PM +0100, Dobrica Pavlinusic 
> >([EMAIL PROTECTED]) wrote:
> >> It's perl-only module (as opposed to OpenIsis which is depreciating it's
> >> XS binding) and has support just for reading. It's developed for WebPAC
> >> (library data search engine) so I never needed ability to search Isis
> >> files directly.
> >
> >It t/002_whatever throws many errors on Mac OS X.  Line-endings?
> 
> This was true under MacPerl (MacOS 9.2.2), as well. I tried the new 
> Biblio::Isis 0.11. Tests results are at the bottom of this message.

Would you please excuse my ignorance, but how to you run tests under
MacPerl? After whole afternoon fiddling with BasiliskII and MacOS 8.1 I
still can't find a way to test module.

I managed to write perl script under Mac and run it, but I couldn't
start Makefile.PL and MacPerl's help viewer won't start on my installation.

> You might want to consider using File::Spec for specifying paths to 

I'll do that.

> files, especially for tests. Otherwise MacPerl (and other?) users 
> will have to modify the test from, for example (from test 001_load.t):
..
> might work? It seems to be fine for MacPerl, but I don't know about 
> other platforms. I ran into odd problems when I tried this using the 

It also works fine on my Linux box, and from reading File::Spec
documentation it should OS2, Win32 and VMS which is a good thing :-)

> earlier IsisDB module (when I moved the tests to different 
> directories/hard drive partitions, results differed, weird things 
> happened). These may have been due to other problems, which appear to 
> have been fixed (test 2 no longer runs in a continuous loop).

I'm afraid that first version of IsisDB was so big-ending POSIX specific
that we should better forget that it ever existed.

> I also had to comment out "use blib", which doesn't exist, since 
> MacPerl has problems with Makefile.PL files (and Build.PL 
> files)--installation and testing generally needs to be done manually, 
> in my limited experience. I have gotten a blib to appear when running 
> the Makefile for other modules, but Biblio::Isis's gives (as do 
> MARC::Record and MARC::Lint):
> # Can't locate object method "makemakerdflt" via package "1".
> File '[path_to_lib]:ExtUtils:MM_MacOS.pm'; Line 201
> This seems to be a MacPerl problem, though I don't understand what is 
> wrong, or why some modules don't report this error.

I'll try to add conditional use blib, but I would first need to make my
MacPerl running.

> Test 2 report:

Those md5 differences might not be fatal. I guess that testing MD5 sum
of generated data isn't the best way to test correctness of output on
platforms other than POSIX-like ones.

Could you please try to re-run test 2 with -d flag (or by setting $debug
veritable to 1). It will generate much more output, so you might want to
e-mail it directly to me so we don't put unnecessary traffic to this
list.

-- 
Dobrica Pavlinusic               2share!2flame            [EMAIL PROTECTED]
Unix addict. Internet consultant.             http://www.rot13.org/~dpavlin

Reply via email to