bugGNU GRUB - Bugs: bug #28356, Build failure with external...


You are not allowed to post comments on this tracker with your current authentication level.

bug #28356: Build failure with external gettext (patch provided)

Submitted by:  GrĂ©goire Sutre <gsutre>
Submitted on:  Sun 20 Dec 2009 10:31:21 PM UTC  
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  Yves BLUSSEAU <blusseau> Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Bazaar - trunk Reproducibility:  Every Time
Planned Release:  None

Sun 20 Dec 2009 10:31:21 PM UTC, original submission:  

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

Grégoire Sutre <gsutre>
Project Member


Attached Files
file #19322:  patch-gettext added by gsutre (1000B - application/octet-stream)
file #19321:  gettext-error.log added by gsutre (14KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by blusseau (Updated the item)
  • -email is unavailable- added by gsutre (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-02 blusseau Open/ClosedOpen => Closed
        Release => Bazaar - trunk
    2009-12-30 blusseau Assigned toNone => blusseau
    2009-12-20 gsutre Attached File- => Added gettext-error.log, #19321
        Attached File- => Added patch-gettext, #19322

    Back to the top

    Powered by Savane 3.5