delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/30/16:22:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <b33adb14050330132128d64ec6@mail.gmail.com>
Date: Wed, 30 Mar 2005 15:21:52 -0600
From: Jonathon Merz <jonathon DOT merz AT gmail DOT com>
Reply-To: Jonathon Merz <jonathon DOT merz AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: GCC header libraries ... ?
In-Reply-To: <d2f27o$ohg$1@sea.gmane.org>
Mime-Version: 1.0
References: <d2ei14$eg$1 AT sea DOT gmane DOT org> <20050330172036 DOT GC7144 AT cygbert DOT vinschen DOT de> <d2f27o$ohg$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes

On Wed, 30 Mar 2005 12:30:45 -0800, Jacob Lane, MCP
<jacoblanemcp AT yahoo DOT com> wrote:
> Excellent ... now we're getting somewhere! ;-)
> 
> So, my follow-up question is: did you just know that from prior expereince,
> or were you able to look that up somwhere?
> 
> Jake
> 
> "Corinna Vinschen" <corinna-cygwin AT cygwin DOT com> wrote in message
> news:20050330172036 DOT GC7144 AT cygbert DOT vinschen DOT de...
> > On Mar 30 07:54, Jacob Lane, MCP wrote:
> > > All,
> > >
> > > Sorry if this is a newb question, but I am somwhat new to Cygwin and
> trying
> > > to write / compile programs using GCC. One thing I noticed is that when
> I
> > > try to compile code from others, I seem to be missing some header
> libraries.
> > >
> > > For example, in one recent program:
> > >
> > > #include <arpa/nameser.h>
> > >
> > > I have had others tell me that on their native Linux installs, they have
> the
> > > nameser.h library -- so it seems to be just me (using Cygwin) that is
> having
> > > the issue.
> >
> > That's not a Cygwin problem.  You just missed to install the appropriate
> > development packages.  In the above case you'll get the file by installing
> > minires-devel.
> >
> >
> > Corinna
> >
> > --
> > Corinna Vinschen                  Please, send mails regarding Cygwin to
> > Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
> > Red Hat, Inc.
> >

Some people might just know that, but we mortals who don't can find it
on the Cygwin Package Search at:
   http://cygwin.com/packages/

(You can also get to it from the links on the left side of
http://www.cygwin.com).

From there, search for "nameser.h", or even "arpa/nameser.h" to search
a little more precisely.  To avoid the likely confusion for this
particular case, note that there are a number of -src packages listed,
including cygwin-<version>-src that include that file as well. 
Generally, you don't want the -src packages unless you intend to build
that particular package, so that the minires-devel module mentioned
previously.

Jon

--
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