delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/21/09:42:10

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <loom DOT 20080620T132115-497 AT post DOT gmane DOT org>
Subject: RE: locale.h: No such file or directory
Date: Sat, 21 Jun 2008 14:41:35 +0100
Message-ID: <005a01c8d3a4$85a6d660$2708a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <loom.20080620T132115-497@post.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Terrence Brannon wrote on 20 June 2008 14:33:

> I have libcharset and libiconv and libiconv2 installed, but for some
> reason locale.h cannot be found in my Cygwin distro. How do I get it
> installed? 

  Search for files in the cygwin distro at:
http://cygwin.com/packages/

> In file included from
>
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/i686-pc-cygwin/bits/c++locale.
h:41,
>                  from
>                  /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/iosfwd:46,
>                  from
>                  /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ios:44,
>                  from
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:45, from
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/iostream:45, from
> small.cpp:1: /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/clocale:49:20:
> locale.h: No such file or directory  

  You ought to have it in /usr/include already, it's part of the base
install:

 
http://cygwin.com/cgi-bin2/package-cat.cgi?file=cygwin%2Fcygwin-1.5.25-14&gr
ep=locale.h

  If it's really gotten lost, you could use setup.exe to reinstall the
"cygwin" package; when you get to the package selection screen, click 'keep'
so it doesn't upgrade your entire system, select the 'full' or 'installed'
view, and click on the "new" entry for cygwin until it says "reinstall".


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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