[dev] Help getting started building with ooobuild

2008-07-24 Thread Dan Kegel
I'm trying to use ooobuild, but am stuck at

checking for libxul-xpcom ... Package libxul-xpcom was not found in
the pkg-config search path. Perhaps you should add the directory
containing `libxul-xpcom.pc' to the PKG_CONFIG_PATH environment
variable No package 'libxul-xpcom' found
configure: error: Library requirements (libxul-xpcom ) not met;
consider adjusting the PKG_CONFIG_PATH environment variable if your
libraries are in a nonstandard prefix so pkg-config can find them.

This is for Ubuntu Hardy.

I'm building up a script to install the dependencies:
http://kegel.com/ooobuild-dep-hardy.sh
but libxul-xpcom doesn't even show up in a google search.
Any suggestions?

Thanks,
Dan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Help getting started building with ooobuild

2008-07-24 Thread Caolan McNamara
On Wed, 2008-07-23 at 22:22 -0700, Dan Kegel wrote:
 I'm trying to use ooobuild, but am stuck at
 
 checking for libxul-xpcom ... Package libxul-xpcom was not found in
 the pkg-config search path. 

It probably tries that because of something like...

if $PKG_CONFIG --exists libxul ; then
  .. do good stuff ..
else
  PKG_CHECK_MODULES( MOZILLAXPCOM, $MOZ_FLAVOUR-xpcom )
  .. where your error comes from ..

So more than likely, if you're at the leading edge of
mozilla/firefox/xulrunner land, then you need the package that
provides /usr/lib/pkgconfig/libxul.pc, e.g. a xulrunner development
package

Otherwise, if you're not at the leading edge of moz land, then
--with-system-mozilla=xulrunner or =firefox

C.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]