Dim3 on Linux

scons: Reading SConscript files …
scons: done reading SConscript files.
scons: Building targets …
gcc -o “Dim3 Engine” -lSDL -lGLEW -lGL -lGLU -lX11 -lopenal -ljs -lpng
/usr/bin/ld: cannot find -ljs
collect2: ld returned 1 exit status
scons: *** [Dim3 Engine] Error 1
scons: building terminated because of errors.

Am I missing something ? I’ve installed the mozilla java script lib…

Julien

Where is libjs.so? Did you try setting your LIBPATH key in the
Environment dictionary to this location? I.e,

env.AppendUnique(LIBPATH = [’/path/to/libjsdir’])

Regards,

Johnathan GurleyOn Thu, Jun 25, 2009 at 8:51 AM, julien CLEMENT wrote:

scons: Reading SConscript files …
scons: done reading SConscript files.
scons: Building targets …
gcc -o “Dim3 Engine” -lSDL -lGLEW -lGL -lGLU -lX11 -lopenal -ljs -lpng
/usr/bin/ld: cannot find -ljs
collect2: ld returned 1 exit status
scons: *** [Dim3 Engine] Error 1
scons: building terminated because of errors.

Am I missing something ? I’ve installed the mozilla java script lib…

Julien


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

julien CLEMENT wrote:

scons: Reading SConscript files …
scons: done reading SConscript files.
scons: Building targets …
gcc -o “Dim3 Engine” -lSDL -lGLEW -lGL -lGLU -lX11 -lopenal -ljs -lpng
/usr/bin/ld: cannot find -ljs
collect2: ld returned 1 exit status
scons: *** [Dim3 Engine] Error 1
scons: building terminated because of errors.

Am I missing something ? I’ve installed the mozilla java script lib…

Julien, let’s talk about this off list. All I maintain is the OS X and win32 port; somebody, a long time ago, made a linux port (it’s really close to the OS X version, obviously). Right now I’m heading towards v3 with some big changes, and that port is way out of date. There’s a couple stubs that would need to be filled in (one or two small utility routines.)

If it’s something you’d like to take up, I’d love to get your contributions to refill out the linux version.

[>] Brian