“Frida-1” installation instruction.
This page contains for the moment installation instructions for FRIDA-1 on a Linux PC. The installation procedure depends on whether you need to compile the program or you have an already compiled version which you just want to port to another computer. If the latter is the case, skip the first section and start directly with the Installation.
In the following, it assumed that you have root access and want to install Frida-1 in the directory
If you do not have root access or do not want to use that directory for other reasons, you can easily replace the path with the one according to your preferences. The following has to hold:
Attention: commercial (= pay a lot) libraries (NAG) and compiler (Absoft) are needed to compile (not to run the compiled) Frida-1. If an Absoft compiler is not available for you, you may ask for an executable by writing an email to floriank at chalmers.se.
tar -zxvf frida-1-0.tgz
This will unpack the data in a new directory FRIDA1. Do it in a place where you want to compile the program (this does not need to be the place from where you want to run it later on). The subdirectory for/num/ contains numerical tables for fitting.
! search for the setup file : CALL ExeML ('\i ida.su', aus) IF (aus(1:4).ne.'\i +') CALL ExeML ('\i ../ida.su', aus) IF (aus(1:4).ne.'\i +') CALL ExeML ('\i ../../ida.su', aus) IF (aus(1:4).ne.'\i +') CALL ExeML ('\i ~/ida.su', aus) IF (aus(1:4).ne.'\i +') CALL ExeML ('\i /opt/ida/ida.su', * aus)
When launched in some directory, Frida-1 will look in this very directory for an (frida1.su|ida.su), then in the parent directory, then in the grandparents' directory, then in your home, and finally in /opt/ida/ . The first one it finds will be used.
make -f Makefile
in the source directory
> ls /opt/ida/ frida1 g2.ps g3.ps g4.ps Ida.hlp ida.su wups05a.ps wups97a.ps
Except the file frida1 which is in the subdirectory exa, all files are directly in the directory you compiled Frida-1 in.
% ida default setup in ida.su \p dir-hlp /opt/ida \p fil-gra-def.ps /opt/ida/g3.ps \p fil-gra-ful.ps /opt/ida/g2.ps \p fil-gra-app.ps /opt/ida/g4.ps \p dir-num /opt/ida/for/num/
In case you want to install Frida-1 in another directory or left it in the directory structure it compiled in, simply adjust the paths. You are somewhat limited in the choice of directory for the (frida1.su|ida.su) as it has to be in a place specified in the i00.f file (see above). However, the other files can be placed at discretion as long as the correct path is given in the (frida1.su|ida.su).
in a shell. The directory you launch it from will be the directory in which Frida-1 looks for the data and saves the files, images, etc.
in the xterm
Could not load setup file ida.su
appears, the (frida1.su|ida.su) is not in a directory specified in your i00.f. Please check the directories listed there and place the (frida1.su|ida.su) accordingly.
There are two ways of doing so which both require bash installed on your system: The first one requires write access to the directory /usr/local/bin/ , the second doesn't but can sometimes be a bit cumbersome (and has to be adjusted if your standard shell is not bash).
#! /usr/bin/env bash xterm -title 'Frida-1 Linux Version' -sb -sl 5000 -bg white -fg black -cr chartreuse -fn 8x13 -g 80x58+0+0 -e /opt/ida/exa/ida &
and make it executable
it is possible to define an alias in the .bashrc file in your home directory which will be read when a new terminal is started. To do so, open the .bashrc in a text editor and add the following line at the end (or create the file if it didn't exist before):
alias frida-1="xterm -title 'Frida-1 Linux Version' -sb -sl 5000 -bg white -fg black -cr chartreuse -fn 8x13 -g 82x27+2+358 -e /opt/ida/exa/ida &"
Close the terminal and start a new one.