[MINC-users] Compilation problem with N3 package

Robert VINCENT minc-users@bic.mni.mcgill.ca
Thu, 13 Nov 2003 11:01:34 -0500


Andre,

Before you can install N3, you must install the CLAPACK libraries, which
are available at:

http://www.netlib.org/clapack/

	-bert

On Thu, 13 Nov 2003, Andre MATOS wrote:

> Hi all,
>
> I was trying to compile and install the N3 package into my Linux Red Hat
> 9, but I got an error in the configure step:
>
> [root@localhost N3]# ./configure --prefix=/usr/local/mni
> --with-build-path=/usr/local/mni
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking whether make sets $(MAKE)... (cached) yes
> checking for style of include used by make... GNU
> checking for gcc... /usr/bin/cc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /usr/bin/cc accepts -g... yes
> checking for /usr/bin/cc option to accept ANSI C... none needed
> checking dependency style of /usr/bin/cc... gcc3
> checking whether /usr/bin/cc and cc understand -c and -o together... yes
> checking whether we are using the GNU C++ compiler... yes
> checking whether /usr/bin/c++ accepts -g... yes
> checking dependency style of /usr/bin/c++... gcc3
> checking for ranlib... ranlib
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> getting info for version.h
> logname: no login name
> checking for library m... yes
> checking for library F77... no
> configure: error: cannot find required library F77
> [root@localhost N3]#
>
>
> The variables from my environment are setting as:
>
> export CPPFLAGS=-O
> export CC=/usr/bin/cc
> export CFLAGS=-O
> export FC=/usr/bin/g77
> export FFLAGS=-O
> export CXX=/usr/bin/c++
>
> export MNI_DATAPATH=/usr/local/mni/data
> export NETCDF_INCLUDE=/usr/local/mni/include
> export NETCDF_LIB=/usr/local/mni/lib
> export MINC_INCLUDE=/usr/local/mni/include
> export MINC_LIB=/usr/local/mni/lib
> export VOLUMEIO_INCLUDE=/usr/local/mni/include
> export VOLUMEIO_LIB=/usr/local/mni/lib
> export PERL=/usr/bin/perl
> export PERLLIB=/usr/local/mni/lib/perl5/site_perl
>
> I also attached the file config.log created by the configure to this
> email.
>
> I am using the latest version of N3 that I got using cvs from
> /softwares/source.
>
> Does anyone tried to compile into Red Hat Linux 9 or other Linux
> distribution?
>
> Thanks.
>
> --
> Andre Matos
> amatos@mrs.mni.mcgill.ca
>
>