On Mon, Jan 08, 2007 at 07:41:47PM +0100, Bart Martens wrote:
> tags 404735 help
> stop

Hi,

It seems you tried to regenated configure itself, but there are
2 problems with it:
- It doesn't even get called because you check for autoconf2.61
  and that doesn't exist.  Even if it existed, it's likely that
  in the future it will fail if autoconf gets a new upstream
  version.
- The scripts it uses didn't get updated.  The script in question
  is acinclude.m4/gettext.m4, which gets included in ./aclocal.m4

There are several ways to properly update it:
- Run aclocal -I acinclude.m4, which generates a new acinclude.m4
  which points to the files in acinclude.m4.  You'll have the manually
  update the files in that dir in that case.  You can get a new copy
  of gettext.m4 from /usr/share/aclocal/gettext.m4.  You might want to
  check that the other files are recent, and might want to copy a few
  others like nls.m4 and po.m4.
- Remove the files from acinclude.m4 dir that are in /usr/share/aclocal
  and run aclocal -I acinclude.m4.  Those seem to be: gettext.m4,
  iconv.m4, lib-ld.m4, lib-link.m4, lib-prefix.m4, progtest.m4,
  glibc21.m4, lcmessage.m4 and intdiv0.m4.  That would leave cxxac.m4
  and isc-posix.m4.  And it seems isc-posix.m4 was part of gettext
  so can probably also be removed.  It seems to work with only
  cxxac.m4 in that dir.  I suggest you use this method.

Anyway, when testing this, it fails with:
make[2]: Entering directory `/usr/src/grhino-0.15.2/po'
rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics -o en_GB.gmo en_GB.po
200 translated messages.
/bin/sh `case "@MKINSTALLDIRS@" in /*) echo "@MKINSTALLDIRS@" ;; *) echo
"../@MKINSTALLDIRS@" ;; esac`
/usr/src/grhino-0.15.2/debian/grhino//usr/share
/bin/sh: ../@MKINSTALLDIRS@: No such file or directory
make[2]: *** [install-data-yes] Error 127

You'll need to replace po/Makefile.in.in with the one from
/usr/share/gettext/po/Makefile.in.in.  Maybe other files
need to be updated too, but I have no idea if there 
is a script to update that.

After those changes it seems to work for me.

You might want to call aclocal-1.9 instead of aclocal or something,
depending on your version of automake, if you add a build dependency
for that.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to