help-gnuastro
[Top][All Lists]
Advanced

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

Re: [help-gnuastro] GNU Astro configure error - missing WCSLIB component


From: Duane Booher
Subject: Re: [help-gnuastro] GNU Astro configure error - missing WCSLIB component
Date: Fri, 25 May 2018 20:34:13 +0000

Hi Mohammad,

It looks like we have a build/install completed with one final 'make check' 
error. We have gone ahead and are doing some cursory testing. 

Is this error below anything to be concerned with?

Make check:
FAIL: buildprog/simpleio.sh

Then I run:
tests/buildprog/simpleio.sh
../bin/buildprog/astbuildprog not created.

The actual make of bin/buildprog appeared to be clean.

Thanks again, your support has been awesome.
Duane

´╗┐On 5/25/18, 11:35 AM, "Mohammad Akhlaghi" <address@hidden> wrote:

    No problem, I am happy we are making good progress.
    
    You need to link with the proper CFITSIO library also, similar to 
    WCSLIB, with this configure command:
    
    ./configure --prefix=/packages/gnuastro/0.5
    LDFLAGS="-L/packages/wcslib/5.18/lib -L/packages/cfitsio/3.410/lib"
    CPPFLAGS="-I/packages/wcslib/5.18/include -I/packages/cfitsio/3.410/include"
    
    `fffree' is a function in CFITSIO. Since you now include the CFITSIO 
    headers (with `-I/packages/cfitsio/3.410/include'), it was able to 
    compile the Gnuastro's Arithmetic program (which is the program causing 
    the crash). But when it wanted to link it with the CFITSIO library, it 
    couldn't. The new `-L/packages/cfitsio/3.410/lib' linker option will fix 
    the problem.
    
    By the way, if your HPC system has more than 8 threads, you can use a 
    larger number in `make -jN' (N being any number larger than 1) to speed 
    up the build. In Make, `j' stands for "job", it means the maximum number 
    of jobs to run in parallel at any moment.
    
    Hopefully there shouldn't be any more problems.
    
    Cheers,
    Mohammad
    


reply via email to

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