[MacPorts] #22244: ncview installation under MacOSX Snow Leopard
MacPorts
noreply at macports.org
Mon Oct 26 05:57:45 PDT 2009
#22244: ncview installation under MacOSX Snow Leopard
---------------------------------------+------------------------------------
Reporter: caroline.roelandt@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone: MacPorts 1.8.2
Component: ports | Version: 1.8.1
Keywords: | Port: ncview
---------------------------------------+------------------------------------
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
--
Ticket URL: <http://trac.macports.org/ticket/22244>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list