Looktxt Installation

Unix/MacOS

Requirements: Linux/Unix system, C compiler
if you have super user permissions
# ./configure; make; sudo make install
this will install looktxt executable in e.g. /usr/local/bin
if you do NOT have super user permissions
# ./configure --prefix=$HOME; make; make install
this will install looktxt executable in e.g. $HOME/bin

Windows

Requirements: Windows system, C compiler, administrator permissions
we recommend Dec-Cpp as C compiler (MinGW/GCC)

Execute the install.bat script
this will install looktxt executable in e.g. C:\looktxt

you may manually compile looktxt with e.g.
c:\dev-cpp\bin\gcc.exe -O2 -o looktxt.exe looktxt.c

Matlab

Requirements: Executable must have been installed
>> addpath('C:\looktxt') % Windows systems
or
>> addpath('/usr/local/lib/looktxt') % Linux/MacOSX systems (super user install)
or
>> addpath([ getenv('HOME') '/lib/looktxt' ]) % Linux/MacOSX systems (user install)

Manual compilation:

cc -O2 looktxt.c -o looktxt

Pre-built binaries

Executables in directory 'binaries' are given for
These executables may be put manually in your /usr/local/bin or MATLABROOT/bin directory. Thanks for using Looktxt



ILL neutrons for scienceE. Farhi - Nov 2007 - ILL/DS/CS