gsl-shell-info
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsl-shell-info] Building and Installing from Source on Ubunut 12.04


From: Martin Felis
Subject: [Gsl-shell-info] Building and Installing from Source on Ubunut 12.04
Date: Mon, 12 Aug 2013 12:11:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

Hi there,

just stumbled over gsl-shell and instantly got curious about it and
dearly hope to make good use of this fine composition of software!

When trying to build it under Ubuntu 12.04 I ran into a few bumps that
I'd like to share and how to resolve them. Some of the things are
already hinted in INSTALL, however it lacked the setting of the LUA_PATH
which resulted in the error:

gsl-shell: module 'gslext' not found:
        no field package.preload['gslext']

First of all you need the following packages installed to make the
compilation work:

libagg-dev
libgsl0-dev
libreadline-dev
libfreetype6-dev

If you want to install it other than the default /usr/local you have to
edit the file makeconfig and set your desired path in the variable PREFIX.

After running a successful "make" and "make install" the files are
installed. To be able for gsl-shell to find your scripts you have to add
paths to the LUA_PATH environment variable. These are the following:

LUA_PATH="$LUA_PATH;/usr/local/share/gsl-shell/2.3/?.lua;/usr/local/share/gsl-shell/2.3/templates/?.lua.in;/usr/local/share/gsl-shell/2.3/demos/?.lua;/usr/local/share/gsl-shell/2.3/help/?.lua;/usr/local/share/gsl-shell/2.3/pre3d/?.lua"

If you are using another prefix than "/usr/local/" you have to adjust
the above expression accordingly.

After this you should be able to run gsl-shell from your favourite
terminal emulator.

Cheers,
Martin

-- 
mail  : address@hidden
phone : +49 6221 544983
office: IWR | Speyerer Str 6 | Room 319 | 69115 Heidelberg | Germany



reply via email to

[Prev in Thread] Current Thread [Next in Thread]