Re: Problems building CVS libbonobo with jhbuild
Keith Sharp <[email protected]> Tue, 27 Jul 2004 16:45:18 +0100
| Newsgroups | gmane.comp.gnome.components |
|---|---|
| Organization | Passback IT Consultancy |
| Message-ID | <1090943118.28190.13.camel@animal> |
On Tue, 2004-07-27 at 16:16 +0100, Gustavo J. A. M. Carneiro wrote: > A Ter, 2004-07-27 =C3=A0s 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 =C3=A0s 15:37, Keith Sharp escreveu: > > > > Hello, > > > >=20 > > > > I am trying to build libbonobo from CVS using jhbuild. I am runn= ing > > > > into the following error, which I have no idea how to fix: > > > >=20 > > > > make[2]: Entering directory `/misc/gnome/build/libbonobo/activati= on-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-qu= ery-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_NamingConte= xt.server', needed by `all'. Stop. > > > > make[2]: Leaving directory `/misc/gnome/build/libbonobo/activatio= n-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] > > >=20 > > > It is intltool that takes care of generating > > > Bonobo_CosNaming_NamingContext.server from > > > Bonobo_CosNaming_NamingContext.server.in. Do you have intltool pro= perly > > > installed? Also, Bonobo_CosNaming_NamingContext.server.in is gener= ated > > > from Bonobo_CosNaming_NamingContext.server.in.in by configure, so i= f you > > > don't have that either you should try re-running configure. > >=20 > > 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. >=20 > 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: >=20 > ------------------------ > serverinfodir=3D$(libdir)/bonobo/servers > $(server_in_file): $(server_in_file).in > sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@ > server_in_file =3D Bonobo_CosNaming_NamingContext.server.in > serverinfo_DATA =3D $(server_in_file:.server.in=3D.server) >=20 > @INTLTOOL_SERVER_RULE@ > ------------------------ >=20 > The intltool rule should expand to something like: >=20 > %.server: %.server.in $(INTLTOOL_MERGE) $(wildcard > $(top_srcdir)/po/*.po) ; LC_ALL=3DC $(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.