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:  Build Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  Bruno Haible <haible>
Open/Closed:  Closed

Tue 02 Jan 2018 07:22:00 PM UTC, comment #2:

Works fine for me as well, with the current source code from the git repository.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
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.



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
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by ueno (Posted a comment)

    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
    2018-01-02 haible StatusNone => Works For Me
        Assigned toNone => haible
        Open/ClosedOpen => Closed
    2016-11-27 haible CategoryNone => Build
    2015-04-11 None Attached File- => Added patch-gettext-runtime_configure.ac, #33636

    Back to the top

    Powered by Savane 3.3