From MAILER-DAEMON Mon Mar 20 11:59:23 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cpziN-0006uZ-Em
	for mharc-bug-gnuastro@gnu.org; Mon, 20 Mar 2017 11:59:23 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56845)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <krittapas@ufl.edu>) id 1cpywK-0003o7-9m
	for bug-gnuastro@gnu.org; Mon, 20 Mar 2017 11:09:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <krittapas@ufl.edu>) id 1cpywG-0005Er-0g
	for bug-gnuastro@gnu.org; Mon, 20 Mar 2017 11:09:44 -0400
Received: from smtp-prod06.osg.ufl.edu ([128.227.74.254]:40148
	helo=smtp.ufl.edu)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <krittapas@ufl.edu>) id 1cpywF-0005EK-Ns
	for bug-gnuastro@gnu.org; Mon, 20 Mar 2017 11:09:39 -0400
X-UFL-GatorLink-Authenticated: authenticated as  (<>) with  from 10.36.133.33
Received: from exmbxprd02.ad.ufl.edu ([10.36.133.33])
	by smtp.ufl.edu (8.14.4/8.14.4/3.0.0) with ESMTP id v2KF9Xck012180
	(version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)
	for <bug-gnuastro@gnu.org>; Mon, 20 Mar 2017 11:09:36 -0400
Received: from exmbxprd23.ad.ufl.edu (128.227.145.167) by
	exmbxprd02.ad.ufl.edu (10.36.133.33) with Microsoft SMTP Server (TLS)
	id 15.0.1210.3; Mon, 20 Mar 2017 11:09:34 -0400
Received: from exmbxprd23.ad.ufl.edu (2002:80e3:91a7::80e3:91a7) by
	exmbxprd23.ad.ufl.edu (2002:80e3:91a7::80e3:91a7) with Microsoft SMTP
	Server (TLS) id 15.0.1210.3; Mon, 20 Mar 2017 11:09:33 -0400
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (216.32.181.19)
	by exmbxprd23.ad.ufl.edu (128.227.145.167) with Microsoft SMTP Server
	(TLS)
	id 15.0.1210.3 via Frontend Transport; Mon, 20 Mar 2017 11:09:33 -0400
Received: from CY4PR08MB2824.namprd08.prod.outlook.com (10.173.59.138) by
	CY4PR08MB2821.namprd08.prod.outlook.com (10.173.59.135) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.947.12; Mon, 20 Mar 2017 15:09:30 +0000
Received: from CY4PR08MB2824.namprd08.prod.outlook.com ([10.173.59.138]) by
	CY4PR08MB2824.namprd08.prod.outlook.com ([10.173.59.138]) with mapi id
	15.01.0947.020; Mon, 20 Mar 2017 15:09:30 +0000
From: "Chanchaiworawit,Krittapas" <krittapas@ufl.edu>
To: "bug-gnuastro@gnu.org" <bug-gnuastro@gnu.org>
Thread-Topic: Error from make in installing CFITSIO and WCSLIB
Thread-Index: AQHSoYsGhAqhZD0REEOTcB4Y5GcNOQ==
Date: Mon, 20 Mar 2017 15:09:30 +0000
Message-ID: <CY4PR08MB2824AE13C40B0132DCEBBE0FAC3A0@CY4PR08MB2824.namprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: gnu.org; dkim=none (message not signed)
	header.d=none;gnu.org; dmarc=none action=none header.from=ufl.edu;
x-originating-ip: [128.227.66.103]
x-ms-office365-filtering-correlation-id: 015b209e-5776-433b-86d9-08d46fa31be8
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075);
	SRVR:CY4PR08MB2821; 
x-microsoft-exchange-diagnostics: 1; CY4PR08MB2821;
	7:ulsXYTujyh1KjB35H0yZOzfHLQN9NB8P331OOd13KU83FFynqFkavN6hZbcpYoJHv254ebkLWQacXKPDO2QlcLptbipL3OajLuKsYenmuzUie7v0S9dSe96llT76qyvoao8CwvmyZydOd91xoZoBYAChWl0W/YI7p2AMycAFR1FHvtXPrzR/LmV9KYTj6c/tahLX8msCHp8GY0XyI0ZHmkgGcac7xTs/ExScJoEdSGxuvAVw7YMcAltww/2jaRgs0YFUtpgbgzssTkCDrDKCO2Ot94jxkCnNysAejSG0rYcwnhYwHlFiW2ymr31zwJnTZQy2c/oyRVQhsMXesYa6+Q==
x-microsoft-antispam-prvs: <CY4PR08MB2821808AF584770E0865EA54AC3A0@CY4PR08MB2821.namprd08.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
	RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123564025)(20161123558025)(20161123560025)(20161123555025)(20161123562025)(6042181)(6072148);
	SRVR:CY4PR08MB2821; BCL:0; PCL:0; RULEID:; SRVR:CY4PR08MB2821; 
x-forefront-prvs: 02524402D6
x-forefront-antispam-report: SFV:NSPM;
	SFS:(10009020)(45984002)(2900100001)(88552002)(6116002)(3280700002)(3660700001)(53936002)(54896002)(99286003)(2906002)(77096006)(50986999)(25786008)(6916009)(74316002)(8676002)(75432002)(81166006)(7736002)(6606003)(3846002)(122556002)(2351001)(8936002)(6506006)(54356999)(5660300001)(33656002)(66066001)(19627405001)(102836003)(5640700003)(6436002)(86362001)(55016002)(2501003)(53336002)(189998001)(9686003)(7696004)(38730400002)(110136004);
	DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR08MB2821;
	H:CY4PR08MB2824.namprd08.prod.outlook.com; FPR:; SPF:None;
	MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative;
	boundary="_000_CY4PR08MB2824AE13C40B0132DCEBBE0FAC3A0CY4PR08MB2824namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2017 15:09:30.3207 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0d4da0f8-4a31-4d76-ace6-0a62331e1b84
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR08MB2821
X-OriginatorOrg: ufl.edu
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, ,
	definitions=2017-03-20_12:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
	suspectscore=0
	malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam
	adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001
	definitions=main-1703200131
X-UFL-Spam-Level: *
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 128.227.74.254
X-Mailman-Approved-At: Mon, 20 Mar 2017 11:59:21 -0400
Subject: [bug-gnuastro] Error from make in installing CFITSIO and WCSLIB
X-BeenThere: bug-gnuastro@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU Astronomy Utilities Bug reports <bug-gnuastro.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnuastro>,
	<mailto:bug-gnuastro-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnuastro/>
List-Post: <mailto:bug-gnuastro@gnu.org>
List-Help: <mailto:bug-gnuastro-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnuastro>,
	<mailto:bug-gnuastro-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Mar 2017 15:09:45 -0000

--_000_CY4PR08MB2824AE13C40B0132DCEBBE0FAC3A0CY4PR08MB2824namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear admin,

            I am new to GNU astro.
I and my collaborators try to get the program to work for improving our dat=
a 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 WCSL=
IB.
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



--_000_CY4PR08MB2824AE13C40B0132DCEBBE0FAC3A0CY4PR08MB2824namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font=
-family:Calibri,Arial,Helvetica,sans-serif;" dir=3D"ltr">
<p>Dear admin,&nbsp;<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I am new to GNU astro.&nbsp;<br>
I and my&nbsp;collaborators try to get the program to work for improving ou=
r data of high-z galaxies detection.&nbsp;<br>
I am&nbsp;installing the mandatory dependencies right now. <br>
The GNU Scientific Library was&nbsp;installed &nbsp;just fine. <br>
However, I ran into errors from running make for CFITSIO and configure&nbsp=
;WCSLIB. <br>
Here are the error messages:&nbsp;</p>
<p><br>
[CFITSIO] during &quot;make&quot;</p>
<p><br>
</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
<b>drvrsmem.c:78:16: </b><span style=3D"color: rgb(195, 55, 32);"><b>error:=
 </b></span><b>variable has incomplete type 'union semun'</b></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
&nbsp;&nbsp; union semun filler;</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, =
38);">
<b>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</b></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
<b>drvrsmem.c:78:10: note: </b>forward declaration of 'union semun'</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
&nbsp;&nbsp; union semun filler;</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, =
38);">
<b>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ^</b></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
<b>drvrsmem.c:331:16: </b><span style=3D"color: rgb(195, 55, 32);"><b>error=
: </b></span><b>variable has incomplete type 'union semun'</b></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
&nbsp;{ union semun su;</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, =
38);">
<b>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</b></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
<b>drvrsmem.c:331:10: note: </b>forward declaration of 'union semun'</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
&nbsp;{ union semun su;</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, =
38);">
<b>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ^</b></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
<b>drvrsmem.c:396:16: </b><span style=3D"color: rgb(195, 55, 32);"><b>error=
: </b></span><b>variable has incomplete type 'union semun'</b></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
&nbsp;&nbsp; union semun filler;</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, =
38);">
<b>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</b></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
<b>drvrsmem.c:396:10: note: </b>forward declaration of 'union semun'</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
&nbsp;&nbsp; union semun filler;</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 189, =
38);">
<b>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; ^</b></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
3 errors generated.</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
make[1]: *** [drvrsmem.o] Error 1</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
make: *** [all] Error 2</p>
&nbsp;
<p></p>
<p><span style=3D"font-family: Calibri, Arial, Helvetica, sans-serif, &quot=
;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot=
;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size:=
 16px;">[WCSLIB] during &quot;configure&quot;</span></p>
<p><span style=3D"font-family: Calibri, Arial, Helvetica, sans-serif, &quot=
;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot=
;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size:=
 16px;"></span></p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
configure: error: in `/Users/krc213/GNU_Astro/wcslib-5.16':</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
configure: error: linking to Fortran libraries from C fails</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
<br>
</p>
<p style=3D"margin: 0px; font-style: normal; font-variant-ligatures: normal=
; font-variant-caps: normal; font-weight: normal; font-stretch: normal; fon=
t-size: 11px; line-height: normal; font-family: Menlo;">
<span style=3D"font-family: Arial, Helvetica, sans-serif; font-size: 12pt;"=
>Please help.&nbsp;</span><br>
<span style=3D"font-family: Arial, Helvetica, sans-serif; font-size: 12pt;"=
>Thank you very much.&nbsp;</span><br>
<br>
<span style=3D"font-family: Arial, Helvetica, sans-serif; font-size: 12pt;"=
>Best Regards,&nbsp;</span><br>
<span style=3D"font-family: Arial, Helvetica, sans-serif; font-size: 12pt;"=
>Krittapas Chanchaiworawit</span><br>
<span style=3D"font-family: Arial, Helvetica, sans-serif; font-size: 12pt;"=
>Department of Astronomy</span><br>
<span style=3D"font-family: Arial, Helvetica, sans-serif; font-size: 12pt;"=
>University of Florida</span></p>
<br>
<br>
<p></p>
</div>
</body>
</html>

--_000_CY4PR08MB2824AE13C40B0132DCEBBE0FAC3A0CY4PR08MB2824namp_--


From MAILER-DAEMON Mon Mar 20 12:53:01 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cq0YH-0004fz-7r
	for mharc-bug-gnuastro@gnu.org; Mon, 20 Mar 2017 12:53:01 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36321)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akhlaghi@gnu.org>) id 1cq0YF-0004fs-8I
	for bug-gnuastro@gnu.org; Mon, 20 Mar 2017 12:53:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <akhlaghi@gnu.org>) id 1cq0YA-0002En-Jo
	for bug-gnuastro@gnu.org; Mon, 20 Mar 2017 12:52:59 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36296)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <akhlaghi@gnu.org>)
	id 1cq0YA-0002Ej-Gb; Mon, 20 Mar 2017 12:52:54 -0400
Received: from 168.1.126.78.rev.sfr.net ([78.126.1.168]:53138
	helo=[192.168.1.48])
	by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
	(Exim 4.82) (envelope-from <akhlaghi@gnu.org>)
	id 1cq0Y9-00069c-QL; Mon, 20 Mar 2017 12:52:54 -0400
To: "Chanchaiworawit,Krittapas" <krittapas@ufl.edu>
References: <CY4PR08MB2824AE13C40B0132DCEBBE0FAC3A0@CY4PR08MB2824.namprd08.prod.outlook.com>
Cc: "bug-gnuastro@gnu.org" <bug-gnuastro@gnu.org>
From: Mohammad Akhlaghi <akhlaghi@gnu.org>
Message-ID: <61a63025-97a7-da13-1c38-6c0c974cb5e2@gnu.org>
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
MIME-Version: 1.0
In-Reply-To: <CY4PR08MB2824AE13C40B0132DCEBBE0FAC3A0@CY4PR08MB2824.namprd08.prod.outlook.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
Subject: Re: [bug-gnuastro] Error from make in installing CFITSIO and WCSLIB
X-BeenThere: bug-gnuastro@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: GNU Astronomy Utilities Bug reports <bug-gnuastro.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnuastro>,
	<mailto:bug-gnuastro-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnuastro/>
List-Post: <mailto:bug-gnuastro@gnu.org>
List-Help: <mailto:bug-gnuastro-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnuastro>,
	<mailto:bug-gnuastro-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Mar 2017 16:53:00 -0000

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: ccfits@heasarc.gsfc.nasa.gov

  - WCSLIB:  Its author (Mark R. Calabretta) at mcalabre@atnf.csiro.au

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.


