[Met_help] Problem with METv2.0

John Halley Gotway johnhg at ucar.edu
Wed May 12 10:10:24 MDT 2010


Asnor,

Hmmm, not sure what's going on here.  We haven't heard of many people having trouble building GSL.

Here's the steps I'd recommend for building GSL:

Retrieve a version of GSL from the web: ftp://ftp.gnu.org/gnu/gsl/gsl-1.14.tar.gz

mv gsl-1.14.tar.gz /home/ceambi/WRF/.
cd /home/ceambi/WRF
tar -xvzf gsl-1.14.tar.gz
cd gsl-1.14
./configure --prefix="/home/ceambi/WRF/gsl-1.14"
make
make install

That will build and install GSL-1.14 in the directory /home/ceambi/WRF/gsl-1.14.

And then, when you set up the MET Makefile, be sure to set:
   GSL_BASE = /home/ceambi/WRF/gsl-1.14

Please give those steps a try and let us know if you continue to experience problems.

Thanks,
John

Asnor Muizan Ishak wrote:
>   	
> Hi all,
>  
> When I ran the gsl-1.9 with make install and I got an errors which shows as below :
>  
> Making install in gsl
> make[1]: Entering directory `/home/ceambi/WRF/gsl-1.9/gsl'
> make[2]: Entering directory `/home/ceambi/WRF/gsl-1.9/gsl'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory `/home/ceambi/WRF/gsl-1.9/gsl'
> make[1]: Leaving directory `/home/ceambi/WRF/gsl-1.9/gsl'
> Making install in utils
> make[1]: Entering directory `/home/ceambi/WRF/gsl-1.9/utils'
> make[2]: Entering directory `/home/ceambi/WRF/gsl-1.9/utils'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory `/home/ceambi/WRF/gsl-1.9/utils'
> make[1]: Leaving directory `/home/ceambi/WRF/gsl-1.9/utils'
> Making install in sys
> make[1]: Entering directory `/home/ceambi/WRF/gsl-1.9/sys'
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
> -I..    -g -O2 -c -o prec.lo prec.c
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -c prec.c -o prec.o
> prec.c:23:29: error: gsl/gsl_machine.h: No such file or directory
> prec.c:24:31: error: gsl/gsl_precision.h: No such file or directory
> prec.c:26: error: '_GSL_PREC_T_NUM' undeclared here (not in a function)
> prec.c:27: error: 'GSL_DBL_EPSILON' undeclared here (not in a function)
> prec.c:28: error: 'GSL_FLT_EPSILON' undeclared here (not in a function)
> prec.c:29: error: 'GSL_SFLT_EPSILON' undeclared here (not in a function)
> prec.c:33: error: 'GSL_SQRT_DBL_EPSILON' undeclared here (not in a function)
> prec.c:34: error: 'GSL_SQRT_FLT_EPSILON' undeclared here (not in a function)
> prec.c:35: error: 'GSL_SQRT_SFLT_EPSILON' undeclared here (not in a function)
> prec.c:39: error: 'GSL_ROOT3_DBL_EPSILON' undeclared here (not in a function)
> prec.c:40: error: 'GSL_ROOT3_FLT_EPSILON' undeclared here (not in a function)
> prec.c:41: error: 'GSL_ROOT3_SFLT_EPSILON' undeclared here (not in a function)
> prec.c:45: error: 'GSL_ROOT4_DBL_EPSILON' undeclared here (not in a function)
> prec.c:46: error: 'GSL_ROOT4_FLT_EPSILON' undeclared here (not in a function)
> prec.c:47: error: 'GSL_ROOT4_SFLT_EPSILON' undeclared here (not in a function)
> prec.c:51: error: 'GSL_ROOT5_DBL_EPSILON' undeclared here (not in a function)
> prec.c:52: error: 'GSL_ROOT5_FLT_EPSILON' undeclared here (not in a function)
> prec.c:53: error: 'GSL_ROOT5_SFLT_EPSILON' undeclared here (not in a function)
> prec.c:57: error: 'GSL_ROOT6_DBL_EPSILON' undeclared here (not in a function)
> prec.c:58: error: 'GSL_ROOT6_FLT_EPSILON' undeclared here (not in a function)
> prec.c:59: error: 'GSL_ROOT6_SFLT_EPSILON' undeclared here (not in a function)
> make[1]: *** [prec.lo] Error 1
> make[1]: Leaving directory `/home/ceambi/WRF/gsl-1.9/sys'
> make: *** [install-recursive] Error 1
>  
> Any thoughts on how to fix this problem. Many thanks in advance.
>  
> With best regards,
> Asnor
> 
> 	
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Met_help mailing list
> Met_help at mailman.ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/met_help


More information about the Met_help mailing list