<Robert Osfield wrote:>
Hi Bob,

Where did the sources install the libs and headers?  Do we need to
tweak the CMake FindXUL.cmake?

I installed to a non-standard location as I do my builds in user-space.

It was not a problem at all to manually fill out the cmake variables for libxul, not certain I'm the one to test the FindXUL.cmake bit. Sorry.

For others wishing to follow the same route as I, here's my configure line for the xulrunner build:

% ./configure --prefix=$PREFIX/ --enable-application=xulrunner

This created a $PREFIX/include/xulrunner_1.8.1.16 with the subdirs listed below. Headers were scattered about beneath. Not doing the usual install of this package, I don't know if this is the usual setup for xulrunner.

It took some time, but not too big a project to find and link the needed headers back up into $PREFIX/include/xulrunner-1.8.1.16/

The libraries needed to be linked similarly.

I'm able to fire up the osgbrowser example, but am getting consistent segfaults. I suspect some dependent library is not being found. This is my task for today. I'll reply with more info when I find what's cause the segfaults.

thanks again
-bob

On Wed, Nov 26, 2008 at 12:56 AM, Bob Huebert <[EMAIL PROTECTED]> wrote:
Thank you! Using the Ubuntu repo for the libxul kit was the hint I needed.

I grabbed this:
http://archive.ubuntu.com/ubuntu/pool/universe/x/xulrunner/xulrunner_1.8.1.16+nobinonly.orig.tar.gz

Albeit I built on FC7, I now have a osgdb_gecko.so!

Note that it was necessary to create links from headers in widget, necko,
nkcache, docshell, dom, xpcom, string, xulapp, pref, js, gfx, webbrwsr,
layout, content, locale, and view to the parent directory. I also needed to
link js/jsproto.tbl to the parent as well. I presume this is the result of
building the package instead of using Ubuntu's install method.

best regards,
bob

Date: Tue, 25 Nov 2008 19:59:51 +0000
From: "Robert Osfield" <[EMAIL PROTECTED]>
Subject: Re: [osg-users] OSG_GECKO (xulrunner headers)
To: "OpenSceneGraph Users" <[email protected]>
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Hi Bob,
I just pulled down libxul and associated dev package from the Ubuntu
repositories.  It worked just fine under Kubuntu 7.10 and 8.10.

Robert.


________________________________________________________________________
Bob Huebert                                 email: [EMAIL PROTECTED]
Visualization Systems Analyst               voice: (907) 450-8638
Arctic Region Supercomputing Center           FAX: (907) 450-8601
University of Alaska Fairbanks                WWW: http://www.arsc.edu/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to