public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Charles Wilson <cwilson@ece.gatech.edu>
To: Nicholas Wourms <nwourms@yahoo.com>
Cc: cygwin@cygwin.com
Subject: Re: usr/include/ndbm.h duplicate in cygwin-1.3.11-2
Date: Mon, 24 Jun 2002 10:01:00 -0000	[thread overview]
Message-ID: <3D17299B.9020801@ece.gatech.edu> (raw)
In-Reply-To: <20020624110004.31704.qmail@web21001.mail.yahoo.com>

Nicholas Wourms wrote:

> It looks to me like it is db-1, not db-3...  There are /way/ too few
> source files for it to be the latter.  This is, of course, highly
> annoying.  Most linuxs come with the berkeley db, and now Cygwin does as
> well. 


Not really.  The routines are there, and the header file -- but since 
the cygwin DLL doesn't export the routines, they effectively do not 
exist.  Which means there's no need for cygwin to ship the headers at all.

> It doesn't make sense for them to clobber an existing db.h, it
> should be segregated in a libc-only header folder.


Probably, and then distribution managers can symlink or copy as 
necessary; perhaps the newlib folks would agree to something like this. 
  However, we (cygwin) have a distributed set of distribution managers 
-- so we, collectively, have to decide which db.h gets put into 
/usr/include -- the one from newlib/cygwin (which seems rather pointless 
unless the DLL begins exporting the necessary symbols) or the symlink 
magic from your family of berkeley db packages.

>  Either that, or like
> glibc, keep db as an external dependancy. 


I doubt they will revert to that -- it is valuable on embedded systems 
to have database routines, like the POSIX(?) db(3) family, in the 
runtime.  And since newlib is primarily targetted at embedded systems...

> *Sigh*, Chuck I guess I'll have
> to figure out a new strategy for releasing the other Berkely DB's... 


Don't panic.  Let's see what cgf has to say about the issue, esp. with 
regards to cygwin exporting/not-exporting the db symbols in the future.

> If
> some kind soul who works for the crimson hat might confer with the newlib
> folks regarding this situation, it would be most appreciated.  Meanwhile,
> be aware that the db-2 packages will clobber cygwin-1.3.11 files and
> vis-versa...


Hopefully Chris will release 1.3.11-4 *without* /usr/include/db.h as a 
short-term, interim fix.

You know, we *really* need a package linter that checks for file 
conflicts -- of course, it wouldn't have caught the db.h problem, since 
db.h is created by a symlink during postinstall in your berkeley db 
packages...

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2002-06-24 14:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-23 23:20 Gerrit P. Haase
2002-06-24  0:57 ` Charles Wilson
2002-06-24  3:44   ` Gerrit P. Haase
2002-06-24  6:06   ` Nicholas Wourms
2002-06-24 10:01     ` Charles Wilson [this message]
2002-06-24 12:12       ` Christopher Faylor
2002-06-24 13:01         ` Charles Wilson
2002-06-24 14:12           ` Nicholas Wourms
2002-06-26  9:30           ` Charles Wilson
2002-06-26  9:50             ` Nicholas Wourms
2002-06-24 11:48   ` Charles Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D17299B.9020801@ece.gatech.edu \
    --to=cwilson@ece.gatech.edu \
    --cc=cygwin@cygwin.com \
    --cc=nwourms@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).