[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #GSF-826536]: build of 4.3 with dap support fails
- Subject: [netCDF #GSF-826536]: build of 4.3 with dap support fails
- Date: Sun, 09 Jun 2013 14:08:13 -0600
Hi Brian,
> Full Name: Brian Blanton
> Organization: The University of North Carolina at Chapel Hill
> Package Version: 4.3
> Operating System: MAC OS X 10.6.8
> Hardware: Mac Pro, 12-core
> Description of problem:
>
> When building 4.3 with dap enabled, the following error occurs:
>
> Making all in libdap2
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
> -I../include -I../oc2 -I../libsrc4 -I/opt/include -g -O2 -MT
> libdap2_la-daputil.lo -MD -MP -MF .deps/libdap2_la-daputil.Tpo -c -o
> libdap2_la-daputil.lo `test -f 'daputil.c' || echo './'`daputil.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../oc2
> -I../libsrc4 -I/opt/include -g -O2 -MT libdap2_la-daputil.lo -MD -MP -MF
> .deps/libdap2_la-daputil.Tpo -c daputil.c -fno-common -DPIC -o
> .libs/libdap2_la-daputil.o
> In file included from ncdap3.h:12,
> from daputil.c:16:
> /usr/include/unistd.h:117: error: two or more data types in declaration
> specifiers
> make[2]: *** [libdap2_la-daputil.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
I can't duplicate the problem on OSX 10.8.4.
I notice in the conf.log output you attached, you have this:
checking CPPFLAGS... -I/opt/include
which may be the cause of the problem. That CPPFLAGS setting to /opt/include
may be including a version of a standard Unix header file that conflicts with
the
header files in /usr/include. Could you try again, unsetting CPPFLAGS first,
and
see if the error still occurs?
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: GSF-826536
Department: Support netCDF
Priority: Normal
Status: Closed