This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: locale.h: No such file or directory
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Sat, 21 Jun 2008 14:41:35 +0100
- Subject: RE: locale.h: No such file or directory
- References: <loom.20080620T132115-497@post.gmane.org>
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/