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: CompilationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: Yves BLUSSEAU <blusseau>Originator Name: 
Open/Closed: ClosedRelease: Bazaar - trunk
Release: Bazaar - trunkReproducibility: 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 http://[http://www.gnu.org/software/hello/manual/gettext/AM_005fGNU_005fGETTEXT.html#AM_005fGNU_005fGETTEXT 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
  • -unavailable- added by blusseau (Updated the item)
  • -unavailable- added by gsutre (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Jan 2010 09:12:17 PM UTCblusseauOpen/ClosedOpen=>Closed
      Release=>Bazaar - trunk
    Wed 30 Dec 2009 11:10:50 AM UTCblusseauAssigned toNone=>blusseau
    Sun 20 Dec 2009 10:31:21 PM UTCgsutreAttached File-=>Added gettext-error.log, #19321
      Attached File-=>Added patch-gettext, #19322

    Back to the top


    Powered by Savane 3.1-cleanup1