[MINC-development] can't find netcdf...?

Andrew Janke minc-development@bic.mni.mcgill.ca
Fri, 7 Nov 2003 13:53:01 -0500


On Fri, 7 Nov 2003, Vicka Corey wrote:

> i am having a rather frustrating time with (yet another!) attempt
> to build 1.1 under os x.
>
> my current grievance is:
>
> i'm in: /private/homes/6/vicka/mni/src/minc-1.1
> i run configure
> it fails at:
> checking for library netcdf... no
> configure: error: cannot find required library netcdf
>
> thing is...i just *built* a new shiny netcdf.  it is in:
> ocelot:vicka[462] ls -lL /usr/pubsw/lib/libnetcdf.a
> -rw-rw-r--  1 pubsw  pubsw  238212 Nov  7 12:52 /usr/pubsw/lib/libnetcdf.a
>
> ocelot:vicka[464] ls -l /usr/lib/libnetcdf*
> -rw-r--r--  1 root  wheel  238212 Nov  7 13:10 /usr/lib/libnetcdf.a

the configure script is most likely also looking for netcdf.h.

> fwiw, using --build-prefix worked around this for a part of the package
> that supported that, but this one doesn't recognize it.

--build-prefix or --with-build-prefix?   (configure --help)

I'm guessing:

  $ ./configure --with-build-prefix=/usr/pubsw

will work.

--
Andrew Janke   ( rotor@cmr.uq.edu.au || www.cmr.uq.edu.au/~rotor )
Australia->University of Queensland->Centre for Magnetic Resonance
W: +61 7 3365 4100  ||  H: +61 7 3800 4042  ||  M: +61 4 2138 8581