#18757 closed defect (worksforme)
gimp2 fails with "keyword "msgctxt" unknown"
Reported by: | derek@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | gmsgfmt msgctxt ar.po | Cc: | |
Port: | gimp2 |
Description
Brand new macports installation, fails installing gimp2 with following:
derek$ sudo port install gimp2 ---> Fetching gimp2 ---> Verifying checksum(s) for gimp2 ---> Extracting gimp2 ---> Applying patches to gimp2 ---> Configuring gimp2 ---> Building gimp2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.5" && make all " returned error 2 Command output: make[3]: Nothing to be done for `all-am'. Making all in po file=`echo am | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file am.po file=`echo ar | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file ar.po ar.po:5705: keyword "msgctxt" unknown ar.po:5705:8: parse error ar.po:5710: keyword "msgctxt" unknown ar.po:5710:8: parse error ar.po:5715: keyword "msgctxt" unknown ar.po:5715:8: parse error ar.po:5729: keyword "msgctxt" unknown ar.po:5729:8: parse error ar.po:5735: keyword "msgctxt" unknown ar.po:5735:8: parse error ar.po:5885: keyword "msgctxt" unknown ar.po:5885:8: parse error ar.po:5956: keyword "msgctxt" unknown ar.po:5956:8: parse error ar.po:5961: keyword "msgctxt" unknown ar.po:5961:8: parse error ar.po:6086: keyword "msgctxt" unknown ar.po:6086:8: parse error ar.po:6965: keyword "msgctxt" unknown ar.po:6965:8: parse error /usr/bin/gmsgfmt: too many errors, aborting make[2]: *** [ar.gmo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
I've read it could have something to do with gettext, but I tried to upgrade gettext and I have latest from ports. I'm new user to ports, any suggestions welcome.
Change History (9)
comment:1 Changed 16 years ago by derek@…
comment:2 Changed 16 years ago by dbevans (David B. Evans)
Keywords: | gmsgfmt added; gimp2 removed |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
Port: | gimp2 added |
Status: | new → assigned |
Looks like the problem is /usr/bin/gmsgfmt
Try the following and see if that fixes things
sudo port install gettext sudo port clean gimp2 sudo port install gimp2
If so, there's a missing build dependency in gimp2
comment:3 Changed 16 years ago by jmroot (Joshua Root)
Gettext is definitely in gimp2's dependency chain. I don't have a /usr/bin/gmsgfmt
on my system. Where did it come from?
comment:5 follow-up: 6 Changed 16 years ago by derek@…
/usr/bin/gmsgfmt wasn't installed by Ports. Perhaps it was installed by Fink some time ago, but I thought all Fink software got kept in /sw.
comment:6 Changed 16 years ago by derek@…
Replying to derek@…:
/usr/bin/gmsgfmt wasn't installed by Ports. Perhaps it was installed by Fink some time ago, but I thought all Fink software got kept in /sw.
Ah! It's leftover from experiment with OSX Portage.... will have to look into cleaning that up.
comment:7 Changed 16 years ago by derek@…
Moved /usr/bin/gmsgfmt and /usr/bin/msgfmt out of the way temporarily, install went fine. Case closed as far as I am concerned. Thanks for your suggestions.
comment:8 Changed 16 years ago by dbevans (David B. Evans)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Version is 2.6.5, sorry....