Hi

(I'm not that familiar with autotools, so please correct me if I'm
wrong.)

On Thu, 2004-11-11 at 14:35, Robert Uhl wrote:
> Speaking of, has anyone been able to get pygnome-hello to actually run?
> autogen.sh returns a mess of errors:

I ran into this problem as well. I believe I'm using a version of
gnome-common that is to old. Assuming you have all the appropriate devel
packages you might be able to solve this in one of the following ways.

1) Rename your 'configure.ac' to 'configure.in' and modify autogen.sh so
it refers to "configure.in" instead of "configure.ac".

2) Create a sym-link from (the non-existent) 'configure.in' to
'configure.ac'.

3) Upgrade gnome-common.

>   $ ./autogen.sh
>   grep: ./configure.in: No such file or directory
>   grep: ./configure.in: No such file or directory
>   grep: ./configure.in: No such file or directory
>   grep: ./configure.in: No such file or directory
>   **Warning**: 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 ./configure --enable-maintainer-mode --enable-compile-warnings ...
>   ./configure: line 1234: syntax error near unexpected token `1.7'
>   ./configure: line 1234: `AM_INIT_AUTOMAKE(1.7)'
> 
> And autoconf does the same:

I don't really know why this happens (haven't tried it myself), but my
guess would be that you can't call autoconf directly. Instead you have
to call the gnome autogen.sh from gnome-common.

>   $ autoconf
>   configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
>         If this token and others are legitimate, please use m4_pattern_allow.
>         See the Autoconf documentation.
>   configure.ac:7: error: possibly undefined macro: AM_MAINTAINER_MODE
>   configure.ac:21: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
>   configure.ac:22: error: possibly undefined macro: AC_PROG_INTLTOOL
>   configure.ac:25: error: possibly undefined macro: AM_PATH_PYTHON_VERSION
>   configure.ac:50: error: possibly undefined macro: AM_GCONF_SOURCE_2

cheers,

/ Mattias

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to