bugGNU gettext - Bugs: bug #47484, make fails under OSX 10.11 -...


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

bug #47484: make fails under OSX 10.11 - plural.c not found

Submitter:  Roger Mc Murtrie <rogermc>
Submitted:  Mon 21 Mar 2016 08:05:37 AM UTC
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


( Jump to the original submission )

Tue 02 Jan 2018 09:21:21 PM UTC, comment #8: 

I added a mention of the minimum bison version in the HACKING file. See http://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=72e494b35a42b533df8fafb7560f73868408e383

That's all that's needed. We do add all kinds of checks into 'configure', because the person who runs 'configure' is not meant to have special knowledge about the package or particular debugging skills. But the person who reconfigures the package can be assumed to have looked in the HACKING file and to have debugging skills.

Bruno Haible <haible>
Project Administrator
Tue 22 Mar 2016 04:53:54 AM UTC, comment #7: 

After installing SED with brew:
brew install gnu-sed --with-default-names
make ran to completion.

I'm wondering if "bad" annotations should invoke warnings to the user at the end of the configure script?
Or possibly require later versions of "bad" packages?

I'm currently running make check and will report any failures under another bug report.

Thanks again for you help in getting gettext to build.  This allows me to progress a project that I started a couple of month's ago.

Roger Mc Murtrie <rogermc>
Tue 22 Mar 2016 04:18:50 AM UTC, comment #6: 

It seems my version of bison (2.3.4), installed via brew, was too old so I have downloaded, built and installed the latest bison (3.0.4).
I noticed that configure had annotated 2.3.4 as "bad"
3.0.4, of course, earned  "OK"

My gettext build has now progressed to
"The 'sed' program is not GNU sed. Try installing GNU sed."
so I'll try and fix that.

Thanks for your help.

Roger Mc Murtrie <rogermc>
Tue 22 Mar 2016 03:07:41 AM UTC, comment #5: 

Building from git means that you need more tools installed on the system, such as gperf, bison, as described in the HACKING file.

In this particular case, as plural.c is generated by bison, bison might be missing on your system.

For "make check" failures, yes, please open a new bug.

Daiki Ueno <ueno>
Project Administrator
Tue 22 Mar 2016 01:58:01 AM UTC, comment #4: 

I used git as I've found it very useful in getting other packages to build.
I've just downloaded
make ran successfully
make check produced
# TOTAL: 411
# PASS:  392
# SKIP:  15
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0

Should I submit a new bug for this?
Does this make success make this bug 47484 redundant?

Roger Mc Murtrie <rogermc>
Tue 22 Mar 2016 01:42:47 AM UTC, comment #3: 

Thanks for your response.
Sorry, I assumed that the clone was of the latest version; I'm fairly new to using git.
So ignore my reference to 0.19.7.
To get the source, I used:
git clone git://git.savannah.gnu.org/gettext.git
then, in the gettext directory:
With some packages, autogen launches configure automatically and I can't remember what happened in this instance.
However, if I did have to launch it myself it would have been:
In fact from the config.log:
"It was created by gettext configure, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure "

Roger Mc Murtrie <rogermc>
Tue 22 Mar 2016 01:28:48 AM UTC, comment #2: 

I'm a bit confused that you mention "gettext 0.19.7" in the first comment and "git clone" in the second comment.

What did you do exactly?  It would be helpful if you provide more information, e.g. how you get the source code, and which command line is supplied to ./configure, etc.

Daiki Ueno <ueno>
Project Administrator
Tue 22 Mar 2016 01:11:24 AM UTC, comment #1: 

This was for the latest git clone download built using autogen.sh

Roger Mc Murtrie <rogermc>
Mon 21 Mar 2016 08:05:37 AM UTC, original submission:  

Mac OSX 10.11.3
gettext 0.19.7
My make failed with:

/bin/sh ../libtool --tag=CC --mode=compile gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -fvisibility=hidden ./plural.c
libtool: compile: gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -fvisibility=hidden ./plural.c -fno-common -DPIC -o .libs/plural.o
clang: error: no such file or directory: './plural.c'

config.log attavhed

Roger Mc Murtrie <rogermc>


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

Attach Files:

Attached Files
file #36709:  config.log added by rogermc (8KiB - 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 haible (Updated the item)
  • -email is unavailable- added by ueno (Posted a comment)
  • -email is unavailable- added by rogermc (Submitted the item)
  • -email is unavailable- added by rogermc

    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.

    Only logged-in users can vote.





    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-02 haible StatusNeed Info Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed
    2016-11-27 haible CategoryNone Build
    2016-03-22 ueno StatusNone Need Info
    2016-03-21 rogermc Attached File- Added config.log, #36709
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.9