-
Notifications
You must be signed in to change notification settings - Fork 8
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
Could not find CFITSIO #9
Comments
Hi, can you tell me what arguments (if any) you gave to configure when you ran it, and what the include and library path to CFITSIO looks like on your machine? Is this a machine with a lot (hundreds) of cores? If not you might want to skip the SYNAPPS build. |
Could you attach the generated "config.log" file to this issue? On 12/09/2015 08:15 PM, tjgarci2 wrote:
|
I ran it with ./configure --with-cfitsio-include= |
Try specifying the full paths (no ~) to your home directory in that command. If that still does not work, then as a workaround, can you try configuring like this: Here I assume that your cfitsio install location has been put into your LD_LIBRARY_PATH, etc. |
Where would I go to put my install location into LD_LIBRARY_PATH and would there be anything else I should edit that I might be missing? |
Is there some particular reason you are installing dependencies manually, rather than doing: %> sudo apt-get install libcfitsio-dev ? There are certainly reasons for compiling things yourself. But doing so usually requires configuring your shell environment. Specifically you should append to PATH any locations containing executable software, you should append to CPATH any include directories, and you should append to LIBRARY_PATH and LD_LIBRARY_PATH and directories containing libraries. How you modify those variables depends on which shell you are using. |
It looks like your compiler environment is not standard- I see that libstdc++ is coming from "/home/tjsgarcia/mesasdk". Do you have the standard ubuntu development tools installed? %> apt-get install build-essential What c++ compiler are you using?: %> which g++ It is critical that your g++ version is used with a compatible libstdc++. It looks like from your error that the system-installed g++ is trying to use incompatible C++ standard headers/library. |
I have the standard ubuntu development tools. I don't know why it's finding mesasdk's g++. Is there a way to have it find the standard g++ and not mesasdk's? |
Also when I run tjsgarcia@tgarcia-K55VD: tjsgarcia@tgarcia-K55VD:~$ |
MESA must have some way of deactivating its SDK toolchain for things like this that you can use. Have you checked the documentation about getting their toolchain backed out of your paths etc? They probably had you add some lines of code to your shell resource file when you installed (or their installer did it for you). These would be things that set PATH and LD_LIBRARY_PATH and so on. |
Please see https://c3.lbl.gov/es/#installation, in particular the part about --prefix. If you have super-user privileges on this machine you should be able to skip specifying prefix and do "sudo make install" and it will put SYN++ etc under /usr/local. Otherwise, if you do not have super-user privileges on this machine you will want to specify a --prefix value as mentioned in the docs. |
The part of the website where it says "when all is said and done" I have the structure underneath except I didn't install synapps. So I think I've installed it correctly. Thank you for your time. |
Great! |
Hi! I was trying to install SYNAPPS and SYN++ but I seem to have run into a problem. I have CFITSIO properly installed but it doesn't seem like when I run ./configure for es-0.98.1 it can't find it. Attached is a screenshot.
The text was updated successfully, but these errors were encountered: