[MINC-users] configure options

Mishkin Derakhshan mishkind at gmail.com
Wed Aug 25 15:30:18 EDT 2010


Hi,

I'm having some problems understanding how to control ./configure.
How do you tell configure to look in a custom place for libraries that
it can't find?

When trying to compile I get an error like this:
./configure --prefix=/home/mishkin/development/source_code/bicpl-1.4.6/
.
.
.
checking for library m... yes
checking for library netcdf... yes
checking for library minc... no
configure: error: cannot find required library minc

I'm guessing this is because my system doesn't have the minc1
libraries installed in a default location. (For the record, are these
the .so, la or .a files that it is looking for?)

I thought I could have configure look in a custom location by using
the LDFLAGS (I tried CFLAGS as well):

export LDFLAGS=-L/home/mishkin/development/libs/
./configure --prefix=/home/mishkin/development/source_code/bicpl-1.4.6/

But I still get the same error.

/home/mishkin/development/libs/ contains:

opus[~/development/libs]$ ll libminc.*
-rwxr-xr-x 1 mishkin cta  70K 2008-09-22 17:58 libminc.so.0.7
-rwxr-xr-x 1 mishkin cta  63K 2008-09-22 17:58 libminc.so.0.6
-rwxr-xr-x 1 mishkin cta  70K 2008-09-22 17:58 libminc.so.0
-rwxr-xr-x 1 mishkin cta  70K 2008-09-22 17:58 libminc.so
-rwxr-xr-x 1 mishkin cta  770 2008-09-22 17:58 libminc.la
-rw-r--r-- 1 mishkin cta 388K 2008-09-22 17:58 libminc.a

I also tried
./configure --prefix=/home/mishkin/development/source_code/bicpl-1.4.6/
--with-build-path=/home/mishkin/development/libs/
but same error.

thanks,
mishkin


More information about the MINC-users mailing list