[MacPorts] #24322: nco-4.0.0 Configure error: shell command returned error 1

MacPorts noreply at macports.org
Thu Apr 1 17:51:39 PDT 2010


#24322: nco-4.0.0 Configure error: shell command returned error 1
----------------------------------------+-----------------------------------
 Reporter:  iprc-help@…                 |       Owner:  takeshi@…           
     Type:  defect                      |      Status:  new                 
 Priority:  Normal                      |   Milestone:                      
Component:  ports                       |     Version:  1.8.2               
 Keywords:                              |        Port:  nco                 
----------------------------------------+-----------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => takeshi@…
  * keywords:  nco configure error 1 shell command =>


Old description:

> (((Attached port -d output)))
>
> [nil:~] iprc% sudo port install nco
> --->  Computing dependencies for nco
> --->  Configuring nco
> Error: Target org.macports.configure returned: configure failure: shell
> command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_nco/work/nco-4.0.0"
> && ./configure --prefix=/opt/local --disable-dependency-tracking
> --mandir=/opt/local/share/man --enable-udunits --disable-udunits2
> --enable-dap-netcdf --disable-dap-opendap --enable-netcdf4 " returned
> error 1
> Command output: checking for netinet/in.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking cstdlib usability... yes
> checking cstdlib presence... yes
> checking for cstdlib... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for pid_t... yes
> checking for size_t... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for uid_t in sys/types.h... yes
> checking for ptrdiff_t... yes
> checking size of int*... 8
> checking whether C++ compiler implements namespaces... yes
> checking whether C++ compiler has working valarray<T>... yes
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> Beginning generic tests for DAP support
> DEBUG: enable_dap_netcdf = yes and enable_dap_opendap = no
> Testing for DAP-netCDF support (is DAP in libnetcdf.a?)...
> checking for nc__opendap in -lnetcdf... no
> configure: WARNING: DAP-netCDF support through libnetCDF disabled
> (missing DAP library)
> checking netcdf.h usability... no
> checking netcdf.h presence... no
> checking for netcdf.h... no
> configure: error: in
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_nco/work/nco-4.0.0':
> configure: error: cannot find netCDF header
> See `config.log' for more details.
>
> Error: Status 1 encountered during processing.
> Before reporting a bug, first run the command again with the -d flag to
> get complete output.

New description:

 (((Attached port -d output)))

 {{{
 [nil:~] iprc% sudo port install nco
 --->  Computing dependencies for nco
 --->  Configuring nco
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_nco/work/nco-4.0.0"
 && ./configure --prefix=/opt/local --disable-dependency-tracking
 --mandir=/opt/local/share/man --enable-udunits --disable-udunits2
 --enable-dap-netcdf --disable-dap-opendap --enable-netcdf4 " returned
 error 1
 Command output: checking for netinet/in.h... yes
 checking for stdlib.h... (cached) yes
 checking for string.h... (cached) yes
 checking for unistd.h... (cached) yes
 checking cstdlib usability... yes
 checking cstdlib presence... yes
 checking for cstdlib... yes
 checking for an ANSI C-conforming const... yes
 checking for inline... inline
 checking for pid_t... yes
 checking for size_t... yes
 checking whether struct tm is in sys/time.h or time.h... time.h
 checking for uid_t in sys/types.h... yes
 checking for ptrdiff_t... yes
 checking size of int*... 8
 checking whether C++ compiler implements namespaces... yes
 checking whether C++ compiler has working valarray<T>... yes
 checking for special C compiler options needed for large files... no
 checking for _FILE_OFFSET_BITS value needed for large files... no
 Beginning generic tests for DAP support
 DEBUG: enable_dap_netcdf = yes and enable_dap_opendap = no
 Testing for DAP-netCDF support (is DAP in libnetcdf.a?)...
 checking for nc__opendap in -lnetcdf... no
 configure: WARNING: DAP-netCDF support through libnetCDF disabled (missing
 DAP library)
 checking netcdf.h usability... no
 checking netcdf.h presence... no
 checking for netcdf.h... no
 configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_nco/work/nco-4.0.0':
 configure: error: cannot find netCDF header
 See `config.log' for more details.

 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/24322#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list