project-navigation
Personal tools

Author Topic: 24206: A configure script problem??  (Read 2916 times)

Koryon

  • Guest
24206: A configure script problem??
« on: April 26, 2009, 01:44:53 pm »
So...

Rev 24206, on an intel mac  OS X 10.5.6, the Makefile doesn't seem to be generated properly wrt gettext, this problem has only appeared for me in the last few days.

Here the applicable output from the config script.

Code: [Select]
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for library containing gettext... -lintl

This looks good, but here's how the Makefile looks:

Code: [Select]
CLIENT_LIBS=    -lz -lcurl -lssl -lcrypto -lz -ljpeg -logg -lvorbis -ltheora -ltheora -lpng -ltheora
If I add -lintl myself there are no problems, but I'm wondering why it's not generating the Makefile properly, it did identify -lintl as a library of interest after all.  And yes the theora lib is doubled + tripled, it's not a typo.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 24206: A configure script problem??
« Reply #1 on: April 26, 2009, 06:07:48 pm »
could you retry with latest revision?

Koryon

  • Guest
Re: 24206: A configure script problem??
« Reply #2 on: April 26, 2009, 06:53:24 pm »
Cheers, rev 24211 I deleted the Makefile and did a reconfigure, and it compiles without any gettext issues, from the Makefile:

Code: [Select]
CLIENT_LIBS=    -lz -lcurl -lssl -lcrypto -lz -ljpeg -logg -lvorbis -ltheora -lpng -lintl
I do think I (or maybe macs in general?) have some other issue with gettext though, maybe fink doesn't have the newest versions or some such.  When doing the make lang the radiant files always break it, I've just been deleting them to get past this.

Code: [Select]
msgfmt -v -o radiant/i18n/de/LC_MESSAGES/uforadiant.mo src/po/uforadiant-de.po
src/po/uforadiant-de.po:187: keyword "msgctxt" unknown
src/po/uforadiant-de.po:187:8: parse error
src/po/uforadiant-de.po:193: keyword "msgctxt" unknown
src/po/uforadiant-de.po:193:8: parse error
src/po/uforadiant-de.po:199: keyword "msgctxt" unknown
src/po/uforadiant-de.po:199:8: parse error
src/po/uforadiant-de.po:211: keyword "msgctxt" unknown
src/po/uforadiant-de.po:211:8: parse error
src/po/uforadiant-de.po:217: keyword "msgctxt" unknown
src/po/uforadiant-de.po:217:8: parse error
src/po/uforadiant-de.po:223: keyword "msgctxt" unknown
src/po/uforadiant-de.po:223:8: parse error
src/po/uforadiant-de.po:1109: keyword "msgctxt" unknown
src/po/uforadiant-de.po:1109:8: parse error
src/po/uforadiant-de.po:2038: keyword "msgctxt" unknown
src/po/uforadiant-de.po:2038:8: parse error
src/po/uforadiant-de.po:2046: keyword "msgctxt" unknown
src/po/uforadiant-de.po:2046:8: parse error
src/po/uforadiant-de.po:2299: keyword "msgctxt" unknown
src/po/uforadiant-de.po:2299:8: parse error
msgfmt: too many errors, aborting

These are my gettext versions.
Code: [Select]
macbook:ufo jonathanlemon$ fink list gettext
Information about 2522 packages read in 1 seconds.
 i   gettext          0.10.40-125  Message localization support
 i   gettext-bin      0.14.5-2     GNU Internationalization utilities
     gettext-dev      0.10.40-125  Developer files for gettext package
     gettext-doc      0.14.5-2     GNU Internationalization utilities (Docum...
 i   gettext-tools    0.14.5-3     GNU Internationalization utils (shared libs)
 i   libgettext3-dev  0.14.5-2     GNU Internationalization utilities (Devel...
 i   libgettext3-...  0.14.5-2     GNU Internationalization utils (shared libs)
 i   libgettextpo...  0.14.5-3     GNU Internationalization utilities (Devel...
 i   libgettextpo...  0.14.5-3     GNU Internationalization utils (shared libs)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 24206: A configure script problem??
« Reply #3 on: April 26, 2009, 09:35:31 pm »
yes - it's due to an old version of gettext