bugGNU Astronomy Utilities - Bugs: bug #66087, cfitsio not detected on Enterprise...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #66087: cfitsio not detected on Enterprise Linux 9, RHEL 9, Alma Linux 9 etc.

Submitter:  Phil Wyett <kathenas>
Submitted:  Wed 14 Aug 2024 04:21:05 AM UTC
   
 
Category:  Development Severity:  3 - Normal
Item Group:  Source code Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Wed 14 Aug 2024 11:17:21 AM UTC, comment #1: 

Thanks for reporting this Phil ;-).

Unfortunately the CFITSIO packagers in in the Redhat family of distributions install its headers (for example 'fitsio.h') in a special 'PREFIX/include/cfitsio', not in the usual 'PREFIX/include'!

Try adding CPPFLAGS="-I PREFIX/include/cfitsio" to your configure command; it should find CFITSIO afterwards.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Wed 14 Aug 2024 04:21:05 AM UTC, original submission:  

checking for gs... yes
checking Ghostscript version... 9.54.0
checking for ds9... no
checking for topcat... no

Missing MANDATORY dependencies (necessary to continue):
 - CFITSIO: https://heasarc.gsfc.nasa.gov/fitsio

OPTIONAL warnings/dependencies (for improved functionality):
 - Missing Libjpeg (JPEG files): http://ijg.org
 - Missing SAO DS9: https://sites.google.com/cfa.harvard.edu/saoimageds9
 - Missing TOPCAT: http://www.star.bris.ac.uk/~mbt/topcat/

You can use your package manager for easy and fast installation of all
dependencies in one command. See the link below:
  https://www.gnu.org/s/gnuastro/manual/html_node/Dependencies-from-package-managers.html

If you have already installed a dependency (for example in '/install/path'),
but this script can't link with it, add the path to the LDFLAGS, CPPFLAGS and
LD_LIBRARY_PATH environment variables before running configure. For example
with the following commands (just correct the '/install/path' part).
  $ export LDFLAGS="$LDFLAGS -L/install/path/lib"
  $ export CPPFLAGS="$CPPFLAGS -I/install/path/include"
  $ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/install/path/lib"

TIP: Put these commands in your startup file (for example '~/.bashrc') to
avoid similar problems later. See the link below to learn more:
  https://www.gnu.org/s/gnuastro/manual/html_node/Installation-directory.html


configure: error: Mandatory dependency(s) missing, === SEE MESSAGE ABOVE ===.
[philwyett@ks-kenobi gnuastro]$ sudo dnf list installed | grep cfitsio
[sudo] password for philwyett:
cfitsio.x86_64                                   4.1.0-1.el9                         @epel              
cfitsio-devel.x86_64                             4.1.0-1.el9                         @epel

Phil Wyett <kathenas>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Posted a comment)
  • -email is unavailable- added by kathenas (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-e31b.
    Corresponding source code