changing paths to get libgda to compile (1.2.4, Revision 1)
Florenz Kley
fl at well.com
Tue Sep 18 04:17:11 PDT 2007
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_l
ibgda/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_l
ibgda/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
More information about the macports-users
mailing list