Help getting started building with ooobuild

View: New views
3 Messages — Rating Filter:   Alert me  

Help getting started building with ooobuild

by Dan Kegel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Help getting started building with ooobuild

by Caolan McNamara :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Help getting started building with ooobuild

by Dan Kegel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 23, 2008 at 10:22 PM, Dan Kegel <dank@...> 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. Perhaps you should add the directory
> containing `libxul-xpcom.pc' to the PKG_CONFIG_PATH environment
> variable No package 'libxul-xpcom' found

Aha.  Turns out a probably workaround is to pass
--with-system-mozilla=xulrunner
when configuring ooobuild.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...