bug-gnuastro
[Top][All Lists]
Advanced

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

Re: [bug-gnuastro] error testing gnuastro 0.5 compilation


From: Mohammad Akhlaghi
Subject: Re: [bug-gnuastro] error testing gnuastro 0.5 compilation
Date: Mon, 12 Feb 2018 12:49:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Hi Juan,

Thank you very much for trying out Gnuastro and also the encouraging comments. The solution below will (hopefully) solve the problem and you can get going with Gnuastro easily.

As you mentioned (from `test-suite.log'), it is clear that all the failures are due to the inability to link with GSL after Gnuastro's compilation (see P.S. for more on dynamic linking).

To solve the problem, you just have to add GSL's installation directory to the LD_LIBRARY_PATH variable. You can do it permanently by adding the following line to your `.bashrc' file (assuming you installed GSL in `/usr/local/', change this part if it is installed somewhere else.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

General installation issues like this are also described in Gnuastro's book (manual) in the following link:

https://www.gnu.org/software/gnuastro/manual/html_node/Known-issues.html

Thanks to the files you sent, I noticed the explanation for your problem in that link (in `make check') was slightly out-dated, so I made a correction and acknowledged your help. In the next release of Gnuastro, this updated text will be available on the webpage.

http://git.savannah.gnu.org/cgit/gnuastro.git/commit/?id=eacbcb8b610a2b

By the way, recently (after Gnuastro 0.5's release) all those warnings regarding `asprintf' when you ran `make' have also been addressed. If you install the following tarball, you will have a much cleaner install. Its corresponding manual (only in PDF, no major change since the 0.5 release until now) is also available in the next link.

http://akhlaghi.org/gnuastro-latest.tar.lz
http://akhlaghi.org/gnuastro.pdf

See the link below on uncompressing Lzip files:

https://www.gnu.org/software/gnuastro/manual/html_node/Quick-start.html

The best place to get started well with Gnuastro and properly using NoiseChisel with all the other tools is this tutorial:

https://www.gnu.org/software/gnuastro/manual/html_node/General-program-usage-tutorial.html

Alternative, you can run this command after you install Gnuastro to see exactly the same tutorial section of the book on your command-line (press the `SPACE' to go down and `Q' to exit back to the terminal). This method of reading the tutorial always corresponds to your installed version, so it is recommended.

$ info gnuastro "general program usage tutorial"

Thanks again for the very complete bug report, it was very constructive. Please don't hesitate to share any other thoughts you might have as you use Gnuastro to help us improve it for your (and everyone's) work.

Cheers,
Mohammad



P.S. Since dynamic linking is an important aspect of modern software (including Gnuastro), a section of the book is devoted to fully describing the basics of linking (url below). You can see this to understand better why Gnuastro's programs were compiled when you ran `make', but failed when you tried to execute them with `make check':

https://www.gnu.org/software/gnuastro/manual/html_node/Linking.html



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



reply via email to

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