Thanks for your reply. I know that I don't need BAT on the server that runs bacula. Nevertheless it will be easier as I am really new to bacula. Tonight I retried to install qt4 which was already installed. I think that I found what causes the trouble. It has to come with the settings of environment variables. In fact, I've got two different installations of qt on my box - qt-3.3 installed in /usr/lib64/qt-3.3 - qt4 installed in /usr/lib64/qt4
Nevertheless, I've got the following : > [r...@srv-clc-02 ~]# env > HOSTNAME=srv-clc-02 > SHELL=/bin/bash > TERM=xterm > HISTSIZE=1000 > KDE_NO_IPV6=1 > QTDIR=/usr/lib64/qt-3.3 > QTINC=/usr/lib64/qt-3.3/include > http_proxy=http://proxy-upgrade.univ-nantes.prive:3128 > USER=root > LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: > ftp_proxy=ftp://proxy-upgrade.univ-nantes.prive:3128 > KDEDIR=/usr > MAIL=/var/spool/mail/root > PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin > INPUTRC=/etc/inputrc > PWD=/root > JAVA_HOME=/usr/local/package/glassfishv3/jdk > LANG=en_US.UTF-8 > KDE_IS_PRELINKED=1 > SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass > SHLVL=1 > HOME=/root > no_proxy=localhost,127.0.0.0,127.0.0.1,127.0.1.1 > LOGNAME=root > QTLIB=/usr/lib64/qt-3.3/lib > CVS_RSH=ssh > LESSOPEN=|/usr/bin/lesspipe.sh %s > G_BROKEN_FILENAMES=1 > _=/bin/env > [r...@srv-clc-02 ~]# We can see above that the PATH is set to /usr/lib64/qt-3.3/bin. Therefore the system will use the vesion 3.3 qmake instead of the one for version 4. Should I change the PATH, QTLIB, QTDIR, QTINC ? QTDIR=/usr/lib64/qt4 QTINC=/usr/lib64/qt4/include QTLIB=/usr/lib64/qt4/lib64 PATH=/usr/lib64/qt4/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin Should I change all the above variables or may it work if I change only the PATH variable ? Do you know the utility of these variables - QTDIR, QTINC, QTLIB ? How could make these changes persistent - even after a reboot - ? Thanks for any suggestions, Regards Stéphane Cesbron Responsable Régional Informatique, INSERM Délégation Régionale Grand-Ouest, BRETAGNE, PAYS DE LA LOIRE et CENTRE 63, quai Magellan 3ème étage - Hall B B.P. 32116 44021 Nantes cedex 1 Email : stephane.cesb...@inserm.fr Tél : 02.40.20.92.28 Portable : 06.78.68.76.39 ----------------------------------------------------------------- Ce message et toutes les pieces jointes sont etablis a l'intention exclusive de ses destinataires et peuvent etre confidentiels ou proteges. L'internet ne permettant pas d'assurer l'integrite de ce message, l'INSERM decline toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Merci. The information transmitted is intended exclusively for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any disclosure, copying, distribution or other action based upon the information by persons or entities other than the intended recipient is prohibited. If you receive this information in error, please contact the sender and delete the material from any and all computers. Le 19/10/2010 21:50, John Drescher a écrit : > On Tue, Oct 19, 2010 at 3:20 PM, Stéphane Cesbron > <stephane.cesb...@inserm.fr> wrote: >> Hi, >> >> I downloaded the sources of bacula 5.0.3. I compiled it. Everything >> works fine except when I wanted to get the bat utility. I can't compile it. >> >> I'm on A RHEL 5.5 box - up to date - >>> [scesb...@srv-clc-02 bacula-5.0.3]$ uname -a >>> Linux srv-clc-02 2.6.18-194.17.1.el5 #1 SMP Mon Sep 20 07:12:06 EDT >>> 2010 x86_64 x86_64 x86_64 GNU/Linux >> It failed using the --enable-bat option >> The error states that I can't compile qt-console because the files are >> made for qt-designer version 4.0 and I only have version 3.3 installed. >> I didn't succeed to find qt4 version 4 for my box ( RHEL 5.5 x86_64). >> Can anyone help ? > I am pretty sure you need at minimum Qt4. 4.7 is the current Qt > release. I would just build that by source if RH does not provide it. > > And BTW, you do not need to have BAT on the server that has bacula. At > work my director server does not even have X windows installed.. > > John ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users