Re: Problems building CVS libbonobo with jhbuild



On Tue, 2004-07-27 at 16:16 +0100, Gustavo J. A. M. Carneiro wrote:
> A Ter, 2004-07-27 �15:56, Keith Sharp escreveu:
> > On Tue, 2004-07-27 at 15:47 +0100, Gustavo J. A. M. Carneiro wrote:
> > > A Ter, 2004-07-27 �15:37, Keith Sharp escreveu:
> > > > Hello,
> > > > 
> > > > I am trying to build libbonobo from CVS using jhbuild.  I am running
> > > > into the following error, which I have no idea how to fix:
> > > > 
> > > > make[2]: Entering directory `/misc/gnome/build/libbonobo/activation-server'
> > > > bison -y -d -v ./activation-context-query-parser.y
> > > > rm -f y.output
> > > > touch stamp-parser
> > > > test -f y.tab.h && mv -f y.tab.h activation-context-query-parser.h || touch activation-context-query-parser.h
> > > > flex -t ./activation-context-query-lexer.l >activation-context-query-lexer.c
> > > > test -f y.tab.c && mv -f y.tab.c activation-context-query-parser.c || touch activation-context-query-parser.c
> > > > make[2]: *** No rule to make target `Bonobo_CosNaming_NamingContext.server', needed by `all'.  Stop.
> > > > make[2]: Leaving directory `/misc/gnome/build/libbonobo/activation-server'
> > > > make[1]: *** [all-recursive] Error 1
> > > > make[1]: Leaving directory `/misc/gnome/build/libbonobo'
> > > > make: *** [all] Error 2
> > > > *** error during stage build of libbonobo: could not build module *** [9/90]
> > > 
> > >   It is intltool that takes care of generating
> > > Bonobo_CosNaming_NamingContext.server from
> > > Bonobo_CosNaming_NamingContext.server.in.  Do you have intltool properly
> > > installed?  Also, Bonobo_CosNaming_NamingContext.server.in is generated
> > > from Bonobo_CosNaming_NamingContext.server.in.in by configure, so if you
> > > don't have that either you should try re-running configure.
> > 
> > I am not getting a Bonobo_CosNaming_NamingContext.server.in generated in
> > libbonobo/activation-server/.  I looked at configure.in and I had
> > expected to see this Bonobo_CosNaming_NamingContext.server.in listed in
> > the AC_OUTPUT section but I don't.
> 
>   I'm sorry.  My mistake.  Bonobo_CosNaming_NamingContext.server.in is
> generated from Bonobo_CosNaming_NamingContext.server.in.in by a rule in
> the makefile:
> 
> ------------------------
> serverinfodir=$(libdir)/bonobo/servers
> $(server_in_file): $(server_in_file).in
> 	sed -e "s|\ LIBEXECDIR\@|$(libexecdir)|" $< > $@
> server_in_file = Bonobo_CosNaming_NamingContext.server.in
> serverinfo_DATA = $(server_in_file:.server.in=.server)
> 
> @INTLTOOL_SERVER_RULE@
> ------------------------
> 
> The intltool rule should expand to something like:
> 
> %.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard
> $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c
> $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@

Ok, I am really confused now!  I checked my different Makefile/.am/.in
files and they have the above.  I then decided to try and build the last
stable release from source (2.6.2).  I downloaded the source, ran
"jhbuild shell", and then did a ./configure && make - built first time.

I then did a diff on configure.in, Makefile.am, and activation-server/
Makefile.am between 2.6.2 and CVS HEAD, aside from some new translations
in configure.in there is no difference between the versions.

I really don't have clue about why this is failing!

Keith.




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