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
'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.
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 GTK, SQLDB, ROOT, ... LINUX-MIN g++ None GTK OSX g++ -m32 -Wall GTK-OSX, ROOT AIX xlC -Wl,-bbigtoc None AIX64 xlC -Wl,-bbigtoc None AIX-GCC g++ None None CCNET g++ None camlib for CCNET
% ./configure-for LINUX "-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"