[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45406] netcdf package install fails
From: |
Yi-Hui Wang |
Subject: |
[Octave-bug-tracker] [bug #45406] netcdf package install fails |
Date: |
Tue, 20 Sep 2016 01:28:26 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7 |
Follow-up Comment #7, bug #45406 (project octave):
Hi,
I encountered a problem when I tried to install the netcdf package to octave
on my macbook (os x 10.9.5). I got similar error messages like Greg’s. I am
hoping to get advice from you here.
I defined PATH and LD_LIBRARY_PATH by adding export
PATH="/opt/local/bin:$PATH"
export LD_LIBRARY_PATH=“/opt/local/lib:$LD_LIBRARY_PATH" to the end of the
./bash_profile. They should correspond to the libraries, which are
/opt/local/bin/nc-config, and -L/opt/local/lib -lnetcdf -lhdf5_hl -lhdf5 -ldl
-lm -lz -lcurl, respectively. Despite of this setting, the installation still
fails.
I am not sure what I can do to solve this problem. I would be very appreciated
if anyone can help me out. Thank you very much.
Yi-Hui
My error message is here:
mkdir (/var/tmp/oct-oKDJX5)
untar (/Users/yihuiw/netcdf-1.0.11.tar.gz, /var/tmp/oct-oKDJX5)
checking for gcc... /usr/local/octave/3.8.0/bin/gcc-mp-4.7
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in
`/var/tmp/oct-oKDJX5/netcdf/src':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
pkg: error running the configure script for netcdf.
error: called from 'configure_make' in file
/usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/configure_make.m near
line 72, column 9
error: called from:
error: /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/private/install.m at
line 199, column 5
error: /usr/local/octave/3.8.0/share/octave/3.8.0/m/pkg/pkg.m at line 394,
column 9
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45406>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #45406] netcdf package install fails,
Yi-Hui Wang <=