gettext check missing from ./configure



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 $<
-------------------------

On first look, it appears the error results due to variable GMSGFMT, and others, not being defined.

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

However, I had no problem compiling 0.95, even though those lines show up there exactly as for version 0.96.

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

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

Any ideas?



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