[MacPorts] #37405: gconf installation fails due to configure script failure with xgettext

MacPorts noreply at macports.org
Thu Dec 27 10:47:32 PST 2012


#37405: gconf installation fails due to configure script failure with xgettext
---------------------+----------------------------------
  Reporter:  clw2@…  |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.1.2
Resolution:          |   Keywords:  gconf gettext msgfmt
      Port:          |
---------------------+----------------------------------

Comment (by clw2@…):

 I installed gconf by hacking the configure and commenting out the lines
 that used xgettext.

 starting at line 18922,  and then at line 18930

 #if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 #    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found;
 required for intltool" >&5
 #$as_echo "$as_me: error: GNU gettext tools not found; required for
 intltool" >&2;}
 #   { (exit 1); exit 1; }; }
 #fi

 at line 18930

 #if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 #    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found;
 required for intltool" >&5
 #$as_echo "$as_me: error: GNU gettext tools not found; required for
 intltool" >&2;}
 #  { (exit 1); exit 1; }; }
 #fi

 after that I ran as root in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gconf/gconf/work/GConf-2.28.1
 sudo su

 ./configure --prefix=/opt/local --without-openldap
 make
 make install


 Interestingly this fails:

 $ xgettext --version

 xgettext: A --flag argument doesn't have the
 <keyword>:<argnum>:[pass-]<flag> syntax: gettext:1:pass-c-format

 and it probably should not....

-- 
Ticket URL: <https://trac.macports.org/ticket/37405#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list