changing paths to get libgda to compile (1.2.4, Revision 1)

Ryan Schmidt ryandesign at macports.org
Fri Sep 21 12:44:11 PDT 2007


On Sep 19, 2007, at 03:32, Randall Wood wrote:

> On 18 Sep 2007, at 07:17, Florenz Kley wrote:
>
>> 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_gnom 
>> e_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_gnom 
>> e_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?
>
> The configuration setting you want is
>
> configure.env   GMSGFMT=${prefix}/bin/msgfmt

Landon is the maintainer of libgda and should comment on this.




More information about the macports-users mailing list