-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Issue #48
Comments
PRESTO installs the binary executables in $PRESTO/bin |
yes they are there but also they are not recognized :( |
Try running them directly like "./rfifind". Also, do an "ls -l" in $PRESTO/bin and make sure the executables are there and are executable. |
Thank you for your responding. I don't know what to do! : Maybe I have edited the Makefile incorrectly |
First, you should not be running anything as root on your machine. You should build and install PRESTO as your normal user. You should go to the src directory as root and do a "make clean", then go back to your normal user and re-make everything. Second, it is just not finding the shared library. Make sure that $PRESTO/lib is in your LD_LIBRARY_PATH. You can use "ldd" on an executable to see what libraries it is looking for and where it is finding them. |
Finally ! solved export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SOFTWARE_DIR/lib: adding this line made everything ok ! : |
Thanks for helping out, @paulray. Be advised that you will need $PRESTO/lib/python in your PYTHONPATH if you want to use the python functionality as well. |
Thank you guys :) |
I have two more questions:
negative version?! |
For question 1: No, not currently. And that's primarily because I rarely use TEMPO2. Adding that capability should be fairly straightforward, though. I'd be happy to accept a patch or pull-request! ;-) As for question 2, that is because you have 2 installations of CFITSIO on your machine. And when things were compiled, the header for one version was found and used (via the -I include flags) but you are linking to a different version (via the -L flags or LD_LIBRARY_PATH). Forcing the use of a consistent version with the flags or the LD_LIBRARY_PATH is how you solve that. |
Thank you sir |
I have installed and used PGPLOT in PSRCHIVE but in presto when I tried : Examining Mystery_PSR data from 'Lband_topo_DM0.00.dat'. although, from rfifind command, a "PS" output file is plotted and it shows that pgplot is working. |
This is not a PRESTO issue, but a PGPLOT one. You need to set your environment variable PGPLOT_DEV to a device that was included in your build of PGPLOT. See the PGPLOT installation instructions for more info. Normally /XS and /XWIN are always included. An interactive X11 driver for PGPLOT is required for interactive programs like exploredat. |
Hi
I have installed presto just like the INSTALL file said (I guess) but when installation finished (without error), presto's commands are not recogonized in terminal! here is a screenshot:
http://tinypic.com/r/161x34x/8
what's wrong?
The text was updated successfully, but these errors were encountered: