﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1044	psckeckperl -build tries to build Astro-FITS-CFITSIO against default include/lib directory without checking whether cfitsio actually lives there	jester@…	eugene	"psckeckperl -build tries to build Astro-FITS-CFITSIO against non-existent include directory - it uses /usr/local/cfitsio as default location for cfitsio headers and library files without checking whether that directory exists or whether cfitsio is anywhere near /usr/local (/usr/local/lib seemed to work!)

The installation of Astro-FITS-CFITSIO worked after setting the CFITSIO environment variable to the IPP install dir, where cfitsio does exist.

Below the output from the failed run:

tar xvzf Astro-FITS-CFITSIO-1.05.tar.gz
Astro::FITS::CFITSIO: missing
extract Astro::FITS::CFITSIO from Astro-FITS-CFITSIO-1.05.tar.gz
Astro-FITS-CFITSIO-1.05/
Astro-FITS-CFITSIO-1.05/util.h
Astro-FITS-CFITSIO-1.05/util.c
...
perl Makefile.PL PREFIX=/IPP//ipp-2.4.lin64 LIB=/IPP//ipp-2.4.lin64/lib
tardir: Astro-FITS-CFITSIO-1.05
CFITSIO environment variable not found, assuming /usr/local/cfitsio
Note (probably harmless): No library found for -lcfitsio
Writing Makefile for Astro::FITS::CFITSIO
make < /dev/null
cc -c  -I/usr/local/cfitsio -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe   -DVERSION=\""1.05\"" -DXS_VERSION=\""1.05\"" -fPIC ""-I/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE""   CFITSIO.c
CFITSIO.xs:11:20: error: fitsio.h: No such file or directory
In file included from CFITSIO.xs:12:
util.h:10: error: expected specifier-qualifier-list before $-1Ã²Ã¸fitsfileÃ²Ã¹
util.h:32: error: expected $-1Ã²Ã¸)Ã²Ã¹ before Ã²Ã¸nÃ²Ã¹
util.h:33: error: expected declaration specifiers or $-1Ã²Ã¸...Ã²Ã¹ before Ã²Ã¸LONGLONGÃ²Ã¹
util.h:34: error: expected declaration specifiers or $-1Ã²Ã¸...Ã²Ã¹ before Ã²Ã¸LONGLONGÃ²Ã¹
util.h:35: error: expected declaration specifiers or $-1Ã²Ã¸...Ã²Ã¹ before Ã²Ã¸LONGLONGÃ²Ã¹
util.h:36: error: expected declaration specifiers or $-1Ã²Ã¸...Ã²Ã¹ before Ã²Ã¸LONGLONGÃ²Ã¹
util.h:37: error: expected declaration specifiers or $-1Ã²Ã¸...Ã²Ã¹ before Ã²Ã¸LONGLONGÃ²Ã¹
util.h:39: error: expected declaration specifiers or $-1Ã²Ã¸...Ã²Ã¹ before Ã²Ã¸LONGLONGÃ²Ã¹
util.h:45: error: expected $-1Ã²Ã¸)Ã²Ã¹ before Ã²Ã¸*Ã²Ã¹ token
util.h:48: error: expected declaration specifiers or $-1Ã²Ã¸...Ã²Ã¹ before Ã²Ã¸LONGLONGÃ²Ã¹"	enhancement	closed	high		psconfig	unspecified	minor	fixed		
