Re: Help an ORBit idiot, please



Soren Harward <soren@cinternet.net> writes:

> I still can't get ORBit to work, and yes I do feel pretty stupid as the
> guy who wrote the CVS page unable to get his own tree to compile.  Here's
> my setup:
> 
> -gnome CVS source in /usr/src/gnomecvs [abbreviated ~]
> -gnome compiled in /opt/gnome
> -automake 1.3
> -autoconf 2.12
> 
> And here's the list of what I did in ~:
> 
> 0] build latest glib and gtk+ binaries
> 1] rm -rf ORBit/ libIDL/
> 2] cvs -z3 checkout ORBit libIDL

You only need to checkout ORBit, libIDL will be included automatically.

> 3] cd ORBit/ ; cvs update -r FOR_PANEL

You can save some time/bandwith if you just do a

$ cvs -z3 checkout -r FOR_PANEL ORBit

> 4] hack the autogen.sh files to run 'aclocal -I /opt/gnome/share/aclocal'

Wrong. There is no need to hack autogen.sh. Just do a 

$ export ACLOCAL_FLAGS='-I /opt/gnome/share/aclocal'

Oh, sorry. Looked at the normal ORBit/autogen.sh. ORBit-Panel/autogen.sh
is really broken and needs to be hacked.

> 5] ./autogen.sh --prefix=/opt/gnome --with-gtk-prefix=/opt/gnome \
>    --enable-FOR_PANEL
     ^^^^^^^^^^^^^^^^^^

Don't know what this should be good for ...

> 6] watch it blow up
> 
> Here's the error (which I've posted a million times):

Well, I also posted this a few times to the list:

* Look where aclocal looks for its files (I'll call this $acdir later):

	$ aclocal --print-ac-dir

* It is an error to say

	$ aclocal -I $acdir

* It is also an error to have a m4 file installed more than once (in $acdir
  and in one of the -I directories).

Syntax errors and missing macros in configure are quite normal if aclocal
aborts its work due to an error.

> processing .
> You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
> aclocal: /opt/gnome/share/aclocal/gtk.m4: 7: duplicated macro `AM_PATH_GTK'

Make sure `gtk.m4' is only in /opt/gnome/share/aclocal and not in $acdir (if
different from /opt/gnome/share/aclocal).

> processing libIDL
> aclocal: /opt/gnome/share/aclocal/gtk.m4: 7: duplicated macro `AM_PATH_GTK'

Likewise.

> autoconf: Undefined macros:
> configure.in:10:AC_CPP_ACCEPT_IDL
> configure.in:14:AC_CPP_PIPE_STDIN

This should go away when aclocal succeeds.

> Running ./configure --enable-maintainer-mode --prefix=/opt/gnome --with-gtk-prefix=/opt/gnome --enable-FOR_PANEL
> loading cache ./config.cache
> ./configure: syntax error near unexpected token `AM_CONFIG_HEADER(config.h)'
> ./configure: ./configure: line 568: `AM_CONFIG_HEADER(config.h)'

Likewise.

Martin

-- 
----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier
   
   baulig@castor.uni-trier.de, http://www.home-of-linux.com/
   Key: 1024-bit key with ID C8178435 created 1997/01/24 
   ID:  67 C1 84 A0 47 F5 11 C5  5F 68 4C 84 99 05 C3 92
   Finger baulig@math38 or fetch mykey.asc from the url above
-----------------------------------------------------------------



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