<div dir="ltr">It seems the compilation was stuck at hwloc.  Try export these two env variables and compile again.<div><br><div><div><div>HWLOC_LIBXML2_CFLAGS = -I<path to your xml2 headers, such as /usr/include/libxml2></div>
<div>HWLOC_LIBXML2_LIBS = -L<path to your xml2 library>   -lxml2</div></div><div><br></div><div>If it does not work, could you paste your $<span style="font-family:Tahoma;font-size:13px">LD_LIBRARY_PATH?</span></div>
<div><br><div class="gmail_extra"><div><div dir="ltr">--Junchao Zhang</div></div>
<br><div class="gmail_quote">On Tue, Nov 5, 2013 at 6:52 AM, Mogesh Naidoo <span dir="ltr"><<a href="mailto:MNaidoo4@csir.co.za" target="_blank">MNaidoo4@csir.co.za</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div style="margin:4px 4px 1px;font-style:normal;font-variant:normal;font-weight:normal;font-size:10pt;line-height:normal;font-family:Tahoma">
<div>Hi,</div>
<div> </div>
<div>I'm having trouble compiling MPICH-3.0.4.</div>
<div>I'm using GNU 4.7.2 compilers.</div>
<div>My configure = </div>
<div>./configure --prefix=/export/home/mnaidoo/software/mpich/mpich3_GNU --with-gnu-ld 2>&1 | tee c.txt</div>
<div>Configure is successful with no errors.</div>
<div> </div>
<div>The make fails with </div>
<div>"libtool: link: `/usr/lib64/<a href="http://libxml2.la" target="_blank">libxml2.la</a>' is not a valid libtool archive"</div>
<div>This occurs when trying:</div>
<div>"CCLD <a href="http://libhwloc_embedded.la" target="_blank">libhwloc_embedded.la</a>"</div>
<div> </div>
<div>So there's a <a href="http://libxml2.la" target="_blank">libxml2.la</a> in /usr/lib64, but there's also one in another directory.</div>
<div>I add this directory to LD_LIBRARY_PATH and I still get the same error.</div>
<div>How do I tell <em>make</em> to use the <a href="http://libxml2.la" target="_blank">libxml2.la</a> in the other directory?</div>
<div> </div>
<div>regards,</div>
<div>Mogesh.</div><span><font color="#888888">
<div> </div><font face="Verdana,Arial,Helvetica,Trebuchet MS" size="1">
<br>-- 
<br>This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
<br>The full disclaimer details can be found at <a href="http://www.csir.co.za/disclaimer.html" target="_blank">http://www.csir.co.za/disclaimer.html</a>.
<p>
<br>This message has been scanned for viruses and dangerous content by <a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, 
<br>and is believed to be clean.
</p><p>
<br>Please consider the environment before printing this email.
</p><p></p></font>
</font></span></div>
<br>_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div><br></div></div></div></div></div>