Lars Clausen wrote:
>
> On Wed, 14 Mar 2001, Ben A. Hetland wrote:
[...]
> > I'm trying to build the latest Dia from the CVS tree, but am unable to
> > even generate the makefile needed.
[...]
>
> The errors from autogen.sh are the interesting ones, if you send them to
> the list, we should be able to figure it out.
Sure. It's a fairly verbose output, but here it is:
------------------------
I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ./autogen.sh command line.
Running gettextize... Ignore non-fatal messages.
sed: can't read aclocal.m4: No such file or directory
You should update your own `aclocal.m4' by adding the necessary
macro packages gettext.m4, lcmessage.m4 and progtest.m4 from
the directory `/usr/share/aclocal'
Running libtoolize
You should add the contents of `/usr/share/aclocal/libtool.m4' to
`aclocal.m4'.
aclocal: configure.in: 163: macro `AM_PATH_GDK_PIXBUF' not found in
library
Makefile.am:211: uk in `ALL_LINGUAS' but po/uk.po does not exist
Makefile.am:211: zh_TW.Big5 in `ALL_LINGUAS' but po/zh_TW.Big5.po does
not exist
Makefile.am:211: pt in `ALL_LINGUAS' but po/pt.po does not exist
Makefile.am:211: ca in `ALL_LINGUAS' but po/ca.po does not exist
Makefile.am:211: da in `ALL_LINGUAS' but po/da.po does not exist
Makefile.am:211: tr in `ALL_LINGUAS' but po/tr.po does not exist
Makefile.am:211: ru in `ALL_LINGUAS' but po/ru.po does not exist
Makefile.am:211: ga in `ALL_LINGUAS' but po/ga.po does not exist
Makefile.am:211: sv in `ALL_LINGUAS' but po/sv.po does not exist
Makefile.am:211: de in `ALL_LINGUAS' but po/de.po does not exist
Makefile.am:211: ja in `ALL_LINGUAS' but po/ja.po does not exist
Makefile.am:211: fi in `ALL_LINGUAS' but po/fi.po does not exist
Makefile.am:211: zh_CN.GB2312 in `ALL_LINGUAS' but po/zh_CN.GB2312.po
does not exist
Makefile.am:211: el in `ALL_LINGUAS' but po/el.po does not exist
Makefile.am:211: pt_BR in `ALL_LINGUAS' but po/pt_BR.po does not exist
Makefile.am:211: es in `ALL_LINGUAS' but po/es.po does not exist
Makefile.am:211: fr in `ALL_LINGUAS' but po/fr.po does not exist
Makefile.am:211: ko in `ALL_LINGUAS' but po/ko.po does not exist
Makefile.am:211: nl in `ALL_LINGUAS' but po/nl.po does not exist
Makefile.am:211: en_GB in `ALL_LINGUAS' but po/en_GB.po does not exist
Makefile.am:211: az in `ALL_LINGUAS' but po/az.po does not exist
Makefile.am:211: pl in `ALL_LINGUAS' but po/pl.po does not exist
Makefile.am:211: hu in `ALL_LINGUAS' but po/hu.po does not exist
Makefile.am:211: it in `ALL_LINGUAS' but po/it.po does not exist
Makefile.am:211: no in `ALL_LINGUAS' but po/no.po does not exist
Makefile.am:211: sl in `ALL_LINGUAS' but po/sl.po does not exist
lib/Makefile.am:12: library used but `RANLIB' not defined in
`configure.in'
objects/standard/Makefile.am:3: library used but `LIBTOOL' not defined
in `configure.in'
shapes/Makefile.am:2: required directory shapes/Logic does not exist
app/Makefile.am:143: variable `GTK_LIBS' not defined
app/Makefile.am:143: variable `INTLLIBS' not defined
app/Makefile.am:143: variable `LIBART_LIBS' not defined
app/Makefile.am:143: variable `GDK_PIXBUF_LIBS' not defined
app/Makefile.am:156: variable `LIBART_LIBS' not defined
app/Makefile.am:156: variable `GDK_PIXBUF_LIBS' not defined
app/Makefile.am:156: variable `INTLLIBS' not defined
autoconf: Undefined macros:
configure.in:127: AC_DEFINE(HAVE_UNICODE,, Unicode support library
available)
configure.in:13:AC_DISABLE_STATIC
configure.in:146:AC_CHECK_LIB(popt, poptSetOtherOptionHelp,
[AC_DEFINE(HAVE_LIBPOPT)
configure.in:14:AC_PROG_LIBTOOL
configure.in:156: AC_DEFINE(HAVE_LIBART)],
configure.in:181: AC_DEFINE(HAVE_LIBPNG)
configure.in:34: AC_DEFINE(USE_XIM)
configure.in:62: AC_DEFINE(GNOME)
configure.in:67: AC_DEFINE(GNOME_PRINT)
loading cache ./config.cache
./configure: syntax error near unexpected token `AM_INIT_AUTOMAKE(dia,'
./configure: ./configure: line 537: `AM_INIT_AUTOMAKE(dia, 0.86)'
Now type 'make' to compile dia.
------------------------
Taking your hint that these are the most relevant messages, I notice
there's no 'aclocal.m4' neither in /usr/share/aclocal nor in my project
directory. Should it be in the CVS tree, perhaps?
> Have you checked that you
> have the othger required packages (libtool, for instance, seems to be less
> commonly installed).
>From those mentioned in the INSTALL file, I have:
gtk+-1.2.6-7
libxml-1.8.6-2
automake-1.4-6
autoconf-2.13-5
libtool-1.3.4-3
gettext-0.10.35-17
As for 'gdk_imlib', it seemed not to have been installed (at least as
RPM), so I downloaded, compiled, and installed imlib-1.9.9. There might
be something here, though...
Are there other required packages?
-+-Ben-+-