Opened 15 years ago

Closed 15 years ago

#22244 closed defect (fixed)

ncview appears to be missing dependencies

Reported by: caroline.roelandt@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: ncview

Description (last modified by tobypeterson)

Hi, I tried to install ncview-1.93g using Macports, here is the all story:

sudo port install ncview
Password:
--->  Computing dependencies for ncview
--->  Fetching netcdf
--->  Attempting to fetch netcdf-4.0.1.tar.gz from http://arn.se.distfiles.macports.org/netcdf
--->  Verifying checksum(s) for netcdf
--->  Extracting netcdf
--->  Configuring netcdf
--->  Building netcdf
--->  Staging netcdf into destroot
--->  Installing netcdf @4.0.1_7
--->  Activating netcdf @4.0.1_7
--->  Cleaning netcdf
--->  Fetching ncview
--->  Attempting to fetch ncview-1.93e.tar.gz from http://arn.se.distfiles.macports.org/ncview
--->  Verifying checksum(s) for ncview
--->  Extracting ncview
--->  Applying patches to ncview
--->  Configuring ncview
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_ncview/work/ncview-1.93e" && ./configure --prefix=/opt/local --with-netcdf_incdir=/opt/local/include --with-netcdf_libdir=/opt/local/lib --with-bindir=/opt/local/bin " returned error 255
Command output: checking for gcc... /usr/bin/gcc-4.2
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ANSI C... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for X... no
Error, the X libraries and development headers must be installed for ncview to work!

Error: Status 1 encountered during processing.

I thought that the X libraries were installed by default ... Could someone help me with this ? Thanks, Caroline

Change History (3)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)
Milestone: MacPorts 1.8.2
Priority: HighNormal

comment:2 Changed 15 years ago by tobypeterson

Owner: changed from macports-tickets@… to takeshi@…
Summary: ncview installation under MacOSX Snow Leopardncview appears to be missing dependencies

Please remember to use WikiFormatting, and also don't set priority/milestone on tickets.

comment:3 Changed 15 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Fixed in r60178. I am not the maintainer ;-)

Note: See TracTickets for help on using tickets.