Basic Installation

Requirements

  1. A Linux or FreeBSD compatible operating system.
  2. At least the Qt 3.3.* development library (Qt 4 not yet supported).
  3. At least the Berkeley DB 4.1 database. FreeBSD users are required to use the 4.3 version.
  4. Better to install the binary packages of the Qt and DB that are relevant to your particular operating system.

Installing from source

Binary package users can ignore this advice as this will be done automatically by the package installer.

Ensure that DB is installed properly

If you installed DB at a non-standard location, then edit the "configure" file (e.g. "INCLUDEPATH += /opt/local/include/db4"). Also make sure that you have installed DB properly, e.g. some installations miss symbolic links in the lib directory.

For Linux users:

  1. Check to make sure you have your shell QTDIR environment variable set to point to the location of the root Qt directory. This setting is usually something like this: 'export QTDIR=/usr/lib/qt' or something similar to this. Failure to set this properly will result in make errors.
  2. Unpack the Qtstalker source.
  3. ./configure (this will create the Makefile)
  4. make
  5. make install (as root)
  6. Thats it.

For FreeBSD users:

  1. We have to set a few environment variables first in your shell. Enter this 'export QTDIR=/usr/X11R6' Then enter this 'export QMAKESPEC=/usr/local/share/qt/mkspecs/freebsd-g++' . Failure to set these variables properly will result in make errors.
  2. Unpack the Qtstalker source.
  3. ./configure (this will create the Makefile)
  4. make
  5. make install (as root)
  6. Thats it.

For Macintosh OS X users (Tiger 10.4+):

  1. Get Berkeley DB using Darwinports.org ('sudo port install db4') or Fink.sf.net
  2. Get Qt for Aqua. Trolltech says must be qt-3.3.5 so use 'fink --tree=unstable qt3mac'.
  3. Set your shell QTDIR environment variable to point where you installed Qt.
    e.g. 'export QTDIR=/sw/lib/qt3mac' or something similar. Failure to set this properly will result in make errors.
  4. Unpack the Qtstalker source.
  5. edit the "configure" file to be:
    qmake "DEFINES += QT_NO_COMPAT" "CONFIG += qt" "macx:INCLUDEPATH += /opt/local/include/db4" "macx:LIBS += -L/opt/local/lib" -o Makefile qtstalker.pro
  6. ./configure (this will create the Makefile)
  7. make
  8. sudo make install
  9. To start, type 'open /usr/bin/qtstalker'

Updating a previous version.

If you are updating from a previous source version already installed on your system, it is best that you first uninstall the previous version first before you install the upgraded version. Doing this will better ensure a problem-free upgrade. Many upgrade errors can be caused by old plugins and libraries hanging around complicating things. You can uninstall the old version by doing a 'make uninstall' from the root directory of the old source install.

Using the current development source.

See instructions for using CVS.

Back NextHome