Opened 15 years ago

Last modified 15 years ago

#22244 closed defect

ncview installation under MacOSX Snow Leopard — at Initial Version

Reported by: caroline.roelandt@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: ncview

Description

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 (0)

Note: See TracTickets for help on using tickets.