Translate original post with Google Translate
Netglub GUI (also called qng) can be compiled on windows, GNU linux and mac os X distributions, however, you will find here how to install it on linux ones
Step 1 : Prerequisites
The sources are not available yet
Mandatory Dependencies and package needed
To compile Netglub qng, it is necessary to manually install the following packages :
- build-essential
- zlib1g-dev
sudo aptitude install build-essential zlib1g-dev
Step 2 : Qt framework install
Netglub qng depend on Qt framework (version 4.6 at least).
Actually, the latest release of Qt framework is the 4.6.3. The packages available on Ubuntu official repository being too old, two solutions may be used :
First Solution: Install Qt SDK.
You can download the 64bit version of Qt SDK at http://qt.nokia.com/downloads/sdk-linux-x11-64bit-cpp or download it from our local mirror (private link). netglub qng can be used on a 32bit processor too, if you made this choose, you should dowload the Qt SDK 32bit version http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86-opensource-2010.03.bin or dirrectly here (private link)
The SDK take up more disk space than compiling Qt sources, but it contains a inary version of Qt libraries which avoid a complete compile. Furthermore, the compilation is trivial via graphical wizard.
wget http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86_64-opensource-2010.03.bin chmod +x qt-sdk-linux-x86_64-opensource-2010.03.bin ./qt-sdk-linux-x86_64-opensource-2010.03.bin
Second solution : Compiling Qt Sources
This solution, more laborious, is to download the Qt source (“http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src -4.6.3.tar.gz”) and to make yourself compile it
Here is a hint :
sudo aptitude install libxq11-dev libxext-dev tar xf qt-everywhere-opensource-src-4.6.3.tar.gz cd qt-everywhere-opensource-src-4.6.3 cd qt-everywhere-opensource-src-4.6.3 ./configure -opensource -fast -nomake examples -nomake demos make sudo make install
./configure -opensource -fast -nomake examples -nomake demos \ -debug -no-separate-debug-info
step 3 : install graphiz
You can get graphiz by downloading it at : http://www.graphviz.org/
we are using the 2.26.3 version.
wget http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.26.3.tar.gz tar -xzvf graphviz-2.26.3.tar.gz cd graphviz-2.26.3 ./configure make sudo make install
Step 4 : Compil qng
now that all the dépendencies are installed, you can compile qng :
cd (@Netglub location)/trunk/qng qmake make
you can now run qng from : ./(@Netglub location)/trunk/qng/bin/unix-debug/netglub
French