iconv support not detected by configure when using gcc-3.3.1-3

Charles Wilson cygwin@cwilson.fastmail.fm
Thu Feb 5 03:40:00 GMT 2004


Dr. Volker Zell wrote:

> Now I'm wondering how the iconv support in the original build could *EVER* 
> be detected ? because these symbols do not seem to be defined in the library.
> 
> 
> By the way the same problem exists when trying to build TeXmacs (see the 
> discussion on cygwin-apps). The discussion there reminds me that I used 
> gcc-3.2-3 for my original build whereas now I have gcc-3.3.1-3
> 
> 
> Is this a know issue ? Does anybody has any clue what's going on here.
> 

This is thanks to the new iconv support in newlib.  Even tho it is 
"turned off" in cygwin-1.5.7, the new cygwin package still installs its 
own version of /usr/include/iconv.h -- and the "new" version is not, of 
course, recognized as GNU iconv.

Short-term solution: reinstall 'libiconv'

Medium-term solution: next cygwin release, if it still does not use 
newlib's iconv, should also _not_ include newlib's iconv.h

Long-term solution: we really really need a package linter that detects 
file conflicts like these BEFORE they lead to wierd problems.  Any 
volunteers?

--
Chuck


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