← Back to team overview

yade-users team mailing list archive

Re: compile YADE on OpenSUSE 11.2 64 bit OS

 

> Dear Sergei,
>
> I have tried using QTDIR = '/usr/lib64/qt3' , still cannot find qt-mt.
>
> I also revised my scons.profile-default based on your suggestion -
> same problem.
>
> I tried "locate qt-mt" - did not return anything. But, I am sure I
> have libqt-mt.so (soft link from libqt-mt.so.3.3.8) under
> /usr/lib64/qt3/lib.  So, I am completely lost.
> I have also tried "locate libqt-mt.so" - also did not return anything.
>
> Is it possible yade is looking for a static library of qt-mt
> (something like lib-qt-mt.a)?
No

I haven't path "/usr/lib64/qt3/lib", but have "/usr/lib64/qt3/lib64".
Also I have next packages:

qt3-3.3.8b-93.1.x86_64
qt3-devel-3.3.8b-93.1.x86_64

Path "/usr/lib64/qt3/lib64" is from qt3-3.3.8b-93.1.x86_64 package...
What packages do you have? You will see it by "rpm -qa | grep qt3".
And if you doing "rpm -qf  "/usr/lib64/qt3/lib", you will see owner of
this path.
If you libs indeed located in "/usr/lib64/qt3/lib", you need add this
path to LIBPATH in scons.profile*

ps . in order to use locate utility install

findutils-4.4.0-46.2.x86_64
findutils-locate-4.4.0-46.2.x86_64

It will be indexing files. So it is fast find for system files...

>
> On Wed, Mar 3, 2010 at 5:49 PM, Sergei D. <sj2001@xxxxxxxxx
> <mailto:sj2001@xxxxxxxxx>> wrote:
>
>
>     > I tried both as you suggested, but, both failed as before: no
>     qt-mt in
>     > /usr/lib/qt3 (or /usr/lib/qt3/lib).
>     >
>     > Pei-Ying
>     >
>     >
>
>     May be
>
>     QTDIR = '/usr/lib64/qt3' ?
>
>     You need file libqt-mt.so
>     Doing "locate qt-mt" and you will see where it is.
>
>     My scons.profile-default (may be helpful for path and so on for
>     opensuse
>     11.2 x86-64):
>
>     PREFIX = '/home/sega/YADE'
>     exclude = 'lattice,snow'
>     features = 'gts,log4cxx,opengl,openmp,vtk'
>     jobs = 1
>     buildPrefix = '/home/sega/build/yade/'
>     version = 'trunk'
>     CPPPATH =
>     '/usr/include/vtk:/usr/lib64/python2.6/site-packages/numpy/core/include/:/usr/lib64/python2.6/site-packages/numpy/core/include'
>     LIBPATH = '/usr/lib64:/usr/lib64/qt3/lib64'
>     QTDIR = '/usr/lib64/qt3'
>     CXXFLAGS = []
>     SHCCFLAGS = ['-fPIC', '-z', 'muldefs']
>
>     --
>     Best regards,
>     Sergei D.
>
>     _______________________________________________
>     Mailing list: https://launchpad.net/~yade-users
>     <https://launchpad.net/%7Eyade-users>
>     Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>     <mailto:yade-users@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~yade-users
>     <https://launchpad.net/%7Eyade-users>
>     More help   : https://help.launchpad.net/ListHelp
>
>


Follow ups

References