URL:
  <http://savannah.gnu.org/bugs/?28356>

                 Summary: Build failure with external gettext (patch
provided)
                 Project: GNU GRUB
            Submitted by: gsutre
            Submitted on: Sun 20 Dec 2009 10:31:21 PM GMT
                Category: Compilation
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

With an external installation of GNU gettext, linking of grub utilities fails
on my system (NetBSD 5.0), even though configure detects properly the external
gettext.

The full log of (./autogen.sh && ./configure CC=/usr/pkg/gcc44/bin/gcc
CPPFLAGS=-I/tmp/local/include LDFLAGS=-L/tmp/local/lib && gmake) is attached
(gettext was installed in /tmp/local).

According to GNU gettext's manual
<http://http://www.gnu.org/software/hello/manual/gettext/AM_005fGNU_005fGETTEXT.html#AM_005fGNU_005fGETTEXT>,
the macro AM_GNU_GETTEXT sets the variables LIBINTL and LTLIBINTL to the
linker options for use in a Makefile (LIBINTL for use without libtool,
LTLIBINTL for use with libtool).

However, LIBINTL is not used in GRUB's makefiles.  I attach a patch that uses
LIBINTL, and that solves the problem on my system.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 20 Dec 2009 10:31:21 PM GMT  Name: patch-gettext  Size: 1000B   By:
gsutre

<http://savannah.gnu.org/bugs/download.php?file_id=19322>
-------------------------------------------------------
Date: Sun 20 Dec 2009 10:31:21 PM GMT  Name: gettext-error.log  Size: 14kB  
By: gsutre

<http://savannah.gnu.org/bugs/download.php?file_id=19321>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28356>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to