Installing Vidalia 0.0.x-versions from Source

The following directions are for building and installing Vidalia versions 0.0.x (x standing for some any number) from either the source tarball from our previous versions archive page.
If you want to install the latest release from source then please read InstallSource.

  1. Linux/BSD/Unix
    1. General
    2. Debian etch
    3. Debian sid
    4. Fedora Core 5
    5. Mandriva 2007 (tested on x86_64 and x86_32)
    6. Ubuntu/Kubuntu/Xubuntu (tested on 6.06 and 7.04)
  2. Windows
  3. OS X

Linux/BSD/Unix

General

  1. Make sure you have Qt 4.1 or later and Tor 0.1.2.x or later installed.
  2. Untar Vidalia's source tarball with tar -zxf vidalia-version-you-downloaded.tar.gz
  3. Run ./configure && make from the location of Vidalia's source.
  4. When the previous command finishes, Vidalia's binary will be placed in the root directory of the location of Vidalia's source.
  5. Optionally, you can run make install to install Vidalia into your /usr/local/bin/ directory.

Note: If you get linker errors like bin/ld: cannot find -lQtGui_debug, then you will need to replace the ./configure command in Step 3 with ./configure --disable-debug to avoid linking against the debug versions of Qt's libraries.

Debian etch

Type update-alternatives --set qmake /usr/bin/qmake-qt4 before running ./configure in Step 3 above.

Debian sid

Type export QMAKE=/usr/bin/qmake-qt4 before running ./configure in Step 3 above.

Fedora Core 5

FC5 requires qmake4 instead of qmake. You find this command in the qt4-devel package. Type export QMAKE=/usr/bin/qmake4 before running ./configure in Step 3 above. On an updated FC5, the command is export QMAKE=/usr/bin/qmake-qt4 instead of export QMAKE=/usr/bin/qmake4.

Mandriva 2007 (tested on x86_64 and x86_32)

  1. You will need the packages from urpmi called qt4-devel which install needed qt4 packages.
  2. Type export QMAKE=/usr/lib/qt4/bin/qmake before running ./configure in Step 3 above.
  3. For easy launch, run make install as root to install Vidalia into your /usr/local/bin/ directory (su - then cd /path/to/vidalia/install-source/, then make install ).

Ubuntu/Kubuntu/Xubuntu (tested on 6.06 and 7.04)

  1. You will need the packages from Synaptic/Adept called qt4-dev-tools and qt4-designer. You may still need to use the above mentioned ./configure --disable-debug.
  2. Type export QMAKE=/usr/bin/qmake-qt4 before running ./configure in Step 3 above.
  3. To use make install you may also need to add sudo in front of it.

Windows

  1. Make sure you have Qt 4.1 or later and Tor 0.1.1.15 or later installed.
  2. Untar Vidalia's source tarball with your favorite file archiver, such as WinZip or 7-Zip
  3. Run lrelease Vidalia.pro from the location of Vidalia's source.
  4. Run qmake
  5. Run mingw32-make
  6. When the previous command finishes, Vidalia's binary will be placed in either the release/ or debug/ subdirectory under the location of Vidalia's source, depending on whether or not you have Qt's debug libraries. If you simply used the executable Win32 Qt installer, you most likely do not have the Qt debug libraries.

Note: If you get linker errors like bin/ld: cannot find -lQtGui_debug, then you will need to replace the qmake command in Step 3 with qmake -config release to avoid linking against the debug versions of Qt's libraries.

OS X

These instructions use qmake and xcodebuild. So make sure to have Xcode.

  1. Grab the qt-mac-opensource dmg and make sure to have Tor installed.
  2. Get the Vidalia source (svn or the archive page).
  3. Run lrelease Vidalia.pro
  4. Run qmake
  5. Run xcodebuild USE_HEADERMAP=0
  6. Vidalia.app will reside in build/Debug/Vidalia.app or build/Default/Vidalia.app depending on whether a debug build was enabled or not.