[Paraview] ParaView builds using Mesa
pat marion
pat.marion at kitware.com
Mon Apr 11 20:07:50 EDT 2011
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> 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 FAX (505) 845-0833
> ---------------------------------------------------------
>
>
>
>
> _______________________________________________
> Powered by 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/20110411/e1c0a71f/attachment.htm>
More information about the ParaView
mailing list