The configuration setting you want is configure.env GMSGFMT=${prefix}/bin/msgfmt On 18 Sep 2007, at 07:17, Florenz Kley wrote:
hi,
I've been trying to install the port libgda, but got errors:
/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome _libgda/work/libgda-1.2.4/po
Making all in po file=`echo az | sed 's,.*/,,'`.gmo \ && rm -f $file && -o $file az.po /bin/sh: line 1: -o: command not found make[1]: *** [az.gmo] Error 127 make: *** [all-recursive] Error 1
the lone "-o" appeared because neither MSFGMT or GMSGFMT was set in the Makefile in the ./po directory
after some searching I found a hint in the FreBSD "Porters Handbook": http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters- handbook/using-gettext.html
so with
birch:/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome _libgda/work/libgda-1.2.4# CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure --without-bdb
it compiled cleanly.
--without-bdb is set because of another error from that area I ignored - (I don't need BDB support, anyway)
with the build dir prepared like that, the "port install libgda" completed successfully
how would I tell the port to add such a configure option?
regards Florenz
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Randall Wood rhwood@mac.com http://shyramblings.blogspot.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy."