delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/10/20:55:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A5D11DE.D5D27147@ece.gatech.edu>
Date: Wed, 10 Jan 2001 20:52:30 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: Jerome BENOIT <JGMBenoit AT Wanadoo DOT fr>
CC: Cygnus <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: cygwin, gdbm and perl
References: <3A5D07C6 DOT 9673A048 AT Wanadoo DOT fr>

Yes, but is the *perl* package, GDBM_File:: installed? (or NDBM_File::
or ODBM_File::  -- whatever, I forgot the name).  Also, if you search
the archives over the past two weeks, you'll find a very detailed
explanation (from me) concerning difficulties with gdbm/ndbm and perl
and FAT partitions.

--Chuck


Jerome BENOIT wrote:
> 
> Bonjour:
> 
> I have just try the following perl script
> under the latest Cygwin:
> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> #! /usr/bin/perl
> 
> my %array;
> unless(eval {dbmopen(%array,'DBMtest',0755)}) {
>   my $err = $@ || 'dbmopen failed';
>   print ("Error: Perl reported DBM error.\n");
>   exit 1;
> }
> else {
>   #JCL: we do not need to write sth into it, if Perl lacks DBM we
>   # detected it with dbmopen before...
>   dbmclose(%array);
>   print ('yes');}
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> 
> and I got the Error Message:
> since `gdbm' is installed,
> I guess that may work.
> 
> Any idea,
> Thanks in advance.
> 
> Jerome BENOIT
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019