delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/06/12:11:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVa23H68XrFJ7MeiM/Cbb5uCktvcF+wkZ7+0Q2rVAFjuOpP7jlFxwJEN
Message-ID: <3F31278C.2040209@cygwin.com>
Date: Wed, 06 Aug 2003 12:06:36 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: David Balazic <david DOT balazic AT hermes DOT si>
CC: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Less fails with link error
References: <600B91D5E4B8D211A58C00902724252C01BC02B9 AT piramida DOT hermes DOT si>
In-Reply-To: <600B91D5E4B8D211A58C00902724252C01BC02B9@piramida.hermes.si>

David Balazic wrote:

> 
>>----------
>>From: 	Larry Hall[SMTP:cygwin-lh AT cygwin DOT com]
>>Reply To: 	cygwin AT cygwin DOT com
>>Sent: 	6. avgust 2003 17:32
>>To: 	David Balazic
>>Cc: 	'cygwin AT cygwin DOT com'
>>Subject: 	Re: Less fails with link error
>>
>>David Balazic wrote:
>>
>>
>>>If I try to run less from bash, I get a dialog saying :
>>>
>>>less.exe - Entry Point Not Found
>>>
>>>The procedure entry point __getreent could not be located in the dynamic
>>>link library cygwin1.dll.
>>>
>>>[OK]
>>
>>
>>You've installed some test packages but you're not running the test
> 
> ??? I just did a simple install of cygwin with setup.exe ( I only changed
> the install dir and selected some additional packages to install : less,
> zip, unzip
> and maybe some other I can't remember right now )


Right.  But you picked the test version of 'less' which only works with
the test version of the 'cygwin' package.  It's not really your fault.
It's not clear that you're selecting a test version when you cycle through
the versions available.  Setup offers test versions to you even when
you don't specify "Exp".  But it's always done this.  It's just more
noticeable now.  It will go away in a few weeks when 1.5.x becomes "Curr".


>>cygwin package.  Rerun setup, make sure you *don't* change the default
>>"Curr" to "Exp" and let it install anything it needs to.  Try it again.
> 
> Just run setup and click on NEXT intul FINISH or should I change some
> options.
> 
> 
> 
>>>I would give you the "less" version number , but "rpm -q less" gives :
>>>
>>>$ rpm -qa
>>>error: db4 error(13) from dbenv->open: Permission denied
>>>error: cannot open Packages index using db3 - Permission denied (13)
>>>error: cannot open Packages database in /var/lib/rpm
>>>no packages
>>>
>>>
>>>Doesn't anything work in cygwin  ? :-)
>>
>>
>>No, nothing does.  You shouldn't use it.  Try Windows apps and O/Ss.
>>They _always_ work.
>>
> 
> Excuse me, but after installing RH linux, less worked, rpm worked, all the
> tools
> worked, they were not eclipsed by some phantom mount on my rootfs ( see my
> other
> thread "RE: Directory problems after fresh install of v1.3.22-1" )


Cygwin != Linux or RH.  You're also under the mistaken impression that
Cygwin is some kind of commercial product, I guess.  There's a difference
and some hiccups to expect as a result.  If you expect a Linux experience
as provided by a commercial entity, you should stick with RH Linux or
anothger distribution.


> 
>>Did you install 'less' via 'rpm'?  If you did, you want to inquire at the
> 
> I installed less during setup
> 
> 
>>site that provided 'less' as an RPM file for assistance.  If you did not
>>install 'less' via 'rpm', why are you surprised that it's not in the
>>RPM DB?  BTW, 'cygcheck -c less' always provides package version
>>information if you install via setup.exe.
>>
> 
> I assumed cygwin manages the packages via RPM, I guess I was wrong.
> 
> $ cygcheck -c less
> Cygwin Package Information
> Package              Version
> less                 381-1


Right.  As Igor pointed out, this is the test version of less.  That's
you're problem.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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