Saturday, June 22, 2013

Getting ITSOL to work

At the moment I'm writing an interface for GNU/Octave, to make use of the ITSOL library. This post should be a collection of information how to get this library on your machine.
As far as I figured out, there are is only an outdated package maintained in the Debian repository for ITSOL, so one has to build the library and copy the necessary files to the file system.

Build the ITSOL-library from source

  1. Get the source tar-archive
  2. Extract the archive: tar -xvf ITSOL_2.tar.gz
  3. Get my patch
  4. Apply the patch to the extracted archive:
    • cd ITSOL_2
    • patch -p1 < itsol.patch
  5. Build the library using: make
    • Now the shared and static library are created in ITSOL_2/LIB
  6. Copy the header files from ITSOL_2/INC to /usr/include/itsol (root rights may be required)
  7. Copy the two libraries from ITSOL_2/LIB to /usr/lib
  8. Make symbolic links
    • ln -s libitsol.so.1.0.0 libitsol.so.1
    • ln -s libitsol.so.1 libitsol.so

Hint for steps 6+7: If you choose a custom location, you can build Octave later using the configure options:
  • --with-itsol-includedir=DIR
  • --with-itsol-libdir=DIR
See configure --help for details

Linux

  • Debian/Ubuntu: sudo apt-get install libitsol1 libitsol-dev (outdated)
  • openSuse: ??
  • fedora: ??
  • ... : ??

Windows

  • MinGW: ??
  • Cygwin: ??

Mac

  • ??

No comments:

Post a Comment