Anyone successfully build freeWRL on 12.04 Precise Pangolin?

Asked by jrminter

I would like to build freeWRL on Ubuntu 12.04 Precise Pangolin.

The configure fails looking for a javascript engine.

The example I found here http://freewrl.sourceforge.net/ubuntu_src.html for 10.10 uses xulrunner-1.9.2-dev which does not exist on 12.04.

Any suggestions???

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu xulrunner Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you contact the developers and let them know

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2

I have some suggestions, but it will only get you to the make stage, NOT the make install stage. The compile process does not fully work yet for me either. A large part of the source code gets compiled during the make stage, but not ALL of it :-(

I suggest following these compilation instructions instead , which can be reused in Ubuntu 12.04 beta:

http://stuff.mit.edu/afs/athena/software/freewrl_v1.22.5/src/freewrl-1.22.5/doc/building.html

Please follow ALL the instructions in the section called "Building freewrl with Spidermonkey"

You will need to edit the file spidermonkey.pc in the freewrl source directory, and change the prefix path (the first line of this file) to match your system. So the prefix path in spidermonkey.pc should become /usr (and NOT /opt/local) for Ubuntu 12.04 beta systems.

I first installed the following Spidermonkey javascript engine packages:

$ aptitude search mozjs
[sudo] password: -
i A libmozjs185-1.0 - Spidermonkey javascript engine
i libmozjs185-dev - Spidermonkey javascript library - development headers
~/freewrl-1.22.12-pre1$

Also install this package: libgjs-dev

You will also need to edit the configure.ac file, as indicated in the section "Building freewrl with Spidermonkey"

Then you can run the following commands:

make clean

./configure

make

The make process will get very far, but still end up with the following error :-(

/usr/bin/ld.bfd.real: cannot find -ljs
collect2: ld returned 1 exit status
make[3]: *** [libFreeWRL.la] Error 1
make[3]: Leaving directory `/home/ulysses/freewrl-1.22.12-pre1/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ulysses/freewrl-1.22.12-pre1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ulysses/freewrl-1.22.12-pre1'
make: *** [all] Error 2

The developers will need to help us get to the finish line.....

Can you help with this problem?

Provide an answer of your own, or ask jrminter for more information if necessary.

To post a message you must log in.