As an alternative to modifying caQtDM_Env, I setup the shell environment
by sourcing this content before compiling caQtDM. You might modify this
to your system.
--------------% clip here %--------------
#!/bin/bash
# usage: source ./setup_environment.sh
# sets up the shell for building caQtDM
# makes certain that Anaconda Python is not providing Qt to the build
PATH=$HOME/bin
PATH+=:/usr/local/sbin
PATH+=:/usr/local/bin
PATH+=:/usr/sbin
PATH+=:/usr/bin
PATH+=:/sbin
PATH+=:/bin
#PATH+=:/usr/games
#PATH+=:/usr/local/games
PATH+=:/usr/local/epics/base/bin/
PATH+=:/usr/local/epics/base/lib/
PATH+=:/usr/local/epics/opi/bin/
PATH+=:/usr/local/epics/base/bin/linux-x86_64
PATH+=:/usr/local/epics/base/lib/linux-x86_64
PATH+=:/usr/local/epics/opi/bin/linux-x86_64
export PATH
export PYTHONVERSION=2.7
export PYTHONINCLUDE=/usr/include/python$PYTHONVERSION
export PYTHONLIB=/usr/lib/
export EPICS_BASE=/usr/local/epics/base
export EPICSINCLUDE=${EPICS_BASE}/include
export EPICSLIB=${EPICS_BASE}/lib/$EPICS_HOST_ARCH
#export EPICSEXTENSIONS=/usr/local/epics/extensions
export EPICSEXTENSIONS=/usr/local/epics/opi
export QTHOME=/usr
export QWTHOME=/usr
export QWTINCLUDE=/usr/include/qwt
export QWTLIB=${QWTHOME}/lib
export QTCONTROLS_LIBS=`pwd`/caQtDM_Binaries
export CAQTDM_COLLECT=`pwd`/caQtDM_Binaries
export QTBASE=${QTCONTROLS_LIBS}
export QTDM_LIBINSTALL=$EPICSEXTENSIONS/lib/$EPICS_HOST_ARCH
export QTDM_BININSTALL=$EPICSEXTENSIONS/bin/$EPICS_HOST_ARCH
mkdir -p $QTDM_BININSTALL
mkdir -p $QTDM_LIBINSTALL
#export QTDM_RPATH=${QTDM_LIBINSTALL}:${QTBASE}
--------------% clip here %--------------
On 10/17/2017 7:41 AM, Jiro Fujita wrote:
Essentially, to install caQtDM, you need to edit caQtDM_Env file. There you see entries like this:
if [ -z "$QTHOME" ]; then export QTHOME=/usr;
fi
if [ -z "$QWTHOME" ]; then export QWTHOME=/usr;
fi
if [ -z "$QWTINCLUDE" ]; then export QWTINCLUDE=/usr/include/qwt;
fi
if [ -z "$QWTLIB" ]; then export QWTLIB=${QWTHOME}/lib64;
fi
if [ -z "$EPICS_BASE" ]; then export EPICS_BASE=/usr/local/epics/base-3.14.12.5;
fi
if [ -z "$EPICSINCLUDE" ]; then export EPICSINCLUDE=${EPICS_BASE}/include;
fi
if [ -z "$EPICSLIB" ]; then export EPICSLIB=${EPICS_BASE}/lib/$EPICS_HOST_ARCH;
fi
if [ -z "$EPICSEXTENSIONS" ]; then export EPICSEXTENSIONS=/usr/local/epics/extensions;
fi
if [ -z "$QTCONTROLS_LIBS" ]; then export QTCONTROLS_LIBS=`pwd`/caQtDM_Binaries;
fi
if [ -z "$CAQTDM_COLLECT" ]; then export CAQTDM_COLLECT=`pwd`/caQtDM_Binaries;
fi
export QTBASE=${QTCONTROLS_LIBS};
Based upon whichever the installed component and the path of them, you should be able to compile caQtDM. You can take a look at my VM to see how I did that; it’s good enough to make caQtDM working, if you still have a copy around.
I leave more detailed info (particularly the current version of caQtDM installation) to the real expert; I think they can give you more help.
On Oct 17, 2017, at 2:33 PM, Antal, Szabolcs <[email protected]> wrote:
Dear Folks,
I’m in a bit of trouble with the installation of caQtDM-4.1.5 on Ubuntu 16.04.
As the installation notes says the prerequisites are Qt5.x and qwt 6.1.x and Qt Designer (however I’m not sure whether I need Qt Designer if I have Qt Creator installed with Qt5.6.3).
I managed to install Qt5.6.3 to /opt/Qt5.6.3/ and qwt6.1.3 at /usr/local/qwt-6.1.3/.
I extracted the caQtDM archive to /usr/local/epics/extension/src/caqtdm-4.1.5.
However I’m not sure how to set the configuration variables inside caQtDM_Env.
Also a broken qt4 installation can be found on the system and it seems like the caQtDM_Build script tries to use that one
during installation as I get the following error message when I run the script:
qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
I’m a bit stuck at the moment, so any help regarding to the overall installation of caQtDM with the mentioned prerequisites
would be greatly appreciated!
Thank you in advance!
Yours truly,
____________________
Szabolcs Antal
Software Developer
<image002.png>
evopro systems engineering Kft.
member of the evopro group
Ez az e-mail (ideértve annak bármely mellékletét) bizalmas információkat tartalmaz és jogi védelem alatt áll. Az üzenet kizárólag a címzett(ek)nek szól. Amennyiben Ön nem a küldemény címzettje, úgy a téves kézbesítést kérjük haladéktalanul jelezze e-mailben a feladónak és a teljes küldeményt helyreállíthatatlanul törölje. Amennyiben Ön nem az üzenet címzettje, kérjük ne készítsen másolatot az üzenetről, ne továbbítsa, ne tárja fel és ne tegye hozzáférhetővé azt más személy(ek) számára, továbbá semmilyen célra ne használja fel a bizalmas információt: ezen magatartások bármelyike a levéltitok megsértésének minősül.
Information in this e-mail (including any attachment hereto) is confidential and may be legally privileged. It is intended solely for the attention of the addressee(s). If you received this message in error, please immediately notify the sender by return e-mail and irrecoverably delete the whole message. If you received this e-mail in error, please do not copy it, do not forward, disclose or make it available to other person(s), and do not use the confidential information for any purpose: any such action is regarded as a breach of confidence.
--
----------------------------------------------------------
Pete R. Jemian, Ph.D. <[email protected]>
Beam line Controls and Data Acquisition, Group Leader
Advanced Photon Source, Argonne National Laboratory
Argonne, IL 60439 630 - 252 - 3189
-----------------------------------------------------------
Education is the one thing for which people
are willing to pay yet not receive.
-----------------------------------------------------------
- References:
- caQtDM installation help needed Antal, Szabolcs
- Re: caQtDM installation help needed Jiro Fujita
- Navigate by Date:
- Prev:
Re: caQtDM installation help needed Jiro Fujita
- Next:
RE: Problems with motor record Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: caQtDM installation help needed Jiro Fujita
- Next:
RE: caQtDM installation help needed Williams Jr., Ernest L.
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
|