[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #OJP-212167]: netCDF General - How can I install netCDF with my Mac Pro desktop?



OK, I see from your config.log that you have directories in your PATH that may 
be causing problems:

PATH: /usr/local/bin
PATH: /opt/pgi/osx86/7.0/bin
PATH: /opt/intel/fc/9.1.038/bin
PATH: /Users/d3p826/usr/local/bin
PATH: /opt/ibmcmp/xlf/8.1/bin
PATH: /sw/bin
PATH: /sw/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/binX11
PATH: /usr/X11R6/bin
PATH: /Applications/MATLAB7/bin/mac
PATH: /sw/etc/app-defaults

You have several directories containing compilers and you might be getting 
incompatible compiler versions.  Could you try building with just 

  $ export PATH=/bin:/usr/bin:/usr/local/bin
  $ ./configure
  $ make check
  $ make install

If this works, try to make use a minimum PATH to get the development 
environment you need.  If you have the Mac Developer Tools installed, you 
should probably have /bin and /usr/bin in your PATH ahead of things like 
/sw/bin, so common tools like "cc" and "make" are the Apple versions rather 
than versions from some other package system.  Just reordering your PATH 
directories might be enough, but it seems like a bad idea to have multiple 
compilers and development tools with the same name in different directories in 
your PATH unless you know which ones will be used together and why.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: OJP-212167
Department: Support netCDF
Priority: Normal
Status: Closed