Re: Problems building CVS libbonobo with jhbuild
"Gustavo J. A. M. Carneiro" <[email protected]> Tue, 27 Jul 2004 16:49:55 +0100
| Newsgroups | gmane.comp.gnome.components |
|---|---|
| Organization | INESC Porto |
| Message-ID | <[email protected]> |
A Ter, 2004-07-27 =E0s 16:45, Keith Sharp escreveu: > On Tue, 2004-07-27 at 16:16 +0100, Gustavo J. A. M. Carneiro wrote: > > A Ter, 2004-07-27 =E0s 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 =E0s 15:37, Keith Sharp escreveu: > > > > > Hello, > > > > >=20 > > > > > I am trying to build libbonobo from CVS using jhbuild. I am ru= nning > > > > > into the following error, which I have no idea how to fix: > > > > >=20 > > > > > make[2]: Entering directory `/misc/gnome/build/libbonobo/activa= tion-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-parse= r.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-parse= r.c || touch activation-context-query-parser.c > > > > > make[2]: *** No rule to make target `Bonobo_CosNaming_NamingCon= text.server', needed by `all'. Stop. > > > > > make[2]: Leaving directory `/misc/gnome/build/libbonobo/activat= ion-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 modu= le *** [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 p= roperly > > > > installed? Also, Bonobo_CosNaming_NamingContext.server.in is gen= erated > > > > from Bonobo_CosNaming_NamingContext.server.in.in by configure, so= if you > > > > don't have that either you should try re-running configure. > > >=20 > > > I am not getting a Bonobo_CosNaming_NamingContext.server.in generat= ed in > > > libbonobo/activation-server/. I looked at configure.in and I had > > > expected to see this Bonobo_CosNaming_NamingContext.server.in liste= d in > > > the AC_OUTPUT section but I don't. > >=20 > > I'm sorry. My mistake. Bonobo_CosNaming_NamingContext.server.in i= s > > 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 $< $@ >=20 > 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 las= t > stable release from source (2.6.2). I downloaded the source, ran > "jhbuild shell", and then did a ./configure && make - built first time. >=20 > 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 translation= s > in configure.in there is no difference between the versions. In that case, the difference must be somewhere in your autotools. You could try 'jhbuild bootstrap' to install the recommended auto* tools. Regards. --=20 Gustavo Jo=E3o Alves Marques Carneiro <[email protected]> <[email protected]> The universe is always one step beyond logic.