<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:16pt;color:rgb(255, 0, 0);"><div></div><div>To whom it may concern,</div><div><br></div><div>I'm trying to compile pynifti-0.20080710.1 from source, but have trouble compiling it.</div><div><br></div><div>First, the version of my computer is linux fc10. Is there any binary package for this specific version of pynifti? If so, how can i access it?</div><div><br></div><div>Second, I have installed some prerequisites like SWIG1.3.39, Numpy 1.3.0 and Nifticlib1.1.0. Everything seems to be smooth. Then I try 'python setup.py build' under the root directory of the downloaded source. But here's what it returns:</div><div><br></div><div><div>running build</div><div>running build_py</div><div>copying nifti/nifticlib.py -&gt; build/lib.linux-x86_64-2.5/nifti</div><div>running build_ext</div><div>building
 'nifti._nifticlib' extension</div><div>swigging nifti/nifticlib.i to nifti/nifticlib_wrap.c</div><div>swig -python -I/usr/lib64/python2.5/site-packages/numpy/core/include -I3rd/nifticlibs -o nifti/nifticlib_wrap.c nifti/nifticlib.i</div><div>gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -I/usr/lib64/python2.5/site-packages/numpy/core/include -I3rd/nifticlibs -I/usr/include/python2.5 -c nifti/nifticlib_wrap.c -o build/temp.linux-x86_64-2.5/nifti/nifticlib_wrap.o</div><div>gcc -pthread -shared build/temp.linux-x86_64-2.5/nifti/nifticlib_wrap.o -L3rd/nifticlibs -L/usr/lib64 -lniftiio -lznz -lz -lpython2.5 -o build/lib.linux-x86_64-2.5/nifti/_nifticlib.so</div><div>/usr/bin/ld: cannot find -lniftiio</div><div>collect2: ld returned 1 exit status</div><div>error: command 'gcc' failed with exit status
 1</div><div><br></div>Any clue about what is going wrong? Your help is highly appreciated!</div><div><br></div><div>Regards,</div><div>Shengwei&nbsp;</div><br><div><br></div><div style="position:fixed"></div>


<!-- cg2.c921.mail.cnh.yahoo.com compressed/chunked Tue Dec 15 15:10:53 PST 2009 -->
</div><br>


      <hr size=1><a href="http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/">  好玩贺卡等你发,邮箱贺卡全新上线!</a></body></html>