Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in i18n_book_navigation_set_breadcrumb() (line 212 of /home/sasaoj5/public_html/ms-cheminfo.com/sites/all/modules/i18n_book_navigation/i18n_book_navigation.module).

Setup Debian 7 amd64

This article is a walk-through setup procedure for making 64bit Debian Linux as QtPlatz development system. I've tested this procedure using Debian 7.4 amd64 installed on Hyper-V hosted by Windows 8.1 Pro N VL US release. It was significant performance problem, especially on boost build does not completed in 30min when default setting of Hyper-V (512MB RAM with Dynamic Memory allocation). It seems has resolved when change it to 2048MB RAM and uncheck dynamic memory for this VM.

Debian install options:  While installing debian 7.5 though netinst installer, uncheck all applications on installer app selection page except for ssh-server.

Install software from apt-get

$ sudo apt-get install build-essential libbz2-dev
$ sudo apt-get install git
$ sudo apt-get install subversion
$ sudo apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev
$ sudo apt-get install xorg
 

Setup boost

  1. Download boost_1_55_0.tar.bz2
  2. Build boost into /usr/local/boost-1_55
$ wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2/download
$ bzip2 -cd download | tar xvf -
$ cd boost_1_55_0
$ ./bootstrap.sh --prefix=/usr/local/boost-1_55
$ sudo ./b2 address-model=64 cflags=-fPIC cxxflags=-fPIC link=static install

Setup Qt5.2.1 download Linux x64 installer

wget http://download.qt-project.org/official_releases/qt/5.2/5.2.1/qt-opensource-linux-x64-5.2.1.run

Qt 5.2.1 setup interacts with user though X11 GUI, so that MobaXterm is a solution, though it should work any X11 server software, or run install process from Mac or Unix.

MobaXterm console

xhost +

and then login to Linux, set DISPLAY to MobaXterm displayed on console.

$ export DISPLAY=192.168.xx.xx:0.0
$ sudo ./qt-opensource-linux-x64-5.2.1.run
$ sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
ln -s  /opt/Qt5.2.1/5.2.1/gcc_64/bin/qmake /usr/local/bin/qmake

 

On Debian 7.5, I've got an Installer Error, 

Error during installation process (qt.521.gcc_64_essentials): Execution faild(Unexpected exit code: 127): "/opt/Qt5.2.1//Tools/QtCreator/bin/sdktool addQt --id qt.521.gcc_64.essentials --name Qt 5.2.1 GCC 64bit --type Qt4ProjectManager.QtVersion.Desktop --qmake /opt/Qt5.2.1/gcc_64/bin/qmake"

I've choosen 'ignore' and went through installation, but installation was faild and no qmake command installed.

 

Install Qwt

qwt.sourceforge.net in detail.

svn checkout svn://svn.code.sf.net/p/qwt/code/branches/qwt-6.1

Edit qwt-6.1/qwtconfig.pri for comment out QwtDll and QwtExamples

cd qwt-6.1
qmake qwt.pro -r
make
sudo make install

In case you'd like to use static link, uncomment following line in qwtconfig.pri before run qmake.

Install ACE+TAO

Follow install procedure: Install TAO (CORBA) on Linux

Setup your .profile

export ACE_ROOT=/usr/local/ace+tao/6.2.6
export QWT=/usr/local/qwt-6.1.1-svn
export RDBASE=/usr/local
export PATH=$ACE_ROOT/bin:$PATH

Now you are ready to build qtplatz.

cd ~/src
git clone git://github.com/qtplatz/qtplatz.git
cd qtplatz
qmake -r
make -j4

If you failed with missing shared object, check /etc/ld.so.conf.d. Ad

English

User login