2.1 Install Meganizer-Packages
To install Meganizer, you must add the repository to your sources (s. next paragraph or tab. 2.1). To do so, go to http://ftp.engsas.de/stable and choose *.list file (deb based) or *.repo file (rpm based) for your distribution. Afterwards you can install Meganizer with help of your favorit package management system (like aptitude or yum). If you already have an database installed, you can go to 2.2.1. Ohterwise go on with 2.3.
PackageKit is used by some distributions (like Ubuntu) to install software. To add a repostiry, start PackageKit from the program menu of your desktop system (like KDE-Menu -> System -> Add / Remove Software). In PackageKit, choose Settings and Edit Software Sources (s. Fig. 2.1). There open the Other Software tab and click on Add (s. Fig. 2.1). In the upcoming dialog, type in the url to our repository. It starts with deb for Debian repositories followed by the url. The next part is the version number of your distribution (Ubuntu Lucid is 10.04 and Maverick is 10.10). The last part is the repository type, which is contrib in our case.
Mac platform is not supported with packages right now. But Meganizer should run on Mac OS. So you must compile it from source (s. 2.1.4).
Download the windows installer from http://ftp.engsas.de/stable/win/Meganizer-0.3.2-win32.exe, execute it and follow the instructions.
If you do not want to setup an MySQL-Server on that machine, do not activate Download and install MySQL-Server and read on at 2.3 after closing the installer. Otherwise choose Download and install MySQL-Server like Fig. 2.3 shows. After clicking on Next, the download will start. This may take a while, since about 40MB must be downloaded. If the download has finished, the setup starts automatically. Please follow it’s instructions than. At the last page make sure Configure Now is activated like shown in Fig. 2.4. At the upcoming dialog choose the standard configuration (s. Fig. 2.5). This makes sure, that the MySQL-Server is started as a daemon in background everytime you start windows. It is also important to remind the password of the root user.
If you’ve finished that part, please finish the setup of Meganizer. At the last page, you can choose, wether Meganizer should be started afterwards automatically. To open the online documentation, choose Show Readme also. The next step is the configuration of Meganizer, which is described at 2.3. There you can also choose to create a new database and a user.
2.1.4 Building from Sources
Download source package from http://ftp.engsas.de/stable/src und unpack it. Afterwards you can look at the depencencies.xml in the subdirectories of src to know which software is needed to build Meganizer. If you have installed all dependencies and switched to the unpacked sources, you can build and install Meganizer with
cmake -DBUILD_PACKAGE=ON -DWITH_ALL_PLUGINS=ON \
Qt 4 with MinGW from http://qt.nokia.com/downloads
OpenSSL from http://www.slproweb.com/products/Win32OpenSSL.html
QCA2-src Package for MinGW from https://sourceforge.net/projects/kde-windows/files/qca
Edit qca\cmake\modules\FindOpenSSL.cmake and comment out the line
so that it looks like
Further on, make sure that the MinGW\bin directory within your Qt installation and Qt itself is listed in your path variable. To do so, click right on Workspace and choose Properties. Afterwards you can edit the environment variables at the tab Advanced (s. Fig. 2.6).
Configure QCA with CMake and make sure, that you configured QCA with CMAKE_BUILD_TYPE set to Release, if you want to build Meganizer with BUILD_DEBUG=Off (like recommended). After that you can build and install QCA with mingw32-make install. After installing, jump into the installed qca directory (Standard: c:\Programme\QCA\bin) and execute
and you should see the following lines:
This product includes cryptographic software written by Eric Young
The next step is to build the mysql plugin for Qt.
The last step is to configure Meganizer with CMake and build it with mingw32-make install.