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

Submitter:  None
Submitted:  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:  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>
Group administrator
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>
Group 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

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-f8d8.
    Corresponding source code