http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56779

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Dâniel Fraga from comment #14)
> 
> 1) I'm using a customized installation, more like Linux from scratch
> (remember that everything worked fine before gcc 4.8.0)

I don't understand how it worked previously, I think it should always have
failed!

> 2) Regarding libintl.h, I have from both glibc and gettext:
> 
> /usr/include/libintl.h (glibc)
> /usr/local/include/libintl.h (gettext)

Thanks for the quick response, that explains the problem.

G++ finds the version in /usr/local/include first, so the library gets a
dependency on libintl_textdomain, but the configure checks find textdomain in
glibc, so thinks there is no need to link to libintl.


> Any other hints? Just ask and I'll test anything you want. Thanks.

If you remove /usr/local/include/libintl.h it should work, but that's not a
clean solution.

Reply via email to