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

Submitted by:  Roger Mc Murtrie <rogermc>
Submitted on:  Mon 21 Mar 2016 08:05:37 AM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

(Jump to the original submission Jump to the original submission)

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
http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.7.tar.gz
untarred
./config
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:
./autogen.sh
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:
./configure
In fact from the config.log:
"It was created by gettext configure 0.19.7.17-298b-dirty, 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>

 

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

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:09:10 PM UTChaibleCategoryNone=>Build
    Tue 22 Mar 2016 01:28:48 AM UTCuenoStatusNone=>Need Info
    Mon 21 Mar 2016 08:05:37 AM UTCrogermcAttached File-=>Added config.log, #36709
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1