<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.&nbsp; I have compiled Mesa using Mesa 7.4.2, compiled with &#8216;make linux-x86-64-static&#8217;.</div>
<div>&nbsp;</div>
<div>I am now trying to compile ParaView, and keep failing with the following:</div>
<div>&nbsp;</div>
<div>[&nbsp; 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>&nbsp;</div>
<div>I have tried setting &#8220;BUILD_SHARED_LIBS&#8221; off when using ccmake on paraView, but it keeps turning itself on.&nbsp; </div>
<div>&nbsp;</div>
<div>What I believe I need to do is create a static build of ParaView, thus Mesa won&#8217;t need the &#8211;fPIC flag. </div>
<div>&nbsp;</div>
<div>Any ideas?</div>
<div>&nbsp;</div>
<div>Thanks all,</div>
<div>&nbsp;</div>
<div>Alan</div>
<div>&nbsp;</div>
<div>&nbsp;</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;">&nbsp;</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&nbsp;&nbsp; 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;">&nbsp;</span></font></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</span></font>
</body>
</html>