Installation Unsuitable Version Error Message

While build any packages from the source package if the supporting package version is incombitable.then we will not get any error message directly instead we will get error message in other format like Following.

1)Netcdf-4.2-Fortran Installation Error Message
----------------------------------------------
#./configure --prefix=/app/netcdf-4.2/ CPPFLAGS="-I/usr/include/c++/3.4.6/backward -I/app/netcdf-3.6.3/include/
 -L/app/netcdf-4.1.2/lib/ -lnetcdf  -L/opt/clustertest/composerxe/compiler/lib/intel64/ -lintlc -fPIC  -L/app/openmpi-1.6.4_intel/lib/ -lsvml"
--------------------------------------------
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DDLL_EXPORT -I/app/netcdf-3.6.3/include/ -g -O2 -MT fort-misc.lo -MD -MP -MF .deps/fort-misc.Tpo -c fort-misc.c  -fPIC -DPIC -o .libs/fort-misc.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DDLL_EXPORT -I/app/netcdf-3.6.3/include/ -g -O2 -MT fort-misc.lo -MD -MP -MF .deps/fort-misc.Tpo -c fort-misc.c -o fort-misc.o >/dev/null 2>&1
depbase=`echo fort-v2compat.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -DDLL_EXPORT  -I/app/netcdf-3.6.3/include/  -g -O2 -MT fort-v2compat.lo -MD -MP -MF $depbase.Tpo -c -o fort-v2compat.lo fort-v2compat.c &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DDLL_EXPORT -I/app/netcdf-3.6.3/include/ -g -O2 -MT fort-v2compat.lo -MD -MP -MF .deps/fort-v2compat.Tpo -c fort-v2compat.c  -fPIC -DPIC -o .libs/fort-v2compat.o
fort-v2compat.c: In function 'c_ncopn':
fort-v2compat.c:274: error: 'NC_CLASSIC_MODEL' undeclared (first use in this function)

fort-v2compat.c:274: error: (Each undeclared identifier is reported only once
fort-v2compat.c:274: error: for each function it appears in.)

make[3]: *** [fort-v2compat.lo] Error 1
make[3]: Leaving directory `/app/setups/netcdf-fortran-4.2/fortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/app/setups/netcdf-fortran-4.2/fortran'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/app/setups/netcdf-fortran-4.2'
make: *** [all] Error 2

SOLUTION : While Install the netcdf-4.2-Fortran but feed the netcdf-3.6.3 header file due to that we are facing the problem.But after feed netcdf-4.3.1(Higher version of netcdf) Header file then the problem has been resolved.

0 comments:

Post a Comment