Re: Problems building CVS libbonobo with jhbuild

"Gustavo J. A. M. Carneiro" <[email protected]> Tue, 27 Jul 2004 16:16:21 +0100
Newsgroups gmane.comp.gnome.components
Organization INESC Porto
Message-ID <[email protected]>
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 runnin=
g
> > > into the following error, which I have no idea how to fix:
> > >=20
> > > 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-quer=
y-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]
> >=20
> >   It is intltool that takes care of generating
> > Bonobo_CosNaming_NamingContext.server from
> > Bonobo_CosNaming_NamingContext.server.in.  Do you have intltool prope=
rly
> > installed?  Also, Bonobo_CosNaming_NamingContext.server.in is generat=
ed
> > 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 generated i=
n
> 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=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)

@INTLTOOL_SERVER_RULE@
------------------------

The intltool rule should expand to something like:

%.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 $< $@


  Not sure if any of this helps...

--=20
Gustavo Jo=E3o Alves Marques Carneiro
<[email protected]> <[email protected]>
The universe is always one step beyond logic.