[Paraview] ParaView builds using Mesa
Scott, W Alan
wascott at sandia.gov
Mon Apr 11 20:16:13 EDT 2011
Yes, I do have Python enabled. I see where shared libs gets turned on.
I will try to create fpic versions of static mesa, and if that doesn't work, try a dynamic build of ParaView (again).
Thanks.
Alan
From: pat marion [mailto:pat.marion at kitware.com]
Sent: Monday, April 11, 2011 6:08 PM
To: Scott, W Alan
Cc: paraview at paraview.org
Subject: Re: [Paraview] ParaView builds using Mesa
Hi Alan,
Are you building with python enabled? If python is enabled then BUILD_SHARED_LIBS will turn itself on automatically.
Is there any reason you cannot compile mesa with shared libs, or compile mesa static with -fPIC?
Pat
On Mon, Apr 11, 2011 at 8:00 PM, Scott, W Alan <wascott at sandia.gov<mailto:wascott at sandia.gov>> wrote:
I am trying to create a paraview (client side) build of ParaView using Mesa on Linux. I have compiled Mesa using Mesa 7.4.2, compiled with 'make linux-x86-64-static'.
I am now trying to compile ParaView, and keep failing with the following:
[ 7%] Built target Cosmo
Linking CXX shared library ../../../bin/libvtkftgl.so
/usr/bin/ld: /projects/viz/paraview/support/Linux-cee-sw-rhel5-x86_64/install/Mesa-7.4.2/lib/libMESAGL.a(glapi.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/projects/viz/paraview/support/Linux-cee-sw-rhel5-x86_64/install/Mesa-7.4.2/lib/libMESAGL.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [bin/libvtkftgl.so.pv3.10] Error 1
make[1]: *** [VTK/Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2
make: *** [all] Error 2
I have tried setting "BUILD_SHARED_LIBS" off when using ccmake on paraView, but it keeps turning itself on.
What I believe I need to do is create a static build of ParaView, thus Mesa won't need the -fPIC flag.
Any ideas?
Thanks all,
Alan
--------------------------------------------------------
W. Alan Scott
ParaView Support Manager
GAITS
Sandia National Laboratories, MS 0822
Org 9326 - Building 880 A1-C
(505) 284-0932<tel:%28505%29%20284-0932> FAX (505) 845-0833<tel:%28505%29%20845-0833>
---------------------------------------------------------
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110412/8d26206a/attachment-0001.htm>
More information about the ParaView
mailing list