bug-gnuastro
[Top][All Lists]
Advanced

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

Re: [bug-gnuastro] errors


From: Mohammad Akhlaghi
Subject: Re: [bug-gnuastro] errors
Date: Wed, 12 Apr 2017 14:37:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0

Hi Rosa,

Thanks a lot for the log file, it clearly shows the problem :-)! All the tests that fail do so with one error message. So just for help in future search results, I'll put a copy of the error message here:

------------
FITSIO status = 104: could not open the named file
ImageCrop started on Tue Apr 11 16:57:56 2017

ERROR: Mismatch in the CFITSIO_SONAME value in the fitsio.h include file
that was used to build the CFITSIO library, and the value in the include file
that was used when compiling the application program:
   Version used to build the CFITSIO library   = 2
   Version included by the application program = 5

Fix this by recompiling and then relinking this application program
with the CFITSIO library.
/scratch/Rosa/gnuastro/gnuastro-0.2.64-a5ae/bin/imgcrop/.libs/lt-astimgcrop: reading this FITS file
FAIL imgcrop/imgcat.sh (exit status: 1)
------------

The problem is with the installation of CFITSIO on the system: the CFITSIO headers available to Gnuastro on the system are for version 5, but the headers used to build the libraries are for version 2. So there is a mis-match between the CFITSIO headers and library binaries. I saw this happen previously on a Debian (if I am not mistakign) user who had installed the library binaries and the library headers at different times, and so they had different versions.

The best way would be to completely un-install CFITSIO and then do a clean re-install of CFITSIO and afterwards re-build Gnuastro.

Apparently this system is a server, so you might not have the persmissions to un/re-install CFITSIO your self. If you feel it will take too long for the system administrator to do this correction, you can also install CFITSIO (and all dependencies) for yourself from source. The full procedure is thoroughly described in the "Installation directory" section of the Gnuastro book:

https://www.gnu.org/software/gnuastro/manual/html_node/Installation-directory.html

This should fix the problem, but it would still be great if you update us on the result.

Cheers,
Mohammad

On 04/12/2017 12:31 PM, address@hidden wrote:
Hi Mohammad,
also with your last version gnuastro-0.2.64-a5ae the error is the same. I attached you the .log file.

The operative system in the institute is Fedora 21.

I have a Mac laptop personal.. I will try on it too.

Thanks
Rosa


Quoting Mohammad Akhlaghi <address@hidden>:

Hi Rosa,

Thanks, this is more helpful. So some tests pass and some fail. Initially, I thought it doesn't even get to this step. Could you send me the `tests/test-suite.log' file (from the top un-packed tarball directory). It contains a more detailed report of all the tests that failed, its a plain text file so you can open it your self with a text editor and see the errors.

But before doing that could you try the not-yet-released tarball in the link below. I should have pointed you to this from the begining, I am sorry! It is currently the most recent fully-working version of Gnuastro with many other bugs fixed.

https://cral.univ-lyon1.fr/labo/perso/mohammad.akhlaghi/gnuastro-0.2.64-a5ae.tar.gz

So if some of the `make check' tests fail as before on this version also, I would be most grateful if you could send me the `tests/test-suite.log', that should hopefully shed more light on why these tests have failed. By the way, what operating system are you using?

Cheers,
Mohammad

--
Postdoctoral research fellow,
Centre de Recherche Astrophysique de Lyon (CRAL),
Observatoire de Lyon. 9, Avenue Charles André,
Saint Genis Laval (69230), France.


----------------------------------------------------------------
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Proteccion de Datos, acceda a http://www.iac.es/disclaimer.php WARNING: For more information on privacy and fulfilment of the Law concerning the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en



reply via email to

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