Re: Building errors



George <jirka@5z.com> writes:
> Quoting Miguel de Icaza (miguel@nuclecu.unam.mx):
> > > gnome/obgnome: libtool complains that obgnome depends on uninstalled obgtk.
> > 
> > I do not know how to fix this.  If anyone has any idea on how this can
> > be fixed, please, let me know.

Simplest is to comment out the reference to libobgtk.la in
libobgnome_la_LIBADD (and make sure that libobgtk.la appears in the
_LDADD of any program that is linked against libobgnome.la).

> > > gnome/programs/genius: bison requires option -d to build y.tab.h, which is
> > > 			  needed for parser.h, which is needed for lexer.l.
> > > 			  genius requires -lintl.
> > > 			  geniustest requires -lintl.
> > 
> > Same for this one.  I was not able to figure out how to fix the
> > Makefile.am to do this for us.  Someone with more experience with
> > automake may help me here.
> 
> if you mean the -d option ... I think automake has different variables
> for YACCFLAGS or whatever it is called ... for example this works on my
> system with automake 1.2c
> 
> a temporary fix that should work on any automake but is a bit ugly would
> be to do it the way I did it originally ... but this is not "the right
> way to do this(tm)"
> 
> YACC += -d

YACCFLAGS was renamed to YFLAGS in automake 1.2d.  So, having both lines

	YACCFLAGS += -d
	YFLAGS += -d

should work for any recent automake.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



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