[Met_help] Installations Problems wit METv2.0

Paul Oldenburg pgoldenb at ucar.edu
Mon Apr 26 11:39:16 MDT 2010


Sandra,

First, we typically use the g++ compiler as opposed to gcc.  We're not sure
exactly what the difference between the two is, but this may help.  Also, there
appears to be a problem with your build of GSL, since the errors indicate that
the compiler cannot find types that are declared in the GSL library.  We suggest
that you try to rebuild the GSL library locally using g++ and link to that
instance in the MET Makefile.  If you have any questions, please let us know.

Thanks,

Paul


Sandra Mejìa wrote:
> Dear sirs:
> 
> I need help to resolve a problem with the installation program METv2.0, the
> error consist on the following:
> 
> *** Making vx_contable Library ***
> 
> gcc vx_contable.cc -Wall -Wshadow -static   -c -I..
> gcc vx_contable_stats.cc -Wall -Wshadow -static   -c -I.. -I/usr/include
> -I/usr/local/include
> In file included from ../vx_gsl_prob/vx_gsl_prob.h:
> 20,
>                  from ../vx_met_util/compute_ci.h:16,
>                  from ../vx_met_util/vx_met_util.h:17,
>                  from vx_contable_stats.cc:21:
> ../vx_gsl_prob/gsl_wavelet*** Making vx_contable Library ***
> 
> gcc vx_contable.cc -Wall -Wshadow -static   -c -I..
> gcc vx_contable_stats.cc -Wall -Wshadow -static   -c -I.. -I/usr/include
> -I/usr/local/include
> In file included from ../vx_gsl_prob/vx_gsl_prob.h:20,
>                  from ../vx_met_util/compute_ci.h:16,
>                  from ../vx_met_util/vx_met_util.h:17,
>                  from vx_contable_stats.cc:21:
> ../vx_gsl_prob/gsl_wavelet2d.h:27: error: expected initializer before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:28: error: variable or field ‘wavelet_free’
> declared void
> ../vx_gsl_prob/gsl_wavelet2d.h:28: error: ‘gsl_wavelet’ was not declared in
> this scope
> ../vx_gsl_prob/gsl_wavelet2d.h:28: error: ‘w’ was not declared in this scope
> ../vx_gsl_prob/gsl_wavelet2d.h:30: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:30: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:32: error: expected initializer before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:33: error: variable or field
> ‘wavelet_workspace_free’ declared void
> ../vx_gsl_prob/gsl_wavelet2d.h:33: error: ‘gsl_wavelet_workspace’ was not
> declared in this scope
> ../vx_gsl_prob/gsl_wavelet2d.h:33: error: ‘work’ was not declared in this
> scope
> ../vx_gsl_prob/gsl_wavelet2d.h:43: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:43: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:48: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:48: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:53: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:53: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:66: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:66: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:71: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:71: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:76: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:76: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_data_grids/grid_defs.h:391: warning: ‘pc_grids_data’ defined but not
> used
> ../vx_data_grids/grid_defs.h:426: warning: ‘st_grids_data’ defined but not
> used
> ../vx_data_grids/grid_defs.h:464: warning: ‘lc_grids_data’ defined but not
> used
> ../vx_data_grids/grid_defs.h:506: warning: ‘merc_grids_data’ defined but not
> used
> make[3]: *** [vx_contable_stats.o] Error 1
> make[2]: *** [vx_contable_all] Error 2
> make[1]: *** [libs] Error 2
> make: *** [all] Error 22d.h:27: error: expected initializer before ‘*’ token
> ../vx_gsl_prob/gsl_wavelet2d.h:28: error: variable or field ‘wavelet_free’
> declared void
> ../vx_gsl_prob/gsl_wavelet2d.h:28: error: ‘gsl_wavelet’ was not declared in
> this scope
> ../vx_gsl_prob/gsl_wavelet2d.h:28: error: ‘w’ was not declared in this scope
> ../vx_gsl_prob/gsl_wavelet2d.h:30: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:30: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:32: error: expected initializer before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:33: error: variable or field
> ‘wavelet_workspace_free’ declared void
> ../vx_gsl_prob/gsl_wavelet2d.h:33: error: ‘gsl_wavelet_workspace’ was not
> declared in this scope
> ../vx_gsl_prob/gsl_wavelet2d.h:33: error: ‘work’ was not declared in this
> scope
> ../vx_gsl_prob/gsl_wavelet2d.h:43: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:43: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:48: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:48: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:53: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:53: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:66: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:66: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:71: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:71: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:76: error: ISO C++ forbids declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:76: error: expected ‘,’ or ‘...’ before ‘*’
> token
> ../vx_data_grids/grid_defs.h:391: warning: ‘pc_grids_data’ defined but not
> used
> ../vx_data_grids/grid_defs.h:426: warning: ‘st_grids_data’ defined but not
> used
> ../vx_data_grids/grid_defs.h:464: warning: ‘lc_grids_data’ defined but not
> used
> ../vx_data_grids/grid_defs.h:506: warning: ‘merc_grids_data’ defined but not
> used
> make[3]: *** [vx_contable_stats.o] Error 1
> make[2]: *** [vx_contable_all] Error 2
> make[1]: *** [libs] Error 2
> make: *** [all] Error 2
> 
> I realy appreciate your assistance.
> 
> Best regards,
> 
> Sandra Mejía
> Msc in Meteorologica, Universidad Nacional de Colombia
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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