locale.h: No such file or directory

Dave Korn dave.korn@artimi.com
Sat Jun 21 15:08:00 GMT 2008


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/



More information about the Cygwin mailing list