Installation |
% cd the directory you want to install kinoko % gunzip kinoko.tar.tz % tar xvf kinoko.tar
A new directory kinoko will be created.
% cd kinoko/src % ./configure-for LINUX-FULL
'configure-for' is a shell script that executes configure with sets parameters, such as compiler options, according to its argument prior to executing the script. If the argument is set as LINUX-FULL, it will configure the source using a g++ compiler so that all usable libraries will be availabe. If you do not want to use them, you will need to modify the argument to LINUX or LINUX-MIN. This will reduce the number of libraries available for use. Try configuring with these arguments if an compiling error occurs.
The current configuration option definitions are the following:
Optional second arguments can be passed to the compiler as well like the following.
Name Compiler Compiler Option Libraries LINUX g++ -Wall zlib, readline, ROOT LINUX-FULL g++ -Wall Every library available LINUX-MIN g++ None None AIX xlC None zlib, readline, ROOT AIX-GCC g++ None zlib, readline, ROOT
% ./configure-for LINUX-FULL "-g -O2"
Instead of using configure-for, you can manually set parameters and use configure directly. (The following is a csh/tcsh example)
*The first line will become export CXX="g++" in a BASH shell.% setenv CXX "g++" % setenv CPPFLAGS "" % setenv CXXFLAGS "-Wall -g" % setenv MAKE "gmake" % ./configure --without-readline --with-PostgreSQL
% make
If compilation is successful, the following line will be displayed.
Make: successful
The simplified steps to install are shown here. You must remember that proper settings such as jumper settings on the device itself are required too.
% cd kinoko/drv/camdrv/LinuxVerstion-devicename % make % su # make install # exit
The simplified steps to install are shown here. You must remember that proper settings such as jumper settings on the device itself are required too.
% cd kinoko/drv/camdrv/LinuxVerstion-devicename % make % su # make install # exit
If you are using 'tcsh':% cat kinoko-cshrc >> $HOME/.cshrcIf you are using 'bash':$ cat kinoko-bashrc >> $HOME/.bashrc
The following is an example of kinoko-cshrc generated by this process.
### Kinoko Settings ### setenv KINOKO_ROOT /usr/local/kinoko setenv KINOKO_XTERM /usr/X11R6/bin/kterm setenv KINOKO_RSH /usr/bin/ssh setenv KINOKO_CONTROL_PORT_BASE 40000 setenv KINOKO_DATASTREAM_PORT_BASE 42000 setenv KINOKO_SHELL_PORT_BASE 45000 setenv KCOM_PATH ".:${KINOKO_ROOT}/bin" setenv PATH "${PATH}:${KINOKO_ROOT}/bin"