savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers-public] [task #15224] savane code - configure does not


From: Andrew Janke
Subject: [Savannah-hackers-public] [task #15224] savane code - configure does not notice if msgconv is absent
Date: Wed, 27 Mar 2019 16:36:08 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

URL:
  <https://savannah.nongnu.org/task/?15224>

                 Summary: savane code - configure does not notice if msgconv
is absent
                 Project: Savannah Administration
            Submitted by: apjanke
            Submitted on: Wed 27 Mar 2019 08:36:06 PM UTC
         Should Start On: Wed 27 Mar 2019 12:00:00 AM UTC
   Should be Finished on: Wed 27 Mar 2019 12:00:00 AM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

I'm building the Savane code on macOS, which is a BSD system and includes BSD
gettext by default. BSD gettext does not include msgconv. It looks like the
`configure` script does not notice this, so it succeeds, but `make` produces
an error.

configure also looks for gmsgfmt, and fails to find it, but does not raise an
error in this case. This will cause `$(GMSGFMT)` to be empty, which causes the
`make po` step to fail with weird error messages if you add GNU gettext to
your $PATH after doing `configure`.

Here's some output from `(./bootstrap && ./configure && make ) &> build.log`.
Full log attached.


+ '[' x = xclean ']'
+ autoreconf --install --symlink --warnings=all
+ echo 'You now can run ./configure.sh'
You now can run ./configure.sh
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
[...]
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for perl... /usr/local/bin/perl
[...]
Configuration directory:  /usr/local/etc/savane
Guessed HTTPd/PHP user (configuration file permissions): 
Database name: savane

Now you can run:
  make
  make install
[...]
Making all in po
test ! -f ./savane.pot || \
          test -z "ca.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo pt_BR.gmo ru.gmo 
sv.gmo"
|| /Applications/Xcode-10.1.app/Contents/Developer/usr/bin/make ca.gmo de.gmo
es.gmo fr.gmo it.gmo ja.gmo pt_BR.gmo ru.gmo sv.gmo
msgconv --to-code=UTF-8 --output-file=ca.po_utf-8 ca.po
make[2]: msgconv: No such file or directory
make[2]: *** [ca.po_utf-8] Error 1
make[1]: *** [stamp-po] Error 2
make: *** [all-recursive] Error 1





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 27 Mar 2019 08:36:06 PM UTC  Name: build.log  Size: 6KiB   By:
apjanke

<http://savannah.nongnu.org/task/download.php?file_id=46648>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/task/?15224>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]