[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnuastro] [info-gnuastro] Gnuastro 0.8 released
From: |
Mohammad Akhlaghi |
Subject: |
Re: [bug-gnuastro] [info-gnuastro] Gnuastro 0.8 released |
Date: |
Sun, 27 Jan 2019 12:20:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Hi David,
Thanks a lot for the complete information on the configuration problem.
Just one question: by making "a copy in /usr/local", do you mean that
you configured CFITSIO with `--prefix=/usr/local" (so it is installed
there), like the example in the Gnuastro book (link below)? Or did you
manually copy the files/directory under that folder?
https://www.gnu.org/software/gnuastro/manual/html_node/CFITSIO.html
I have described the situation in a little more detail in the P.S.
On a sidenote, if you use Homebrew (a package manager for mac OS
systems), you can easily install all the necessary dependencies with the
respective command given under "brew (macOS)" in Section 3.1.4 of
Gnuastro's book:
https://www.gnu.org/software/gnuastro/manual/html_node/Dependencies-from-package-managers.html
I hope this helps,
Cheers,
Mohammad
P.S.
Ideally (unless there is some special conflict which must be avoided),
it is recommended that all software built from source (CFITSIO in this
case) are installed in one place (the standard place/prefix to install
them is `/usr/local').
But just note that when you configure with `--prefix=/usr/local', the
final installed files are distributed in various subdirectories of it:
libraries go under `/usr/local/lib', their headers go under
`/usr/local/include' and programs go in `/usr/local/bin'.
Since the configure script found GSL and WCSLIB (which I presume you
also built from source also), maybe good check would be to make sure
that CFITSIO is installed in the the same directory as them.
For example, if you followed a standard build for GSL or WCSLIB (didn't
change their `--prefix' at configure time), try running "ls
/usr/local/lib" now (before fixing the problem). You will see several
files named `libwcs' or `libgsl' (with different suffixes), but probably
you won't find `libcfitsio'. If this is the case, and you configure
CFITSIO with the steps given in the first link above, the problem will
be solved.