Compile kohoan


(A) build imlib2 library
%cd imlib2-1.1.X
%./configure --prefix=(install-dir)
%make install
if your system already installed imlib2 , not compiling imlib2 this time. But you need suitable kohoan configure option and edit some startup script after kohoan system installed.
(b) build tcl library
%cd tcl8.4.X/unix
%./configure --prefix=(install-dir) --enable-gcc
%make install
if your system already installed tcl , not compaile tcl this time. But you need suitable kohoan configure option and edit some startup script after kohoan system installed.
(c) build tk library
%cd tk8.4.X/unix
%./configure --prefix=(install-dir) --enable-gcc --with-x --with-tcl=../../tcl8.4.X/unix
%make install
if your system already installed tk , not compaile tk this time. But you need suitable kohoan configure option and edit some startup script after kohoan system installed.
(d) build kohoan
%./configure --prefix=(install-dir)
%make
%make install
if you want to using video texutre
%./configure --prefix=(install-dir) --enable-videotexture
if you want to using Cg library
%./configure --prefix=(install-dir) --enable-cgshader
if you not install imlib2 and tcl/tk at kohoan (install-dir),
configure option needs:
--with-imlib2=DIR:
--with-tcltk=DIR:

example
you have /usr/local/imlib2/bin/imlib2-config
please type --with-imlib2=/usr/local/imlib2
you have /usr/local/tcltk/include/tcl.h and /usr/local/tcltk/include/tk.h
please type --with-tcltk=/usr/local/tcltk
(e) congraturations !
kohoan system installed (install-dir) directory




[kohoan]