Re: Need help getting a project to compile




Le 17 juin 2004, à 23:01, Chris W a écrit :

I have downloaded the most recent version of glade for windows and cygwin. I create a simple project in glade with just one window and a single button on that window. A program that does nothing. But I can't get it to compile. Here is the compleate output of autogen.sh. . .
There is a nice, though a bit outdated explanation here:

<http://developer.gnome.org/doc/GGAD/cha-source.html>

Your problem is that your configuration files are not set as needed.


$ autogen.sh
**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.

processing .
Creating ./aclocal.m4 ...
Running glib-gettextize...  Ignore non-fatal messages.
Copying file po/Makefile.in.in

Please add the files
 codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
 progtest.m4
from the /target/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You should make what the output says.

You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Here too, you probably have them already somewhere in your system.


Making ./aclocal.m4 writable ...
Running aclocal  ...
aclocal: configure.in: 24: macro `AM_GLIB_GNU_GETTEXT' not found in library
See the info file for autoconf. It explains the macros.

Running autoheader...
autoheader: error: AC_CONFIG_HEADERS not found in configure.in
Running automake --gnu  ...
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
Makefile.am: installing `./COPYING'
Makefile.am: installing `./INSTALL'
Use of uninitialized value in pattern match (m//) at /usr/autotool/devel/bin/automake line 4364.
src/Makefile.am: installing `./depcomp'
/usr/autotool/devel/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/autotool/devel/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL Use of uninitialized value in pattern match (m//) at /usr/autotool/devel/bin/automake line 4364. /usr/autotool/devel/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/autotool/devel/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
Running autoconf ...
configure.in:4: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
     See the Autoconf documentation.
configure.in:5: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:6: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.in:10: error: possibly undefined macro: AM_PROG_CC_STDC
configure.in:24: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
Running ./configure --enable-maintainer-mode ...
./configure: line 1250: syntax error near unexpected token `testproject1,'
./configure: line 1250: `AM_INIT_AUTOMAKE(testproject1, 0.1)'

--
Chris W

Bring Back the HP 15C
http://hp15c.org

Not getting the gifts you want?  The Wish Zone can help.
http://thewishzone.com


_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list


Michèle
<http://micmacfr.homeunix.org>

Attachment: PGP.sig
Description: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=



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