Re: Building netcdf-4-alpha on Mac OS X with xlf

"Jed O. Kaplan" <jed.kaplan@xxxxxxxxxxxx> writes:

> Hello all,
>
> I am attempting to build netcdf-4.0-alpha11 on Mac OS X 10.4 with
> gcc4 and IBM xlf90 Fortran.
>
> I have not managed to get beyond compiling the netCDF-3 interface at
> this point, compilation works fine until the f90 compile, when the
> build halts with this error:
>
> Making all in f90
> /bin/sh ../libtool --mode=compile xlf90 -I../libsrc -I. -g -
> qsuffix=f=f90 -c -o typeSizes.lo typeSizes.f90
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
>
> I did a bit of googling on this problem and tried to solve it by
> installing the latest libtool (2.1a) and automake (1.9.4) and
> autoconf (2.59), but it didn't seem to help.
>
> Any advice would be much appreciated!
>
> Thanks,
>
> Jed Kaplan

I've put a new release, alpha12, on the netCDF ftp site:

ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.0-alpha12.tar.gz

This release was built with the latest libtool, and does not
suffer this libtool problem on the AIX platform.

I built and tested the alpha 12 release on AIX with the following
command:

CC=xlc ./configure --disable-shared --disable-cxx --enable-netcdf-4 
--with-hdf5=/home/bluesky/edh/local --prefix=/home/bluesky/edh/local && make 
check

I am using HDF5 1.7.52.

(Also, when building HDF5, you MUST first build zlib, and then build
HDF5 with the --with-zlib=/wherever configure option).

Sorry about the complex install, I am working on that problem...

Let me know if this doesn't work for you.

Thanks,

Ed


-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx


  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: