Opened 15 years ago
Closed 15 years ago
#24322 closed defect (fixed)
nco-4.0.0 Configure error: shell command returned error 1
Reported by: | iprc-help@… | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | nco |
Description (last modified by mf2k (Frank Schima))
(((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.
Attachments (1)
Change History (4)
Changed 15 years ago by iprc-help@…
Attachment: | ncodebug.rtf added |
---|
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | nco configure error 1 shell command removed |
Owner: | changed from macports-tickets@… to takeshi@… |
comment:2 Changed 15 years ago by tenomoto (Takeshi Enomoto)
I made a small change in r65944: I removed dependency to libdap, which would not however solve the problem. I tried building from scratch (after port uninstall installed) but I cannot reproduce your problem. If you attach config.log I might be able to find the problem. Please attach a text file rather than a rtf since Trac cannot generate an HTML preview.
comment:3 Changed 15 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r65962.
Note: See
TracTickets for help on using
tickets.
port -d install nco output