Running GLOW on Unix

From GLOW Visualization
Revision as of 14:51, 6 April 2010 by Walter (talk | contribs) (→‎Mac OS X)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page provides some extra hints for users who run GLOW on Unix systems. Since we cannot provide automatic installers for these platforms at this moment, the installation process is mostly manual.

For instance, the user must copy the JOGL libraries to the filesystem. However, the system's linker must be informed of their location, in order to locate these libraries at run time.

Solutions that do not involve changing the system permanently are:

Linux or FreeBSD

Create a text file called Protege.sh with the following contents, to start up Protege with a linker hint to point to the JOGL installed directory. (Please change the paths to your actual install location of JOGL libs and Protege binary)

#!/bin/sh

LD_LIBRARY_PATH=/usr/local/jogl/lib
export LD_LIBRARY_PATH

/usr/local/protege/protege &

Finally, make the text file executable by running in a shell:

> chmod a+x Protege.sh
> ./Protege.sh

Mac OS X

Create a text file called Protege.sh with the following contents, to start up Protege with a linker hint to point to the JOGL installed directory. (Please change the paths to your actual install location of JOGL and Protege)

#!/bin/sh

DYLD_LIBRARY_PATH=/Applications/JOGL/lib
export DYLD_LIBRARY_PATH

open /Applications/Protege/Protege.app &

Finally, make the text file executable by running in a shell:

> chmod a+x Protege.sh
> ./Protege.sh