bug-gnuastro
[Top][All Lists]
Advanced

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

Re: [bug-gnuastro] Error from make in installing CFITSIO and WCSLIB


From: Mohammad Akhlaghi
Subject: Re: [bug-gnuastro] Error from make in installing CFITSIO and WCSLIB
Date: Mon, 20 Mar 2017 17:53:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Dear Krittapas,

Thank you very much for trying to install Gnuastro. Infact my own research is also on the high-z universe, so I hope we can find the cause of this problem sooner, and you can get to the exciting science.

Since these errors are in the dependencies of Gnuastro (not Gnuastro itself), the best place to ask them is the respective developers. In my experience, they are often very supportive and responsive, so it would be great if you could contact them about the problem in the respective library.

 - CFITSIO: Help desk at: address@hidden

 - WCSLIB:  Its author (Mark R. Calabretta) at address@hidden

The following additional information can help the developers of the respective library to answer/fix the issue faster:

 - The version of the library you are installing.

- Your operating system (for example is it GNU/Linux? if so, what distribution?).

- Since both problems are in the configuration step, sending the `config.log' file (that is created after you run `./configure') would also greatly help the developers find the source of the problem.

- The full command you used to configure the library (including all the options).

I previously saw the CFITSIO error on a friend's Mac OS X. He was able to successfully configure and build CFITSIO by not using the two configure options suggested in the Gnuastro book: `--enable-sse2 --enable-reentrant'. So he just ran:

   $ ./configure --prefix=/usr/local

But it would be great if you could get in touch with the CFITSIO developers so they can fix the problem permanently. Because with this configuration you won't have some optimizations and also you won't be able to read from one file on multiple CPU threads (mainly used in ImageCrop's catalog cropping feature, no other program in Gnuastro will be affected).

Unfortunately, I haven't seen this WCSLIB error before, so I can't comment on it. Once the solution to any of these problems are found and you succeed in installing CFITSIO and WCSLIB, it would be great if you could post them to this list for other users to benefit from it.

Cheers,
Mohammad

On 03/20/2017 04:09 PM, Chanchaiworawit,Krittapas wrote:
Dear admin,

            I am new to GNU astro.
I and my collaborators try to get the program to work for improving our data of 
high-z galaxies detection.
I am installing the mandatory dependencies right now.
The GNU Scientific Library was installed  just fine.
However, I ran into errors from running make for CFITSIO and configure WCSLIB.
Here are the error messages:

[CFITSIO] during "make"


drvrsmem.c:78:16: error: variable has incomplete type 'union semun'

   union semun filler;

               ^

drvrsmem.c:78:10: note: forward declaration of 'union semun'

   union semun filler;

         ^

drvrsmem.c:331:16: error: variable has incomplete type 'union semun'

 { union semun su;

               ^

drvrsmem.c:331:10: note: forward declaration of 'union semun'

 { union semun su;

         ^

drvrsmem.c:396:16: error: variable has incomplete type 'union semun'

   union semun filler;

               ^

drvrsmem.c:396:10: note: forward declaration of 'union semun'

   union semun filler;

         ^

3 errors generated.

make[1]: *** [drvrsmem.o] Error 1

make: *** [all] Error 2



[WCSLIB] during "configure"

configure: error: in `/Users/krc213/GNU_Astro/wcslib-5.16':

configure: error: linking to Fortran libraries from C fails


Please help.
Thank you very much.

Best Regards,
Krittapas Chanchaiworawit
Department of Astronomy
University of Florida

--
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]