Re: ORBit compilation problems, again



I had fairly irritating problems compiling all Gnome packages (just curious,
has ANY developer every tried compiling the Gnome packages from scratch
lately?  I didn't think so).  I *did* get ORBit to compile a couple of
days ago, though.

Here's what my notes tell me I had to do:

1) Compile glib and gtk+ and install both
2) Put 'aclocal -I /opt/gnome/share/aclocal -I ../glib' in autogen.sh
3) Put 'aclocal -I /opt/gnome/share/aclocal -I ../../glib' in libIDL/autogen.sh

That did it for me.

When I went to compile libIDL -- not the one in the ORBit module (why are
there two libIDLs, BTW?) -- I had more problems.  My notes look like so:

1) cd libIDL && cp ../imlib/autogen.sh .
2) 'aclocal -I /opt/gnome/share/aclocal -I ../ORBit'

I remember it being more of a pain than that, though, so I probably did
something else that I forgot to write down.

BTW, the errors you have in the libIDL dir seem to indicate that the
acinclude.m4 file is either corrupt or missing.  I'd delete it if it is
there and do a 'cvs update'

On Fri, Aug 28, 1998 at 08:11:23AM -0700, Colin Walters wrote:
> This problem has been happening for at least a week for me.  I was
> able to compile all of the ORBit releases before this just fine.  I'm
> running a RH 5.1 box, all updates applied.  Glib and GTK+ compiled
> correctly. 
> 
> 
> [root@meta ORBit]# export ACLOCAL_FLAGS="-I /usr/src/gnomecvs/glib"
> [root@meta ORBit]# ./autogen.sh --prefix=/opt/gnome
> processing .
> You should add the contents of `/usr/share/aclocal/libtool.m4' to
> `aclocal.m4'
> aclocal: /usr/src/gnomecvs/glib/acinclude.m4: 25: duplicated macro
> `AM_PROG_LIOOL'
> aclocal: /usr/src/gnomecvs/glib/acinclude.m4: 155: duplicated macro
> `AM_PROG_L
> aclocal: /usr/src/gnomecvs/glib/acinclude.m4: 216: duplicated macro
> `AM_PROG_LGNU'
> aclocal: /usr/src/gnomecvs/glib/acinclude.m4: 227: duplicated macro
> `AM_PROG_N
> src/orb/Makefile.am:182: variable `GLIB_LIBS' not defined
> processing libIDL
> You should add the contents of `/usr/share/aclocal/libtool.m4' to
> `aclocal.m4'
> aclocal: /usr/src/gnomecvs/glib/acinclude.m4: 25: duplicated macro
> `AM_PROG_LIOOL'
> aclocal: /usr/src/gnomecvs/glib/acinclude.m4: 155: duplicated macro
> `AM_PROG_L
> aclocal: /usr/src/gnomecvs/glib/acinclude.m4: 216: duplicated macro
> `AM_PROG_LGNU'
> aclocal: /usr/src/gnomecvs/glib/acinclude.m4: 227: duplicated macro
> `AM_PROG_N
> autoconf: Undefined macros:
> configure.in:12:AC_CPP_ACCEPT_IDL
> configure.in:16:AC_CPP_PIPE_STDIN
> Running ./configure --enable-maintainer-mode --prefix=/opt/gnome
> loading cache ./config.cache
> ./configure: syntax error near unexpected token
> `AM_CONFIG_HEADER(config.h)'
> ./configure: ./configure: line 568: `AM_CONFIG_HEADER(config.h)'
> 
> Now type 'make' to compile ORBit.

-- 
Kurt Granroth
granroth@kde.org
http://www.pobox.com/~kurt_granroth



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