<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>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’.</div>
<div> </div>
<div>I am now trying to compile ParaView, and keep failing with the following:</div>
<div> </div>
<div>[ 7%] Built target Cosmo</div>
<div>Linking CXX shared library ../../../bin/libvtkftgl.so</div>
<div>/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</div>
<div>/projects/viz/paraview/support/Linux-cee-sw-rhel5-x86_64/install/Mesa-7.4.2/lib/libMESAGL.a: could not read symbols: Bad value</div>
<div>collect2: ld returned 1 exit status</div>
<div>make[2]: *** [bin/libvtkftgl.so.pv3.10] Error 1</div>
<div>make[1]: *** [VTK/Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2</div>
<div>make: *** [all] Error 2</div>
<div> </div>
<div>I have tried setting “BUILD_SHARED_LIBS” off when using ccmake on paraView, but it keeps turning itself on. </div>
<div> </div>
<div>What I believe I need to do is create a static build of ParaView, thus Mesa won’t need the –fPIC flag. </div>
<div> </div>
<div>Any ideas?</div>
<div> </div>
<div>Thanks all,</div>
<div> </div>
<div>Alan</div>
<div> </div>
<div> </div>
<div><font size="2"><span style="font-size:10pt;">--------------------------------------------------------</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:10pt;">W. Alan Scott</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:10pt;">ParaView Support Manager</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font face="Arial" size="2"><span style="font-size:10pt;">GAITS</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:10pt;">Sandia National Laboratories, MS 0822</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:10pt;">Org 9326 - Building 880 A1-C</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:10pt;">(505) 284-0932 FAX (505) 845-0833</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:10pt;">---------------------------------------------------------</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:10pt;"> </span></font></div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>