QOCA is also available by anonymous CVS.
Note that to build the CVS sources, you will need:
export CVSROOT=:pserver:email@example.com:/home/cvsroot cvs login # Password is ‘anonymous’. cvs co ch2xx cvs co qoca
Install GNU m4, autoconf, automake, and libtool, if you have not already done so. If you need ch2xx (see above), then install help2man and perl version 5.6 or later.
Versions of libtool prior to about 1.4d (released 2002) have a bug in not allowing ‘.ii’ (or ‘.i’) files. To fix this (if you don’t want to upgrade your libtool), edit /usr/share/libtool/ltmain.sh as root. Search for ‘=cc’. Duplicate that line, and replace ‘cc’ with ‘ii’ in both occurences in the new line. (Optionally also insert ‘i’ into the ‘[cCFSfmso]’ string a few lines up; though qoca doesn’t use ‘.i’ files.)
If you need ch2xx (see above), then install it before configuring qoca. Run ‘./autogen.sh’ in the ch2xx directory, and then follow the instructions of the standard INSTALL file it creates.
If you use ‘--prefix=prefix’ when configuring ch2xx, then ‘prefix/bin’ must be in your $PATH when you configure qoca.
Now for installing qoca. Run ‘./autogen.sh’ in the qoca directory. Read the generic INSTALL file that autogen.sh creates if you aren’t already familiar with it. To reduce build time, consider using some of --disable-cxx (especially if you don’t have ch2xx), --disable-java, --disable-static, --disable-shared. If runtime speed is important at the cost of safety checking, then have CPPFLAGS=-DNDEBUG in your environment when you run Qoca’s configure script, to disable runtime assertion checking. (Currently disables all checks, including disabling checking arguments given to libqoca routines from user code. If you want finer-grained control, edit cxx/qoca/QcDefines.hh.)