Re: Build problem for dia-0.96 on Mac OSX




On Mar 27, 2007, at 7:08 PM, Ben Abbott wrote:

I downloaded version 0.96 using the link below

        http://ftp.gnome.org/pub/gnome/sources/dia/0.96/dia-0.96.tar.bz2

I'm able to run configure, with out errors, using

        ./configure --prefix=/sw

I used the /sw prefix since I have a Fink installation.

Unfortunately the make failed with ...

-------------------------
[...]
Making all in samples
make[2]: Nothing to be done for `all'.
Making all in po
file=`echo am | sed 's,.*/,,'`.gmo \
   && rm -f $file &&  -o $file am.po
/bin/sh: line 1: -o: command not found
make[2]: *** [am.gmo] Error 127
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.0.hw1EZK failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-dia-0.96-0000
(Reading database ... 147939 files and directories currently installed.)
Removing fink-buildlock-dia-0.96-0000 ...
Failed: phase compiling: dia-0.96-0000 failed
-------------------------

The offending portion appears to be

-------------------------
file=`echo am | sed 's,.*/,,'`.gmo \
   && rm -f $file &&  -o $file am.po
-------------------------

This error appears to be in ./po/Makefile and is apparently occurring
on the line below

-------------------------
.po.gmo:
        file=`echo $* | sed 's,.*/,,'`.gmo \
          && rm -f $$file && $(GMSGFMT) -o $$file $<
-------------------------

<snip>

Hi List,

After some more work on my end, I've become quite confused.

On first look, it appears the error results due to variable GMSGFMT, and others, not being defined in po/Makefile

-------------------------
GMSGFMT =
MSGFMT =
XGETTEXT = :
-------------------------

I had no errors compiling 0.95, even though those lines show up there (for me ?) exactly as for version 0.96.

I also tried to build 0.96-pre9, but obtained the same error as for the released 0.96.

Meanwhile, I checked and my system has "gettext" installed, via Fink ... and "xgettext" is part of that package. So, I do have both gettext and xgettext installed.

One final comment, "dia" did compile on 0.96 and does run ... Although I expect there are some *features* missing?
Any ideas?

p.s. sorry for the duplicate post on this subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]