gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 62cd8fc: Added -lcurl to WCSLIB's configure op


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 62cd8fc: Added -lcurl to WCSLIB's configure options
Date: Thu, 8 Feb 2018 07:52:54 -0500 (EST)

branch: master
commit 62cd8fcc0ad1f3595ddff83b203bad2156d68b95
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Added -lcurl to WCSLIB's configure options
    
    In a clean install of CFITSIO and WCSLIB, I noticed that WCSLIB is not
    recognizing CFITSIO. The reason was the new dependency on the cURL
    library. So an explanation was added to the WCSLIB installation page and
    the `./configure' command was updated.
---
 doc/gnuastro.texi | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)

diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 5993c2b..9ec96fa 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -3802,13 +3802,30 @@ address@hidden of early June 2016, its most recent 
version was uploaded in
 February 2001.}, so its installation is not easy, there are also many great
 modern WCS plotting tools (mostly in written in Python). Hence, if you will
 not be using those plotting functions in WCSLIB, you can configure it with
-the @option{--without-pgplot} option as shown below. Let's assume you have
-downloaded @url{ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.bz2,
address@hidden and are in the same directory:
+the @option{--without-pgplot} option as shown below.
+
+If you have the cURL library @address@hidden://curl.haxx.se}} on your
+system and you installed CFITSIO version 3.42 or later, you will need to
+also link with the cURL library at configure time (through the
address@hidden option as shown below). CFITSIO uses the cURL library for its
+HTTPS (or HTTP address@hidden@url{https://en.wikipedia.org/wiki/HTTPS}})
+support and if it is present on your system, CFITSIO will depend on
+it. Therefore, if @command{./configure} command below fails (you don't have
+the cURL library), then remove this option and rerun it.
+
+Let's assume you have downloaded
address@hidden://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.bz2,
address@hidden and are in the same directory, to configure, build,
+check and install WCSLIB follow the steps below.
 @example
 $ tar xf wcslib.tar.bz2
-$ cd wcslib-X.X                    # Replace X.X with version number
-$ ./configure --without-pgplot LIBS="-pthread -lm" --disable-fortran
+
+## In the `cd' command, replace `X.X' with version number.
+$ cd wcslib-X.X
+
+## If `./configure' fails, remove `-lcurl' and run again.
+$ ./configure LIBS="-pthread -lcurl -lm" --without-pgplot     \
+              --disable-fortran
 $ make
 $ make check
 $ sudo make install
@@ -3816,7 +3833,6 @@ $ sudo make install
 
 
 
-
 @node Optional dependencies, Bootstrapping dependencies, Mandatory 
dependencies, Dependencies
 @subsection Optional dependencies
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]