bugGNU gettext - Bugs: bug #44808, gettext configure fails without a...

 
 

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

bug #44808: gettext configure fails without a C++ compiler

Submitted by:  None
Submitted on:  Sat 11 Apr 2015 10:06:10 AM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon 13 Apr 2015 01:32:41 AM UTC, comment #1:

The patch looks okay, but I don't think the original code fails when no C++ compiler is available. Regarding C++, libasprintf/configure.ac only invokes AC_PROG_CXX, which doesn't make the entire configure phase fail. I tried that on NetBSD (guessed from your patch header) after removing g++ and c++, but couldn't reproduce the problem.

Could you paste the actual error?

Daiki Ueno <ueno>
Project Administrator
Sat 11 Apr 2015 10:06:10 AM UTC, original submission:

If no C++ compiler is available, the configure phase of gettext-0.19.4 fails, even when you give the "--disable-c++" option to the main configure script. This is because the libasprintf configure (which does need C++) is run unconditionally, even when gettext-runtime/configure has decided not to build libasprintf.

The attached patch makes the AC_CONFIG_SUBDIRS conditional on libasprintf enabled.

Anonymous

 

Attached Files
file #33636:  patch-gettext-runtime_configure.ac added by None (407B - application/octet-stream - proposed patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Updated the item)
  • -unavailable- added by ueno (Posted a comment)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:01:40 PM UTChaibleCategoryNone=>Build
    Sat 11 Apr 2015 10:06:10 AM UTCNoneAttached File-=>Added patch-gettext-runtime_configure.ac, #33636

    Back to the top


    Powered by Savane 3.1-cleanup1