Re: GTK+ (from CVS) configure & make failure



"Colley, Tony" <Tony Colley itt com> writes:

> Hello.
> 
> I am attempting to build GTK+ from the current CVS source -- obviously
> without success so I'm writing this plea for help.
> 
> I am using RedHat Linux 7.2 on a Dell PC. I am using gcc v2.96 (or would be
> if my GTK+ build would ever get that far).
> 
> I am using the following versions of tools (all built from recent CVS or
> their latest distribution if they aren't available via CVS, "recent" meaning
> this week):
>   autoconf (GNU Autoconf) 2.52c
>   automake (GNU automake) 1.5
>   ltmain.sh (GNU libtool) 1.4c (1.1026 2001/08/19 20:20:25)
>   autoheader (GNU Autoconf) 2.52c
> 
> I have successfully (though not painlessly) built and installed Glib, Pango,
> and Atk (all obtained via CVS this week).
> 
> I have modified configure.in to workaround an autoconf bug (it can't handle
> an AC_CHECK_HEADER nested within an AC_CHECK_LIB)... the changes made are
> attached in case you really need to see them; but otherwise I have left it
> alone.
> 
> I ran autogen.sh with various options and variable definitions (shown
> later), and it created and successfully ran configure.
> 
> I then attempted to make GTK+ and it consistently fails here (which is very
> early in the make process):
> 
>   make[4]: Entering directory `/users/awcolley/oscvs/gtk+/gdk-pixbuf/pixops'
>   /bin/sh ../../libtool --mode=compile @AS@  @ASFLAGS@ -c -o have_mmx.lo
> `test -f have_mmx.S || echo './'`have_mmx.S
>   libtool: compile: unable to infer tagged configuration
>   libtool: compile: specify a tag with `--tag'
> 
> The obvious problem is that configure does NOT replace the @AS@ and
> @ASFLAGS@ tags in the Makefile; the obvious question is WHY? and the most
> important question is HOW TO I MAKE IT DO THAT?
> 
> Or, at least, what should I hand-code into the Makefile(s) for @AS@ and
> @ASFLAGS@ as a workaround?
> 
> By the way, there are several @ tags in Makefiles that are not handled by
> configure, here is a list compiled from all the Makefiles within GTK+:

We've not yet switched to automake 1.5 for GTK+. I've
been told that you need to include AM_PROG_AS() or something 
similar to that in the configure.in to get GTK+ to work with
automake 1.5, but don't remember the details.

Regards,
                                        Owen




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