zhlfred的个人博客分享 http://blog.sciencenet.cn/u/zhlfred

博文

PSRCHIVE installation

已有 3951 次阅读 2015-3-30 18:53 |系统分类:科研笔记

Fedora 14 x86_64  
centos6.4 x86_64  
Debian7.3 x86_64  
Installed succefully  

To finish the installation successfully you need to install the "png" package and set the PATH of  pgplot and tempo2. (if you don't have the pgplot,tempo2 or cfitsio, you should follow the hint and install those three softwares haha)
when you do the "make install", you have to create two directories  
xxx/bin/psrchive  and xxx/bin/psrchive_install ( I have encounterd the error twice, no such file or directory).   It's so weird, don't know why.

1.  use  git clone git://git.code.sf.net/p/psrchive/code psrchive     to    download SRC.(if you don't have git install it.)
2.   install the GNU autotools    

3. run   bootstrap

4. check the information that bootstrap gives you.
5. ./configure
6. If any error happens, do what the error hint says.( ./packages/fftw.csh  ./packges/pgplot.csh  or something   else, if you don't have the fftw3 libraries ..  or  tempo2 pgplot or cfitsio)
7. after the installation of  tempo2 or pgplot please set the PATH manually,
   

        # Tempo2   export TEMPO2=/usr/local/tempo2

        # PGPLOT  export PGPLOT_DIR=$SOFTWARE_DIR/pgplot  

    (if you don't have patch or png or something else you should install it manually)

     

    8.after you finished the installation you should set the LD_LIBRARY_PATH of some  xxx.so.1 like that, see another document in my Qzone.

     

     

 



https://blog.sciencenet.cn/blog-2502014-878515.html


收藏 IP: 210.73.36.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-11 22:15

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部