#284 Can not compile from GIT, can from sources

open
nobody
None
5
2012-09-28
2012-07-07
2ge
No

I am able to compile aria2c from sources, but when I do:

$ git clone git://github.com/tatsuhiro-t/aria2.git
$ autoreconf -i
$ ./configure
$ make

it stops on localization:

make en@quot.po-update
sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' ./insert-header.sin > en@quot.insert-header
en@quot:
en@quot:
msgmerge --lang=en@quot en@quot.po aria2.pot -o en@quot.new.po
..................................... done.
rm -f en@quot.gmo && /opt/local/bin/msgfmt -c --statistics --verbose -o en@quot.gmo en@quot.po
en@quot.po:45: msgid' andmsgstr' entries do not both end with '\n'
en@quot.po:50: msgid' andmsgstr' entries do not both end with '\n'
en@quot.po:54: msgid' andmsgstr' entries do not both end with '\n'
en@quot.po:60: msgid' andmsgstr' entries do not both end with '\n'
en@quot.po:67: msgid' andmsgstr' entries do not both end with '\n'
...

en@quot.po:3530: msgid' andmsgstr' entries do not both end with '\n'
/opt/local/bin/msgfmt: found 358 fatal errors
en@quot.po: 361 translated messages.
make[3]: [en@quot.gmo] Error 1
make[2]:
[stamp-po] Error 2
make[1]: [all-recursive] Error 1
make:
[all] Error 2

running 'build_osx_release.sh' doesn't produce executable also

OS: Mac OS X 10.7.4

Discussion

  • tujikawa

    tujikawa - 2012-07-09

    I think gettext package is missing.
    If you don't want localization, run ./configure --disable-nls

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous

    Anonymous - 2012-09-13

    I'm getting the same eror on OSx using homebrew gettext. The problem is that the msgid strings don't end with "\n" but the msgstr strings do.

     
  • tujikawa

    tujikawa - 2012-09-19

    I searched this problem and found some projects were also suffered by this, but I don't find any solution yet.
    Please use --disable-nls as workaround for now.

     

Log in to post a comment.