"${datarootdir}" not expanded correctly
Hi,
I tried to build a new svn-version of inkscape yesterday and while compilation is fine, I get into some runtime trouble.
When I run inkscape, it says:
** (inkscape:6598): CRITICAL **: Inkscape::XML::Document* sp_repr_read_file(const gchar*, const gchar*): assertion `Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS )' failed
** (inkscape:6598): WARNING **: Unable to read keys file ${datarootdir}/inkscape/keys/default.xml
** (inkscape:6598): WARNING **: failed to load icon 'file_import'
.... lots of faile to load icon...
As indicated by the warning it seems the ${datarootdir} variable ist not expanded correctly during ./configure. Indeed, 'strings inkscape' shows a lot of occurrences of ${datarootdir} and config.h contains the lines
#define INKSCAPE_DATADIR "${datarootdir}" #define PACKAGE_LOCALE_DIR "${datarootdir}/locale"
To compile, I did the following:
make distclean ./autogen.sh ./configure --prefix=/tmp DESTDIR=/tmp make make install
A few days ago this worked flawlessly. Does someone have a clue what's going wrong here? BTW, not using --prefix and DESTDIR doesn't change anything.
Thanks for your help,
Wolfi
PS: output from ./autogen.sh:
--1. distribution------------------------------------------------------------ Debian GNU/Linux testing/unstable (etch/sid)
--2. tools------------------------------------------------------------------- /usr/bin/m4: /usr/bin/autoconf: autoconf (GNU Autoconf) 2.59d /usr/bin/autoheader: autoheader (GNU Autoconf) 2.59d /usr/bin/automake: automake (GNU automake) 1.9.6 /usr/bin/automake-1.7: automake (GNU automake) 1.7.9 automake-1.8: not found /usr/bin/automake-1.9: automake (GNU automake) 1.9.6 /usr/bin/aclocal: aclocal (GNU automake) 1.9.6 /usr/bin/aclocal-1.7: aclocal (GNU automake) 1.7.9 aclocal-1.8: not found /usr/bin/aclocal-1.9: aclocal (GNU automake) 1.9.6 /usr/bin/intltoolize: intltoolize (GNU intltool) 0.34.2 /usr/bin/gettextize: /usr/bin/gettextize (GNU gettext-tools) 0.14.5 /usr/bin/libtoolize: libtoolize (GNU libtool) 1.5.22
--3. environment variables--------------------------------------------------- PATH=/home/wolfi/src/XCrySDen/:/home/wolfi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/X11R6/bin:/home/wolfi/src/XCrySDen//scripts:/home/wolfi/src/XCrySDen//util LANG=en_US.UTF-8 PYTHONPATH=:/home/wolfi/python:
participants (1)
-
Wolfram Quester