[Met_help] [rt.rap.ucar.edu #77086] History for Failure To Build MET 5.1 (with bugfix)

Julie Prestopnik via RT met_help at ucar.edu
Tue Jul 19 10:05:07 MDT 2016


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Good Day,


I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your website.


Following the instructions in the documentation and on your website, I am failing to compile the software successfully with the following error message(s):


Making all in vx_config
make[4]: Entering directory `/wrf/enh/met-5.1_bugfix/src/basic/vx_config'
make[4]: *** No rule to make target `config.tab.yy', needed by `config.tab.cc'.  Stop.
make[4]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic/vx_config'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
make: *** [all] Error 2


This issue is the same as issue number 75063 where you provided modified "makefile"s due to issues with lex and bison.


Could you be so kind as to provide the fixed makefiles? I am assuming this issue is still relevant.


Many thanks.


Best Regards,

Greg Clarke


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Failure To Build MET 5.1 (with bugfix)
From: Julie Prestopnik
Time: Mon Jul 11 09:29:12 2016

Hi Greg.  I am sorry to hear that you are having difficulty compiling
METv5.1.  Thank you for looking into the problem and for finding the
solution in a previous met_help ticket.    Yes, the issue is still
relevant.

Please proceed in the following way:

- unpack the met-5.1 tarball.
- apply the met-5.1 patches.
- update the Makefiles with the ones that are attached here (in the
way I describe below).
- run configure.
- run make install.

I have attached two files which I modified:

vx_color.Makefile.in
vx_config.Makefile.in

Please take vx_color.Makefile.in, rename it to Makefile.in and place
it in your src/libcode/vx_color/ directory, replacing the existing
Makefile.in file.

Please take vx_config.Makefile.in, rename it to Makefile.in and place
it in your  src/basic/vx_config/ directory, replacing the existing
Makefile.in file.

Please give that a try and let me know how it works out for you.

Thanks,
Julie

On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
> Transaction: Ticket created by gsclarke2 at outlook.com
>        Queue: met_help
>      Subject: Failure To Build MET 5.1 (with bugfix)
>        Owner: Nobody
>   Requestors: gsclarke2 at outlook.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
>
> Good Day,
>
>
> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>
>
> Following the instructions in the documentation and on your website,
I am failing to compile the software successfully with the following
error message(s):
>
>
> Making all in vx_config
> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
> make: *** [all] Error 2
>
>
> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>
>
> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>
>
> Many thanks.
>
>
> Best Regards,
>
> Greg Clarke
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Failure To Build MET 5.1 (with bugfix)
From: Gregory Clarke
Time: Mon Jul 11 23:11:29 2016

Hi Julie,


Many thanks for your prompt response and files. I have followed your
instructions and have got past that issue.


Now, I have run into the following problem:


==============


Making install in vx_nc_util
make[3]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata
-I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util -I/wrf/enh/extlibs//include
-I/wrf/enh/extlibs/include/gsl -DBLOCK4 -DMET_BASE="\"/wrf/enh/met-
5.1_bugfix/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o -MD -MP
-MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
In file included from nc_var_info.cc:24:0:
nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or directory
 #include <netcdf.hh>
                     ^
compilation terminated.
make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
make[3]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/libcode'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
make: *** [install-recursive] Error 1


=============


The following environment variables are configured for the build:


MET_NETCDF=/wrf/enh/extlibs/
MET_GSL=/wrf/enh/extlibs/
MET_BUFRLIB=/wrf/enh/extlibs/lib
MET_BUFR=/wrf/enh/extlibs/
MET_GSLINC=/wrf/enh/extlibs/include/gsl
MET_GSLLIB=/wrf/enh/extlibs/lib/


The netCDF headers and libraries are installed correctly as I have
built other tools with them and have had no issues, so I am not
certain whether this is an environmental issue or another Makefile
problem.


Thanks,

Greg





________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Monday, July 11, 2016 3:29:13 PM
To: gsclarke2 at outlook.com
Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)

Hi Greg.  I am sorry to hear that you are having difficulty compiling
METv5.1.  Thank you for looking into the problem and for finding the
solution in a previous met_help ticket.    Yes, the issue is still
relevant.

Please proceed in the following way:

- unpack the met-5.1 tarball.
- apply the met-5.1 patches.
- update the Makefiles with the ones that are attached here (in the
way I describe below).
- run configure.
- run make install.

I have attached two files which I modified:

vx_color.Makefile.in
vx_config.Makefile.in

Please take vx_color.Makefile.in, rename it to Makefile.in and place
it in your src/libcode/vx_color/ directory, replacing the existing
Makefile.in file.

Please take vx_config.Makefile.in, rename it to Makefile.in and place
it in your  src/basic/vx_config/ directory, replacing the existing
Makefile.in file.

Please give that a try and let me know how it works out for you.

Thanks,
Julie

On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
> Transaction: Ticket created by gsclarke2 at outlook.com
>        Queue: met_help
>      Subject: Failure To Build MET 5.1 (with bugfix)
>        Owner: Nobody
>   Requestors: gsclarke2 at outlook.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
>
> Good Day,
>
>
> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>
>
> Following the instructions in the documentation and on your website,
I am failing to compile the software successfully with the following
error message(s):
>
>
> Making all in vx_config
> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
> make: *** [all] Error 2
>
>
> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>
>
> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>
>
> Many thanks.
>
>
> Best Regards,
>
> Greg Clarke
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with bugfix)
From: Julie Prestopnik
Time: Tue Jul 12 10:09:41 2016

Hi Gregory.

I see from the error message:

nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or directory

that the compiler can't find the NetCDF header files it needs.  MET
needs to be compiled using a version of NetCDF that compiled using the
same compilers you're using for MET, which is the GNU compilers.  I
see that you have set the MET_NETCDF environment variable.

Could you please run:

"ls  /wrf/enh/extlibs/include/netcdf.hh"

to verify that the netcdf.hh file exists in that location?

Could you also please send your config.log file and your
make_install.log file?

Thanks!

Julie

On Mon, Jul 11, 2016 at 11:11 PM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
> Hi Julie,
>
>
> Many thanks for your prompt response and files. I have followed your
instructions and have got past that issue.
>
>
> Now, I have run into the following problem:
>
>
> ==============
>
>
> Making install in vx_nc_util
> make[3]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata -I../!
>  ../../src/libcode/vx_statistics -I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util -I/wrf/enh/extlibs//include
-I/wrf/enh/extlibs/include/gsl -DBLOCK4 -DMET_BASE="\"/wrf/enh/met-
5.1_bugfix/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o -MD -MP
-MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
> In file included from nc_var_info.cc:24:0:
> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>  #include <netcdf.hh>
>                      ^
> compilation terminated.
> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
> make[3]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/libcode'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
> make: *** [install-recursive] Error 1
>
>
> =============
>
>
> The following environment variables are configured for the build:
>
>
> MET_NETCDF=/wrf/enh/extlibs/
> MET_GSL=/wrf/enh/extlibs/
> MET_BUFRLIB=/wrf/enh/extlibs/lib
> MET_BUFR=/wrf/enh/extlibs/
> MET_GSLINC=/wrf/enh/extlibs/include/gsl
> MET_GSLLIB=/wrf/enh/extlibs/lib/
>
>
> The netCDF headers and libraries are installed correctly as I have
built other tools with them and have had no issues, so I am not
certain whether this is an environmental issue or another Makefile
problem.
>
>
> Thanks,
>
> Greg
>
>
>
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Monday, July 11, 2016 3:29:13 PM
> To: gsclarke2 at outlook.com
> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)
>
> Hi Greg.  I am sorry to hear that you are having difficulty
compiling
> METv5.1.  Thank you for looking into the problem and for finding the
> solution in a previous met_help ticket.    Yes, the issue is still
> relevant.
>
> Please proceed in the following way:
>
> - unpack the met-5.1 tarball.
> - apply the met-5.1 patches.
> - update the Makefiles with the ones that are attached here (in the
> way I describe below).
> - run configure.
> - run make install.
>
> I have attached two files which I modified:
>
> vx_color.Makefile.in
> vx_config.Makefile.in
>
> Please take vx_color.Makefile.in, rename it to Makefile.in and place
> it in your src/libcode/vx_color/ directory, replacing the existing
> Makefile.in file.
>
> Please take vx_config.Makefile.in, rename it to Makefile.in and
place
> it in your  src/basic/vx_config/ directory, replacing the existing
> Makefile.in file.
>
> Please give that a try and let me know how it works out for you.
>
> Thanks,
> Julie
>
> On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
> <met_help at ucar.edu> wrote:
>>
>> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
>> Transaction: Ticket created by gsclarke2 at outlook.com
>>        Queue: met_help
>>      Subject: Failure To Build MET 5.1 (with bugfix)
>>        Owner: Nobody
>>   Requestors: gsclarke2 at outlook.com
>>       Status: new
>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>
>>
>> Good Day,
>>
>>
>> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>>
>>
>> Following the instructions in the documentation and on your
website, I am failing to compile the software successfully with the
following error message(s):
>>
>>
>> Making all in vx_config
>> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
>> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
>> make: *** [all] Error 2
>>
>>
>> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>>
>>
>> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>>
>>
>> Many thanks.
>>
>>
>> Best Regards,
>>
>> Greg Clarke
>>
>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


------------------------------------------------
Subject: Failure To Build MET 5.1 (with bugfix)
From: Gregory Clarke
Time: Tue Jul 12 22:10:47 2016


Hi Julie,


I do not have netcdf.hh in that directory. I only have netcdf.h,
netcdf.inc and netcdf.mod files in there.


I am using the same build "environment" that I have used to compile
netcdf, and many other utils that I have compiled such as CDO, WRF,
UPP, WPS, etc.


Please find attached the files you requested.


Thanks!


Greg



________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Tuesday, July 12, 2016 4:09:41 PM
To: gsclarke2 at outlook.com
Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)

Hi Gregory.

I see from the error message:

nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or directory

that the compiler can't find the NetCDF header files it needs.  MET
needs to be compiled using a version of NetCDF that compiled using the
same compilers you're using for MET, which is the GNU compilers.  I
see that you have set the MET_NETCDF environment variable.

Could you please run:

"ls  /wrf/enh/extlibs/include/netcdf.hh"

to verify that the netcdf.hh file exists in that location?

Could you also please send your config.log file and your
make_install.log file?

Thanks!

Julie

On Mon, Jul 11, 2016 at 11:11 PM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
> Hi Julie,
>
>
> Many thanks for your prompt response and files. I have followed your
instructions and have got past that issue.
>
>
> Now, I have run into the following problem:
>
>
> ==============
>
>
> Making install in vx_nc_util
> make[3]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata -I.!
 ./!
>  ../../src/libcode/vx_statistics -I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util -I/wrf/enh/extlibs//include
-I/wrf/enh/extlibs/include/gsl -DBLOCK4 -DMET_BASE="\"/wrf/enh/met-
5.1_bugfix/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o -MD -MP
-MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
> In file included from nc_var_info.cc:24:0:
> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>  #include <netcdf.hh>
>                      ^
> compilation terminated.
> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
> make[3]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/libcode'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
> make: *** [install-recursive] Error 1
>
>
> =============
>
>
> The following environment variables are configured for the build:
>
>
> MET_NETCDF=/wrf/enh/extlibs/
> MET_GSL=/wrf/enh/extlibs/
> MET_BUFRLIB=/wrf/enh/extlibs/lib
> MET_BUFR=/wrf/enh/extlibs/
> MET_GSLINC=/wrf/enh/extlibs/include/gsl
> MET_GSLLIB=/wrf/enh/extlibs/lib/
>
>
> The netCDF headers and libraries are installed correctly as I have
built other tools with them and have had no issues, so I am not
certain whether this is an environmental issue or another Makefile
problem.
>
>
> Thanks,
>
> Greg
>
>
>
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Monday, July 11, 2016 3:29:13 PM
> To: gsclarke2 at outlook.com
> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)
>
> Hi Greg.  I am sorry to hear that you are having difficulty
compiling
> METv5.1.  Thank you for looking into the problem and for finding the
> solution in a previous met_help ticket.    Yes, the issue is still
> relevant.
>
> Please proceed in the following way:
>
> - unpack the met-5.1 tarball.
> - apply the met-5.1 patches.
> - update the Makefiles with the ones that are attached here (in the
> way I describe below).
> - run configure.
> - run make install.
>
> I have attached two files which I modified:
>
> vx_color.Makefile.in
> vx_config.Makefile.in
>
> Please take vx_color.Makefile.in, rename it to Makefile.in and place
> it in your src/libcode/vx_color/ directory, replacing the existing
> Makefile.in file.
>
> Please take vx_config.Makefile.in, rename it to Makefile.in and
place
> it in your  src/basic/vx_config/ directory, replacing the existing
> Makefile.in file.
>
> Please give that a try and let me know how it works out for you.
>
> Thanks,
> Julie
>
> On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
> <met_help at ucar.edu> wrote:
>>
>> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
>> Transaction: Ticket created by gsclarke2 at outlook.com
>>        Queue: met_help
>>      Subject: Failure To Build MET 5.1 (with bugfix)
>>        Owner: Nobody
>>   Requestors: gsclarke2 at outlook.com
>>       Status: new
>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>
>>
>> Good Day,
>>
>>
>> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>>
>>
>> Following the instructions in the documentation and on your
website, I am failing to compile the software successfully with the
following error message(s):
>>
>>
>> Making all in vx_config
>> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
>> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
>> make: *** [all] Error 2
>>
>>
>> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>>
>>
>> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>>
>>
>> Many thanks.
>>
>>
>> Best Regards,
>>
>> Greg Clarke
>>
>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu



------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with bugfix)
From: Julie Prestopnik
Time: Wed Jul 13 10:05:08 2016

Hi Greg.

Thank you for letting me know that you do not have netcdf.hh in that
directory.  netcdf.hh is the include file for the NetCDF C++
interface.

There are many different ways of compiling NetCDF, and MET expects the
C++ interface to be compiled.  It sounds like you may need to
recompile NETCDF and this time compile for C++ as well by specifying
the environment variable CXX.

There are some instructions for compiling NetCDF for MET here:
    http://www.dtcenter.org/met/users/support/online_tutorial/METv5.1/compilation/req_libs.php

I believe that once you have recompiled and installed the NetCDF to
include the C++ interface, you'll have the netcdf.hh file and should
be able to compile MET.

Please give that a try and let us know how it goes.

Thanks,
Julie



On Tue, Jul 12, 2016 at 10:10 PM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
>
> Hi Julie,
>
>
> I do not have netcdf.hh in that directory. I only have netcdf.h,
netcdf.inc and netcdf.mod files in there.
>
>
> I am using the same build "environment" that I have used to compile
netcdf, and many other utils that I have compiled such as CDO, WRF,
UPP, WPS, etc.
>
>
> Please find attached the files you requested.
>
>
> Thanks!
>
>
> Greg
>
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, July 12, 2016 4:09:41 PM
> To: gsclarke2 at outlook.com
> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)
>
> Hi Gregory.
>
> I see from the error message:
>
> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>
> that the compiler can't find the NetCDF header files it needs.  MET
> needs to be compiled using a version of NetCDF that compiled using
the
> same compilers you're using for MET, which is the GNU compilers.  I
> see that you have set the MET_NETCDF environment variable.
>
> Could you please run:
>
> "ls  /wrf/enh/extlibs/include/netcdf.hh"
>
> to verify that the netcdf.hh file exists in that location?
>
> Could you also please send your config.log file and your
make_install.log file?
>
> Thanks!
>
> Julie
>
> On Mon, Jul 11, 2016 at 11:11 PM, Gregory Clarke via RT
> <met_help at ucar.edu> wrote:
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>
>> Hi Julie,
>>
>>
>> Many thanks for your prompt response and files. I have followed
your instructions and have got past that issue.
>>
>>
>> Now, I have run into the following problem:
>>
>>
>> ==============
>>
>>
>> Making install in vx_nc_util
>> make[3]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata -I.!
>  ./!
>>  ../../src/libcode/vx_statistics -I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util -I/wrf/enh/extlibs//include
-I/wrf/enh/extlibs/include/gsl -DBLOCK4 -DMET_BASE="\"/wrf/enh/met-
5.1_bugfix/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o -MD -MP
-MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
>> In file included from nc_var_info.cc:24:0:
>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>  #include <netcdf.hh>
>>                      ^
>> compilation terminated.
>> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
>> make[3]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>> make[2]: *** [install-recursive] Error 1
>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/libcode'
>> make[1]: *** [install-recursive] Error 1
>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>> make: *** [install-recursive] Error 1
>>
>>
>> =============
>>
>>
>> The following environment variables are configured for the build:
>>
>>
>> MET_NETCDF=/wrf/enh/extlibs/
>> MET_GSL=/wrf/enh/extlibs/
>> MET_BUFRLIB=/wrf/enh/extlibs/lib
>> MET_BUFR=/wrf/enh/extlibs/
>> MET_GSLINC=/wrf/enh/extlibs/include/gsl
>> MET_GSLLIB=/wrf/enh/extlibs/lib/
>>
>>
>> The netCDF headers and libraries are installed correctly as I have
built other tools with them and have had no issues, so I am not
certain whether this is an environmental issue or another Makefile
problem.
>>
>>
>> Thanks,
>>
>> Greg
>>
>>
>>
>>
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Monday, July 11, 2016 3:29:13 PM
>> To: gsclarke2 at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>
>> Hi Greg.  I am sorry to hear that you are having difficulty
compiling
>> METv5.1.  Thank you for looking into the problem and for finding
the
>> solution in a previous met_help ticket.    Yes, the issue is still
>> relevant.
>>
>> Please proceed in the following way:
>>
>> - unpack the met-5.1 tarball.
>> - apply the met-5.1 patches.
>> - update the Makefiles with the ones that are attached here (in the
>> way I describe below).
>> - run configure.
>> - run make install.
>>
>> I have attached two files which I modified:
>>
>> vx_color.Makefile.in
>> vx_config.Makefile.in
>>
>> Please take vx_color.Makefile.in, rename it to Makefile.in and
place
>> it in your src/libcode/vx_color/ directory, replacing the existing
>> Makefile.in file.
>>
>> Please take vx_config.Makefile.in, rename it to Makefile.in and
place
>> it in your  src/basic/vx_config/ directory, replacing the existing
>> Makefile.in file.
>>
>> Please give that a try and let me know how it works out for you.
>>
>> Thanks,
>> Julie
>>
>> On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
>> <met_help at ucar.edu> wrote:
>>>
>>> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
>>> Transaction: Ticket created by gsclarke2 at outlook.com
>>>        Queue: met_help
>>>      Subject: Failure To Build MET 5.1 (with bugfix)
>>>        Owner: Nobody
>>>   Requestors: gsclarke2 at outlook.com
>>>       Status: new
>>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>
>>>
>>> Good Day,
>>>
>>>
>>> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>>>
>>>
>>> Following the instructions in the documentation and on your
website, I am failing to compile the software successfully with the
following error message(s):
>>>
>>>
>>> Making all in vx_config
>>> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
>>> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>> make[3]: *** [all-recursive] Error 1
>>> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
>>> make: *** [all] Error 2
>>>
>>>
>>> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>>>
>>>
>>> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>>>
>>>
>>> Many thanks.
>>>
>>>
>>> Best Regards,
>>>
>>> Greg Clarke
>>>
>>
>>
>>
>> --
>> Julie Prestopnik
>> National Center for Atmospheric Research
>> Research Applications Laboratory
>> Phone: 303.497.8399
>> Email: jpresto at ucar.edu
>>
>>
>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


------------------------------------------------
Subject: Failure To Build MET 5.1 (with bugfix)
From: Gregory Clarke
Time: Wed Jul 13 22:56:15 2016

Dear Julie,


Many thanks for the suggestions.


I did as you instructed below and still no netcdf.hh file is built.
The only difference is that I don't use " --disable-netcdf-4" as i
require that for the CDO.


I did some searching and found the following thread:
http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg12236.html.


>From what I can make out ( and I am basically a ''newb" when compiling
tools like this) is that C++ netcdf functionality is not included in
the default package.


So I downloaded the netCDF-C++ tarball and built that, but netcdf.hh
is still not built - only netcdf (no extension) is now created with
the following contents:


//
// generic include file for the netCDF C++ API
//
extern "C" {
#include <netcdf.h>
}
#include <ncAtt.h>
#include <ncByte.h>
#include <ncChar.h>
#include <ncCheck.h>
#include <ncCompoundType.h>
#include <ncDim.h>
#include <ncDouble.h>
#include <ncEnumType.h>
#include <ncException.h>
#include <ncFile.h>
#include <ncFloat.h>
#include <ncGroup.h>
#include <ncGroupAtt.h>
#include <ncInt.h>
#include <ncInt64.h>
#include <ncOpaqueType.h>
#include <ncShort.h>
#include <ncString.h>
#include <ncType.h>
#include <ncUbyte.h>
#include <ncUint.h>
#include <ncUint64.h>
#include <ncUshort.h>
#include <ncVar.h>
#include <ncVarAtt.h>
#include <ncVlenType.h>



Best,

Greg



________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Wednesday, July 13, 2016 4:05:09 PM
To: gsclarke2 at outlook.com
Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)

Hi Greg.

Thank you for letting me know that you do not have netcdf.hh in that
directory.  netcdf.hh is the include file for the NetCDF C++
interface.

There are many different ways of compiling NetCDF, and MET expects the
C++ interface to be compiled.  It sounds like you may need to
recompile NETCDF and this time compile for C++ as well by specifying
the environment variable CXX.

There are some instructions for compiling NetCDF for MET here:
    http://www.dtcenter.org/met/users/support/online_tutorial/METv5.1/compilation/req_libs.php

I believe that once you have recompiled and installed the NetCDF to
include the C++ interface, you'll have the netcdf.hh file and should
be able to compile MET.

Please give that a try and let us know how it goes.

Thanks,
Julie



On Tue, Jul 12, 2016 at 10:10 PM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
>
> Hi Julie,
>
>
> I do not have netcdf.hh in that directory. I only have netcdf.h,
netcdf.inc and netcdf.mod files in there.
>
>
> I am using the same build "environment" that I have used to compile
netcdf, and many other utils that I have compiled such as CDO, WRF,
UPP, WPS, etc.
>
>
> Please find attached the files you requested.
>
>
> Thanks!
>
>
> Greg
>
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, July 12, 2016 4:09:41 PM
> To: gsclarke2 at outlook.com
> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)
>
> Hi Gregory.
>
> I see from the error message:
>
> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>
> that the compiler can't find the NetCDF header files it needs.  MET
> needs to be compiled using a version of NetCDF that compiled using
the
> same compilers you're using for MET, which is the GNU compilers.  I
> see that you have set the MET_NETCDF environment variable.
>
> Could you please run:
>
> "ls  /wrf/enh/extlibs/include/netcdf.hh"
>
> to verify that the netcdf.hh file exists in that location?
>
> Could you also please send your config.log file and your
make_install.log file?
>
> Thanks!
>
> Julie
>
> On Mon, Jul 11, 2016 at 11:11 PM, Gregory Clarke via RT
> <met_help at ucar.edu> wrote:
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>
>> Hi Julie,
>>
>>
>> Many thanks for your prompt response and files. I have followed
your instructions and have got past that issue.
>>
>>
>> Now, I have run into the following problem:
>>
>>
>> ==============
>>
>>
>> Making install in vx_nc_util
>> make[3]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata -I!
 .!
>  ./!
>>  ../../src/libcode/vx_statistics -I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util -I/wrf/enh/extlibs//include
-I/wrf/enh/extlibs/include/gsl -DBLOCK4 -DMET_BASE="\"/wrf/enh/met-
5.1_bugfix/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o -MD -MP
-MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
>> In file included from nc_var_info.cc:24:0:
>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>  #include <netcdf.hh>
>>                      ^
>> compilation terminated.
>> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
>> make[3]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>> make[2]: *** [install-recursive] Error 1
>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/libcode'
>> make[1]: *** [install-recursive] Error 1
>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>> make: *** [install-recursive] Error 1
>>
>>
>> =============
>>
>>
>> The following environment variables are configured for the build:
>>
>>
>> MET_NETCDF=/wrf/enh/extlibs/
>> MET_GSL=/wrf/enh/extlibs/
>> MET_BUFRLIB=/wrf/enh/extlibs/lib
>> MET_BUFR=/wrf/enh/extlibs/
>> MET_GSLINC=/wrf/enh/extlibs/include/gsl
>> MET_GSLLIB=/wrf/enh/extlibs/lib/
>>
>>
>> The netCDF headers and libraries are installed correctly as I have
built other tools with them and have had no issues, so I am not
certain whether this is an environmental issue or another Makefile
problem.
>>
>>
>> Thanks,
>>
>> Greg
>>
>>
>>
>>
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Monday, July 11, 2016 3:29:13 PM
>> To: gsclarke2 at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>
>> Hi Greg.  I am sorry to hear that you are having difficulty
compiling
>> METv5.1.  Thank you for looking into the problem and for finding
the
>> solution in a previous met_help ticket.    Yes, the issue is still
>> relevant.
>>
>> Please proceed in the following way:
>>
>> - unpack the met-5.1 tarball.
>> - apply the met-5.1 patches.
>> - update the Makefiles with the ones that are attached here (in the
>> way I describe below).
>> - run configure.
>> - run make install.
>>
>> I have attached two files which I modified:
>>
>> vx_color.Makefile.in
>> vx_config.Makefile.in
>>
>> Please take vx_color.Makefile.in, rename it to Makefile.in and
place
>> it in your src/libcode/vx_color/ directory, replacing the existing
>> Makefile.in file.
>>
>> Please take vx_config.Makefile.in, rename it to Makefile.in and
place
>> it in your  src/basic/vx_config/ directory, replacing the existing
>> Makefile.in file.
>>
>> Please give that a try and let me know how it works out for you.
>>
>> Thanks,
>> Julie
>>
>> On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
>> <met_help at ucar.edu> wrote:
>>>
>>> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
>>> Transaction: Ticket created by gsclarke2 at outlook.com
>>>        Queue: met_help
>>>      Subject: Failure To Build MET 5.1 (with bugfix)
>>>        Owner: Nobody
>>>   Requestors: gsclarke2 at outlook.com
>>>       Status: new
>>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>
>>>
>>> Good Day,
>>>
>>>
>>> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>>>
>>>
>>> Following the instructions in the documentation and on your
website, I am failing to compile the software successfully with the
following error message(s):
>>>
>>>
>>> Making all in vx_config
>>> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
>>> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>> make[3]: *** [all-recursive] Error 1
>>> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
>>> make: *** [all] Error 2
>>>
>>>
>>> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>>>
>>>
>>> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>>>
>>>
>>> Many thanks.
>>>
>>>
>>> Best Regards,
>>>
>>> Greg Clarke
>>>
>>
>>
>>
>> --
>> Julie Prestopnik
>> National Center for Atmospheric Research
>> Research Applications Laboratory
>> Phone: 303.497.8399
>> Email: jpresto at ucar.edu
>>
>>
>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu



------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with bugfix)
From: Julie Prestopnik
Time: Thu Jul 14 09:26:21 2016

Hi Greg.  Can you please tell me what versions of NetCDF and NetCDF
C++ you are using?

Thanks,
Julie

On Wed, Jul 13, 2016 at 10:56 PM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
> Dear Julie,
>
>
> Many thanks for the suggestions.
>
>
> I did as you instructed below and still no netcdf.hh file is built.
The only difference is that I don't use " --disable-netcdf-4" as i
require that for the CDO.
>
>
> I did some searching and found the following thread:
http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg12236.html.
>
>
> From what I can make out ( and I am basically a ''newb" when
compiling tools like this) is that C++ netcdf functionality is not
included in the default package.
>
>
> So I downloaded the netCDF-C++ tarball and built that, but netcdf.hh
is still not built - only netcdf (no extension) is now created with
the following contents:
>
>
> //
> // generic include file for the netCDF C++ API
> //
> extern "C" {
> #include <netcdf.h>
> }
> #include <ncAtt.h>
> #include <ncByte.h>
> #include <ncChar.h>
> #include <ncCheck.h>
> #include <ncCompoundType.h>
> #include <ncDim.h>
> #include <ncDouble.h>
> #include <ncEnumType.h>
> #include <ncException.h>
> #include <ncFile.h>
> #include <ncFloat.h>
> #include <ncGroup.h>
> #include <ncGroupAtt.h>
> #include <ncInt.h>
> #include <ncInt64.h>
> #include <ncOpaqueType.h>
> #include <ncShort.h>
> #include <ncString.h>
> #include <ncType.h>
> #include <ncUbyte.h>
> #include <ncUint.h>
> #include <ncUint64.h>
> #include <ncUshort.h>
> #include <ncVar.h>
> #include <ncVarAtt.h>
> #include <ncVlenType.h>
>
>
>
> Best,
>
> Greg
>
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Wednesday, July 13, 2016 4:05:09 PM
> To: gsclarke2 at outlook.com
> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)
>
> Hi Greg.
>
> Thank you for letting me know that you do not have netcdf.hh in that
> directory.  netcdf.hh is the include file for the NetCDF C++
> interface.
>
> There are many different ways of compiling NetCDF, and MET expects
the
> C++ interface to be compiled.  It sounds like you may need to
> recompile NETCDF and this time compile for C++ as well by specifying
> the environment variable CXX.
>
> There are some instructions for compiling NetCDF for MET here:
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.1/compilation/req_libs.php
>
> I believe that once you have recompiled and installed the NetCDF to
> include the C++ interface, you'll have the netcdf.hh file and should
> be able to compile MET.
>
> Please give that a try and let us know how it goes.
>
> Thanks,
> Julie
>
>
>
> On Tue, Jul 12, 2016 at 10:10 PM, Gregory Clarke via RT
> <met_help at ucar.edu> wrote:
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>
>>
>> Hi Julie,
>>
>>
>> I do not have netcdf.hh in that directory. I only have netcdf.h,
netcdf.inc and netcdf.mod files in there.
>>
>>
>> I am using the same build "environment" that I have used to compile
netcdf, and many other utils that I have compiled such as CDO, WRF,
UPP, WPS, etc.
>>
>>
>> Please find attached the files you requested.
>>
>>
>> Thanks!
>>
>>
>> Greg
>>
>>
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Tuesday, July 12, 2016 4:09:41 PM
>> To: gsclarke2 at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>
>> Hi Gregory.
>>
>> I see from the error message:
>>
>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>
>> that the compiler can't find the NetCDF header files it needs.  MET
>> needs to be compiled using a version of NetCDF that compiled using
the
>> same compilers you're using for MET, which is the GNU compilers.  I
>> see that you have set the MET_NETCDF environment variable.
>>
>> Could you please run:
>>
>> "ls  /wrf/enh/extlibs/include/netcdf.hh"
>>
>> to verify that the netcdf.hh file exists in that location?
>>
>> Could you also please send your config.log file and your
make_install.log file?
>>
>> Thanks!
>>
>> Julie
>>
>> On Mon, Jul 11, 2016 at 11:11 PM, Gregory Clarke via RT
>> <met_help at ucar.edu> wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>
>>> Hi Julie,
>>>
>>>
>>> Many thanks for your prompt response and files. I have followed
your instructions and have got past that issue.
>>>
>>>
>>> Now, I have run into the following problem:
>>>
>>>
>>> ==============
>>>
>>>
>>> Making install in vx_nc_util
>>> make[3]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>>> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata -I!
>  .!
>>  ./!
>>>  ../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util -I/wrf/enh/extlibs//include
-I/wrf/enh/extlibs/include/gsl -DBLOCK4 -DMET_BASE="\"/wrf/enh/met-
5.1_bugfix/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o -MD -MP
-MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
>>> In file included from nc_var_info.cc:24:0:
>>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>>  #include <netcdf.hh>
>>>                      ^
>>> compilation terminated.
>>> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
>>> make[3]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>>> make[2]: *** [install-recursive] Error 1
>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/libcode'
>>> make[1]: *** [install-recursive] Error 1
>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>> make: *** [install-recursive] Error 1
>>>
>>>
>>> =============
>>>
>>>
>>> The following environment variables are configured for the build:
>>>
>>>
>>> MET_NETCDF=/wrf/enh/extlibs/
>>> MET_GSL=/wrf/enh/extlibs/
>>> MET_BUFRLIB=/wrf/enh/extlibs/lib
>>> MET_BUFR=/wrf/enh/extlibs/
>>> MET_GSLINC=/wrf/enh/extlibs/include/gsl
>>> MET_GSLLIB=/wrf/enh/extlibs/lib/
>>>
>>>
>>> The netCDF headers and libraries are installed correctly as I have
built other tools with them and have had no issues, so I am not
certain whether this is an environmental issue or another Makefile
problem.
>>>
>>>
>>> Thanks,
>>>
>>> Greg
>>>
>>>
>>>
>>>
>>>
>>> ________________________________
>>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>>> Sent: Monday, July 11, 2016 3:29:13 PM
>>> To: gsclarke2 at outlook.com
>>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>>
>>> Hi Greg.  I am sorry to hear that you are having difficulty
compiling
>>> METv5.1.  Thank you for looking into the problem and for finding
the
>>> solution in a previous met_help ticket.    Yes, the issue is still
>>> relevant.
>>>
>>> Please proceed in the following way:
>>>
>>> - unpack the met-5.1 tarball.
>>> - apply the met-5.1 patches.
>>> - update the Makefiles with the ones that are attached here (in
the
>>> way I describe below).
>>> - run configure.
>>> - run make install.
>>>
>>> I have attached two files which I modified:
>>>
>>> vx_color.Makefile.in
>>> vx_config.Makefile.in
>>>
>>> Please take vx_color.Makefile.in, rename it to Makefile.in and
place
>>> it in your src/libcode/vx_color/ directory, replacing the existing
>>> Makefile.in file.
>>>
>>> Please take vx_config.Makefile.in, rename it to Makefile.in and
place
>>> it in your  src/basic/vx_config/ directory, replacing the existing
>>> Makefile.in file.
>>>
>>> Please give that a try and let me know how it works out for you.
>>>
>>> Thanks,
>>> Julie
>>>
>>> On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
>>> <met_help at ucar.edu> wrote:
>>>>
>>>> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
>>>> Transaction: Ticket created by gsclarke2 at outlook.com
>>>>        Queue: met_help
>>>>      Subject: Failure To Build MET 5.1 (with bugfix)
>>>>        Owner: Nobody
>>>>   Requestors: gsclarke2 at outlook.com
>>>>       Status: new
>>>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>>
>>>>
>>>> Good Day,
>>>>
>>>>
>>>> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>>>>
>>>>
>>>> Following the instructions in the documentation and on your
website, I am failing to compile the software successfully with the
following error message(s):
>>>>
>>>>
>>>> Making all in vx_config
>>>> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>>> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
>>>> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>>> make[3]: *** [all-recursive] Error 1
>>>> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>>>>
>>>>
>>>> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>>>>
>>>>
>>>> Many thanks.
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>> Greg Clarke
>>>>
>>>
>>>
>>>
>>> --
>>> Julie Prestopnik
>>> National Center for Atmospheric Research
>>> Research Applications Laboratory
>>> Phone: 303.497.8399
>>> Email: jpresto at ucar.edu
>>>
>>>
>>
>>
>>
>> --
>> Julie Prestopnik
>> National Center for Atmospheric Research
>> Research Applications Laboratory
>> Phone: 303.497.8399
>> Email: jpresto at ucar.edu
>>
>>
>>
>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


------------------------------------------------
Subject: Failure To Build MET 5.1 (with bugfix)
From: Gregory Clarke
Time: Sun Jul 17 01:50:43 2016

Hi Julie,


Apologies for the delayed response - our weekends are on a Friday and
Saturday.


I am building:


NetCDF v 4.3.2 and

NetCDF-cxx4 v4.3 (and I have tried v4.2).


Thanks,

Greg

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Thursday, July 14, 2016 3:26:21 PM
To: gsclarke2 at outlook.com
Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)

Hi Greg.  Can you please tell me what versions of NetCDF and NetCDF
C++ you are using?

Thanks,
Julie

On Wed, Jul 13, 2016 at 10:56 PM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
> Dear Julie,
>
>
> Many thanks for the suggestions.
>
>
> I did as you instructed below and still no netcdf.hh file is built.
The only difference is that I don't use " --disable-netcdf-4" as i
require that for the CDO.
>
>
> I did some searching and found the following thread:
http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg12236.html.
>
>
> From what I can make out ( and I am basically a ''newb" when
compiling tools like this) is that C++ netcdf functionality is not
included in the default package.
>
>
> So I downloaded the netCDF-C++ tarball and built that, but netcdf.hh
is still not built - only netcdf (no extension) is now created with
the following contents:
>
>
> //
> // generic include file for the netCDF C++ API
> //
> extern "C" {
> #include <netcdf.h>
> }
> #include <ncAtt.h>
> #include <ncByte.h>
> #include <ncChar.h>
> #include <ncCheck.h>
> #include <ncCompoundType.h>
> #include <ncDim.h>
> #include <ncDouble.h>
> #include <ncEnumType.h>
> #include <ncException.h>
> #include <ncFile.h>
> #include <ncFloat.h>
> #include <ncGroup.h>
> #include <ncGroupAtt.h>
> #include <ncInt.h>
> #include <ncInt64.h>
> #include <ncOpaqueType.h>
> #include <ncShort.h>
> #include <ncString.h>
> #include <ncType.h>
> #include <ncUbyte.h>
> #include <ncUint.h>
> #include <ncUint64.h>
> #include <ncUshort.h>
> #include <ncVar.h>
> #include <ncVarAtt.h>
> #include <ncVlenType.h>
>
>
>
> Best,
>
> Greg
>
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Wednesday, July 13, 2016 4:05:09 PM
> To: gsclarke2 at outlook.com
> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)
>
> Hi Greg.
>
> Thank you for letting me know that you do not have netcdf.hh in that
> directory.  netcdf.hh is the include file for the NetCDF C++
> interface.
>
> There are many different ways of compiling NetCDF, and MET expects
the
> C++ interface to be compiled.  It sounds like you may need to
> recompile NETCDF and this time compile for C++ as well by specifying
> the environment variable CXX.
>
> There are some instructions for compiling NetCDF for MET here:
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.1/compilation/req_libs.php
>
> I believe that once you have recompiled and installed the NetCDF to
> include the C++ interface, you'll have the netcdf.hh file and should
> be able to compile MET.
>
> Please give that a try and let us know how it goes.
>
> Thanks,
> Julie
>
>
>
> On Tue, Jul 12, 2016 at 10:10 PM, Gregory Clarke via RT
> <met_help at ucar.edu> wrote:
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>
>>
>> Hi Julie,
>>
>>
>> I do not have netcdf.hh in that directory. I only have netcdf.h,
netcdf.inc and netcdf.mod files in there.
>>
>>
>> I am using the same build "environment" that I have used to compile
netcdf, and many other utils that I have compiled such as CDO, WRF,
UPP, WPS, etc.
>>
>>
>> Please find attached the files you requested.
>>
>>
>> Thanks!
>>
>>
>> Greg
>>
>>
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Tuesday, July 12, 2016 4:09:41 PM
>> To: gsclarke2 at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>
>> Hi Gregory.
>>
>> I see from the error message:
>>
>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>
>> that the compiler can't find the NetCDF header files it needs.  MET
>> needs to be compiled using a version of NetCDF that compiled using
the
>> same compilers you're using for MET, which is the GNU compilers.  I
>> see that you have set the MET_NETCDF environment variable.
>>
>> Could you please run:
>>
>> "ls  /wrf/enh/extlibs/include/netcdf.hh"
>>
>> to verify that the netcdf.hh file exists in that location?
>>
>> Could you also please send your config.log file and your
make_install.log file?
>>
>> Thanks!
>>
>> Julie
>>
>> On Mon, Jul 11, 2016 at 11:11 PM, Gregory Clarke via RT
>> <met_help at ucar.edu> wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>
>>> Hi Julie,
>>>
>>>
>>> Many thanks for your prompt response and files. I have followed
your instructions and have got past that issue.
>>>
>>>
>>> Now, I have run into the following problem:
>>>
>>>
>>> ==============
>>>
>>>
>>> Making install in vx_nc_util
>>> make[3]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>>> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata -!
 I!
>  .!
>>  ./!
>>>  ../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util -I/wrf/enh/extlibs//include
-I/wrf/enh/extlibs/include/gsl -DBLOCK4 -DMET_BASE="\"/wrf/enh/met-
5.1_bugfix/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o -MD -MP
-MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
>>> In file included from nc_var_info.cc:24:0:
>>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>>  #include <netcdf.hh>
>>>                      ^
>>> compilation terminated.
>>> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
>>> make[3]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>>> make[2]: *** [install-recursive] Error 1
>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/libcode'
>>> make[1]: *** [install-recursive] Error 1
>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>> make: *** [install-recursive] Error 1
>>>
>>>
>>> =============
>>>
>>>
>>> The following environment variables are configured for the build:
>>>
>>>
>>> MET_NETCDF=/wrf/enh/extlibs/
>>> MET_GSL=/wrf/enh/extlibs/
>>> MET_BUFRLIB=/wrf/enh/extlibs/lib
>>> MET_BUFR=/wrf/enh/extlibs/
>>> MET_GSLINC=/wrf/enh/extlibs/include/gsl
>>> MET_GSLLIB=/wrf/enh/extlibs/lib/
>>>
>>>
>>> The netCDF headers and libraries are installed correctly as I have
built other tools with them and have had no issues, so I am not
certain whether this is an environmental issue or another Makefile
problem.
>>>
>>>
>>> Thanks,
>>>
>>> Greg
>>>
>>>
>>>
>>>
>>>
>>> ________________________________
>>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>>> Sent: Monday, July 11, 2016 3:29:13 PM
>>> To: gsclarke2 at outlook.com
>>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>>
>>> Hi Greg.  I am sorry to hear that you are having difficulty
compiling
>>> METv5.1.  Thank you for looking into the problem and for finding
the
>>> solution in a previous met_help ticket.    Yes, the issue is still
>>> relevant.
>>>
>>> Please proceed in the following way:
>>>
>>> - unpack the met-5.1 tarball.
>>> - apply the met-5.1 patches.
>>> - update the Makefiles with the ones that are attached here (in
the
>>> way I describe below).
>>> - run configure.
>>> - run make install.
>>>
>>> I have attached two files which I modified:
>>>
>>> vx_color.Makefile.in
>>> vx_config.Makefile.in
>>>
>>> Please take vx_color.Makefile.in, rename it to Makefile.in and
place
>>> it in your src/libcode/vx_color/ directory, replacing the existing
>>> Makefile.in file.
>>>
>>> Please take vx_config.Makefile.in, rename it to Makefile.in and
place
>>> it in your  src/basic/vx_config/ directory, replacing the existing
>>> Makefile.in file.
>>>
>>> Please give that a try and let me know how it works out for you.
>>>
>>> Thanks,
>>> Julie
>>>
>>> On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
>>> <met_help at ucar.edu> wrote:
>>>>
>>>> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
>>>> Transaction: Ticket created by gsclarke2 at outlook.com
>>>>        Queue: met_help
>>>>      Subject: Failure To Build MET 5.1 (with bugfix)
>>>>        Owner: Nobody
>>>>   Requestors: gsclarke2 at outlook.com
>>>>       Status: new
>>>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>>
>>>>
>>>> Good Day,
>>>>
>>>>
>>>> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>>>>
>>>>
>>>> Following the instructions in the documentation and on your
website, I am failing to compile the software successfully with the
following error message(s):
>>>>
>>>>
>>>> Making all in vx_config
>>>> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>>> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
>>>> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>>> make[3]: *** [all-recursive] Error 1
>>>> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
>>>> make[2]: *** [all-recursive] Error 1
>>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>>> make[1]: *** [all-recursive] Error 1
>>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>>>>
>>>>
>>>> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>>>>
>>>>
>>>> Many thanks.
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>> Greg Clarke
>>>>
>>>
>>>
>>>
>>> --
>>> Julie Prestopnik
>>> National Center for Atmospheric Research
>>> Research Applications Laboratory
>>> Phone: 303.497.8399
>>> Email: jpresto at ucar.edu
>>>
>>>
>>
>>
>>
>> --
>> Julie Prestopnik
>> National Center for Atmospheric Research
>> Research Applications Laboratory
>> Phone: 303.497.8399
>> Email: jpresto at ucar.edu
>>
>>
>>
>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu



------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with bugfix)
From: Julie Prestopnik
Time: Mon Jul 18 10:28:13 2016

Hi Gregory.

Could you please try this version?

ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-cxx-4.2.tar.gz

I see netcdf.hh in that package, but not in the other ones that you
listed.

Thanks,
Julie

On Sun, Jul 17, 2016 at 1:50 AM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
> Hi Julie,
>
>
> Apologies for the delayed response - our weekends are on a Friday
and Saturday.
>
>
> I am building:
>
>
> NetCDF v 4.3.2 and
>
> NetCDF-cxx4 v4.3 (and I have tried v4.2).
>
>
> Thanks,
>
> Greg
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, July 14, 2016 3:26:21 PM
> To: gsclarke2 at outlook.com
> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)
>
> Hi Greg.  Can you please tell me what versions of NetCDF and NetCDF
> C++ you are using?
>
> Thanks,
> Julie
>
> On Wed, Jul 13, 2016 at 10:56 PM, Gregory Clarke via RT
> <met_help at ucar.edu> wrote:
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>
>> Dear Julie,
>>
>>
>> Many thanks for the suggestions.
>>
>>
>> I did as you instructed below and still no netcdf.hh file is built.
The only difference is that I don't use " --disable-netcdf-4" as i
require that for the CDO.
>>
>>
>> I did some searching and found the following thread:
http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg12236.html.
>>
>>
>> From what I can make out ( and I am basically a ''newb" when
compiling tools like this) is that C++ netcdf functionality is not
included in the default package.
>>
>>
>> So I downloaded the netCDF-C++ tarball and built that, but
netcdf.hh is still not built - only netcdf (no extension) is now
created with the following contents:
>>
>>
>> //
>> // generic include file for the netCDF C++ API
>> //
>> extern "C" {
>> #include <netcdf.h>
>> }
>> #include <ncAtt.h>
>> #include <ncByte.h>
>> #include <ncChar.h>
>> #include <ncCheck.h>
>> #include <ncCompoundType.h>
>> #include <ncDim.h>
>> #include <ncDouble.h>
>> #include <ncEnumType.h>
>> #include <ncException.h>
>> #include <ncFile.h>
>> #include <ncFloat.h>
>> #include <ncGroup.h>
>> #include <ncGroupAtt.h>
>> #include <ncInt.h>
>> #include <ncInt64.h>
>> #include <ncOpaqueType.h>
>> #include <ncShort.h>
>> #include <ncString.h>
>> #include <ncType.h>
>> #include <ncUbyte.h>
>> #include <ncUint.h>
>> #include <ncUint64.h>
>> #include <ncUshort.h>
>> #include <ncVar.h>
>> #include <ncVarAtt.h>
>> #include <ncVlenType.h>
>>
>>
>>
>> Best,
>>
>> Greg
>>
>>
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Wednesday, July 13, 2016 4:05:09 PM
>> To: gsclarke2 at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>
>> Hi Greg.
>>
>> Thank you for letting me know that you do not have netcdf.hh in
that
>> directory.  netcdf.hh is the include file for the NetCDF C++
>> interface.
>>
>> There are many different ways of compiling NetCDF, and MET expects
the
>> C++ interface to be compiled.  It sounds like you may need to
>> recompile NETCDF and this time compile for C++ as well by
specifying
>> the environment variable CXX.
>>
>> There are some instructions for compiling NetCDF for MET here:
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.1/compilation/req_libs.php
>>
>> I believe that once you have recompiled and installed the NetCDF to
>> include the C++ interface, you'll have the netcdf.hh file and
should
>> be able to compile MET.
>>
>> Please give that a try and let us know how it goes.
>>
>> Thanks,
>> Julie
>>
>>
>>
>> On Tue, Jul 12, 2016 at 10:10 PM, Gregory Clarke via RT
>> <met_help at ucar.edu> wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>
>>>
>>> Hi Julie,
>>>
>>>
>>> I do not have netcdf.hh in that directory. I only have netcdf.h,
netcdf.inc and netcdf.mod files in there.
>>>
>>>
>>> I am using the same build "environment" that I have used to
compile netcdf, and many other utils that I have compiled such as CDO,
WRF, UPP, WPS, etc.
>>>
>>>
>>> Please find attached the files you requested.
>>>
>>>
>>> Thanks!
>>>
>>>
>>> Greg
>>>
>>>
>>>
>>> ________________________________
>>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>>> Sent: Tuesday, July 12, 2016 4:09:41 PM
>>> To: gsclarke2 at outlook.com
>>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>>
>>> Hi Gregory.
>>>
>>> I see from the error message:
>>>
>>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>>
>>> that the compiler can't find the NetCDF header files it needs.
MET
>>> needs to be compiled using a version of NetCDF that compiled using
the
>>> same compilers you're using for MET, which is the GNU compilers.
I
>>> see that you have set the MET_NETCDF environment variable.
>>>
>>> Could you please run:
>>>
>>> "ls  /wrf/enh/extlibs/include/netcdf.hh"
>>>
>>> to verify that the netcdf.hh file exists in that location?
>>>
>>> Could you also please send your config.log file and your
make_install.log file?
>>>
>>> Thanks!
>>>
>>> Julie
>>>
>>> On Mon, Jul 11, 2016 at 11:11 PM, Gregory Clarke via RT
>>> <met_help at ucar.edu> wrote:
>>>>
>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>>
>>>> Hi Julie,
>>>>
>>>>
>>>> Many thanks for your prompt response and files. I have followed
your instructions and have got past that issue.
>>>>
>>>>
>>>> Now, I have run into the following problem:
>>>>
>>>>
>>>> ==============
>>>>
>>>>
>>>> Making install in vx_nc_util
>>>> make[3]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>>>> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata -!
>  I!
>>  .!
>>>  ./!
>>>>  ../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util -I/wrf/enh/extlibs//include
-I/wrf/enh/extlibs/include/gsl -DBLOCK4 -DMET_BASE="\"/wrf/enh/met-
5.1_bugfix/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o -MD -MP
-MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
>>>> In file included from nc_var_info.cc:24:0:
>>>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>>>  #include <netcdf.hh>
>>>>                      ^
>>>> compilation terminated.
>>>> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
>>>> make[3]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>>>> make[2]: *** [install-recursive] Error 1
>>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/libcode'
>>>> make[1]: *** [install-recursive] Error 1
>>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>>> make: *** [install-recursive] Error 1
>>>>
>>>>
>>>> =============
>>>>
>>>>
>>>> The following environment variables are configured for the build:
>>>>
>>>>
>>>> MET_NETCDF=/wrf/enh/extlibs/
>>>> MET_GSL=/wrf/enh/extlibs/
>>>> MET_BUFRLIB=/wrf/enh/extlibs/lib
>>>> MET_BUFR=/wrf/enh/extlibs/
>>>> MET_GSLINC=/wrf/enh/extlibs/include/gsl
>>>> MET_GSLLIB=/wrf/enh/extlibs/lib/
>>>>
>>>>
>>>> The netCDF headers and libraries are installed correctly as I
have built other tools with them and have had no issues, so I am not
certain whether this is an environmental issue or another Makefile
problem.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Greg
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ________________________________
>>>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>>>> Sent: Monday, July 11, 2016 3:29:13 PM
>>>> To: gsclarke2 at outlook.com
>>>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>>>
>>>> Hi Greg.  I am sorry to hear that you are having difficulty
compiling
>>>> METv5.1.  Thank you for looking into the problem and for finding
the
>>>> solution in a previous met_help ticket.    Yes, the issue is
still
>>>> relevant.
>>>>
>>>> Please proceed in the following way:
>>>>
>>>> - unpack the met-5.1 tarball.
>>>> - apply the met-5.1 patches.
>>>> - update the Makefiles with the ones that are attached here (in
the
>>>> way I describe below).
>>>> - run configure.
>>>> - run make install.
>>>>
>>>> I have attached two files which I modified:
>>>>
>>>> vx_color.Makefile.in
>>>> vx_config.Makefile.in
>>>>
>>>> Please take vx_color.Makefile.in, rename it to Makefile.in and
place
>>>> it in your src/libcode/vx_color/ directory, replacing the
existing
>>>> Makefile.in file.
>>>>
>>>> Please take vx_config.Makefile.in, rename it to Makefile.in and
place
>>>> it in your  src/basic/vx_config/ directory, replacing the
existing
>>>> Makefile.in file.
>>>>
>>>> Please give that a try and let me know how it works out for you.
>>>>
>>>> Thanks,
>>>> Julie
>>>>
>>>> On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
>>>> <met_help at ucar.edu> wrote:
>>>>>
>>>>> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
>>>>> Transaction: Ticket created by gsclarke2 at outlook.com
>>>>>        Queue: met_help
>>>>>      Subject: Failure To Build MET 5.1 (with bugfix)
>>>>>        Owner: Nobody
>>>>>   Requestors: gsclarke2 at outlook.com
>>>>>       Status: new
>>>>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>>>
>>>>>
>>>>> Good Day,
>>>>>
>>>>>
>>>>> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>>>>>
>>>>>
>>>>> Following the instructions in the documentation and on your
website, I am failing to compile the software successfully with the
following error message(s):
>>>>>
>>>>>
>>>>> Making all in vx_config
>>>>> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>>>> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
>>>>> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>>>> make[3]: *** [all-recursive] Error 1
>>>>> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
>>>>> make[2]: *** [all-recursive] Error 1
>>>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
>>>>> make: *** [all] Error 2
>>>>>
>>>>>
>>>>> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>>>>>
>>>>>
>>>>> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>>>>>
>>>>>
>>>>> Many thanks.
>>>>>
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Greg Clarke
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Julie Prestopnik
>>>> National Center for Atmospheric Research
>>>> Research Applications Laboratory
>>>> Phone: 303.497.8399
>>>> Email: jpresto at ucar.edu
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Julie Prestopnik
>>> National Center for Atmospheric Research
>>> Research Applications Laboratory
>>> Phone: 303.497.8399
>>> Email: jpresto at ucar.edu
>>>
>>>
>>>
>>
>>
>>
>> --
>> Julie Prestopnik
>> National Center for Atmospheric Research
>> Research Applications Laboratory
>> Phone: 303.497.8399
>> Email: jpresto at ucar.edu
>>
>>
>>
>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


------------------------------------------------
Subject: Failure To Build MET 5.1 (with bugfix)
From: Gregory Clarke
Time: Tue Jul 19 00:56:50 2016

Hi Julie,


Many thanks - that package worked and I have managed to compile all
the executables.


Many thanks for your time and patience.

Greg
________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Monday, July 18, 2016 4:28:13 PM
To: gsclarke2 at outlook.com
Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)

Hi Gregory.

Could you please try this version?

ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-cxx-4.2.tar.gz

I see netcdf.hh in that package, but not in the other ones that you
listed.

Thanks,
Julie

On Sun, Jul 17, 2016 at 1:50 AM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
> Hi Julie,
>
>
> Apologies for the delayed response - our weekends are on a Friday
and Saturday.
>
>
> I am building:
>
>
> NetCDF v 4.3.2 and
>
> NetCDF-cxx4 v4.3 (and I have tried v4.2).
>
>
> Thanks,
>
> Greg
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, July 14, 2016 3:26:21 PM
> To: gsclarke2 at outlook.com
> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)
>
> Hi Greg.  Can you please tell me what versions of NetCDF and NetCDF
> C++ you are using?
>
> Thanks,
> Julie
>
> On Wed, Jul 13, 2016 at 10:56 PM, Gregory Clarke via RT
> <met_help at ucar.edu> wrote:
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>
>> Dear Julie,
>>
>>
>> Many thanks for the suggestions.
>>
>>
>> I did as you instructed below and still no netcdf.hh file is built.
The only difference is that I don't use " --disable-netcdf-4" as i
require that for the CDO.
>>
>>
>> I did some searching and found the following thread:
http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg12236.html.
>>
>>
>> From what I can make out ( and I am basically a ''newb" when
compiling tools like this) is that C++ netcdf functionality is not
included in the default package.
>>
>>
>> So I downloaded the netCDF-C++ tarball and built that, but
netcdf.hh is still not built - only netcdf (no extension) is now
created with the following contents:
>>
>>
>> //
>> // generic include file for the netCDF C++ API
>> //
>> extern "C" {
>> #include <netcdf.h>
>> }
>> #include <ncAtt.h>
>> #include <ncByte.h>
>> #include <ncChar.h>
>> #include <ncCheck.h>
>> #include <ncCompoundType.h>
>> #include <ncDim.h>
>> #include <ncDouble.h>
>> #include <ncEnumType.h>
>> #include <ncException.h>
>> #include <ncFile.h>
>> #include <ncFloat.h>
>> #include <ncGroup.h>
>> #include <ncGroupAtt.h>
>> #include <ncInt.h>
>> #include <ncInt64.h>
>> #include <ncOpaqueType.h>
>> #include <ncShort.h>
>> #include <ncString.h>
>> #include <ncType.h>
>> #include <ncUbyte.h>
>> #include <ncUint.h>
>> #include <ncUint64.h>
>> #include <ncUshort.h>
>> #include <ncVar.h>
>> #include <ncVarAtt.h>
>> #include <ncVlenType.h>
>>
>>
>>
>> Best,
>>
>> Greg
>>
>>
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Wednesday, July 13, 2016 4:05:09 PM
>> To: gsclarke2 at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>
>> Hi Greg.
>>
>> Thank you for letting me know that you do not have netcdf.hh in
that
>> directory.  netcdf.hh is the include file for the NetCDF C++
>> interface.
>>
>> There are many different ways of compiling NetCDF, and MET expects
the
>> C++ interface to be compiled.  It sounds like you may need to
>> recompile NETCDF and this time compile for C++ as well by
specifying
>> the environment variable CXX.
>>
>> There are some instructions for compiling NetCDF for MET here:
>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.1/compilation/req_libs.php
>>
>> I believe that once you have recompiled and installed the NetCDF to
>> include the C++ interface, you'll have the netcdf.hh file and
should
>> be able to compile MET.
>>
>> Please give that a try and let us know how it goes.
>>
>> Thanks,
>> Julie
>>
>>
>>
>> On Tue, Jul 12, 2016 at 10:10 PM, Gregory Clarke via RT
>> <met_help at ucar.edu> wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>
>>>
>>> Hi Julie,
>>>
>>>
>>> I do not have netcdf.hh in that directory. I only have netcdf.h,
netcdf.inc and netcdf.mod files in there.
>>>
>>>
>>> I am using the same build "environment" that I have used to
compile netcdf, and many other utils that I have compiled such as CDO,
WRF, UPP, WPS, etc.
>>>
>>>
>>> Please find attached the files you requested.
>>>
>>>
>>> Thanks!
>>>
>>>
>>> Greg
>>>
>>>
>>>
>>> ________________________________
>>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>>> Sent: Tuesday, July 12, 2016 4:09:41 PM
>>> To: gsclarke2 at outlook.com
>>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>>
>>> Hi Gregory.
>>>
>>> I see from the error message:
>>>
>>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>>
>>> that the compiler can't find the NetCDF header files it needs.
MET
>>> needs to be compiled using a version of NetCDF that compiled using
the
>>> same compilers you're using for MET, which is the GNU compilers.
I
>>> see that you have set the MET_NETCDF environment variable.
>>>
>>> Could you please run:
>>>
>>> "ls  /wrf/enh/extlibs/include/netcdf.hh"
>>>
>>> to verify that the netcdf.hh file exists in that location?
>>>
>>> Could you also please send your config.log file and your
make_install.log file?
>>>
>>> Thanks!
>>>
>>> Julie
>>>
>>> On Mon, Jul 11, 2016 at 11:11 PM, Gregory Clarke via RT
>>> <met_help at ucar.edu> wrote:
>>>>
>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>>
>>>> Hi Julie,
>>>>
>>>>
>>>> Many thanks for your prompt response and files. I have followed
your instructions and have got past that issue.
>>>>
>>>>
>>>> Now, I have run into the following problem:
>>>>
>>>>
>>>> ==============
>>>>
>>>>
>>>> Making install in vx_nc_util
>>>> make[3]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>>>> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata !
 -!
>  I!
>>  .!
>>>  ./!
>>>>  ../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util -I/wrf/enh/extlibs//include
-I/wrf/enh/extlibs/include/gsl -DBLOCK4 -DMET_BASE="\"/wrf/enh/met-
5.1_bugfix/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o -MD -MP
-MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
>>>> In file included from nc_var_info.cc:24:0:
>>>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>>>  #include <netcdf.hh>
>>>>                      ^
>>>> compilation terminated.
>>>> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
>>>> make[3]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>>>> make[2]: *** [install-recursive] Error 1
>>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/libcode'
>>>> make[1]: *** [install-recursive] Error 1
>>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>>> make: *** [install-recursive] Error 1
>>>>
>>>>
>>>> =============
>>>>
>>>>
>>>> The following environment variables are configured for the build:
>>>>
>>>>
>>>> MET_NETCDF=/wrf/enh/extlibs/
>>>> MET_GSL=/wrf/enh/extlibs/
>>>> MET_BUFRLIB=/wrf/enh/extlibs/lib
>>>> MET_BUFR=/wrf/enh/extlibs/
>>>> MET_GSLINC=/wrf/enh/extlibs/include/gsl
>>>> MET_GSLLIB=/wrf/enh/extlibs/lib/
>>>>
>>>>
>>>> The netCDF headers and libraries are installed correctly as I
have built other tools with them and have had no issues, so I am not
certain whether this is an environmental issue or another Makefile
problem.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Greg
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ________________________________
>>>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>>>> Sent: Monday, July 11, 2016 3:29:13 PM
>>>> To: gsclarke2 at outlook.com
>>>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>>>
>>>> Hi Greg.  I am sorry to hear that you are having difficulty
compiling
>>>> METv5.1.  Thank you for looking into the problem and for finding
the
>>>> solution in a previous met_help ticket.    Yes, the issue is
still
>>>> relevant.
>>>>
>>>> Please proceed in the following way:
>>>>
>>>> - unpack the met-5.1 tarball.
>>>> - apply the met-5.1 patches.
>>>> - update the Makefiles with the ones that are attached here (in
the
>>>> way I describe below).
>>>> - run configure.
>>>> - run make install.
>>>>
>>>> I have attached two files which I modified:
>>>>
>>>> vx_color.Makefile.in
>>>> vx_config.Makefile.in
>>>>
>>>> Please take vx_color.Makefile.in, rename it to Makefile.in and
place
>>>> it in your src/libcode/vx_color/ directory, replacing the
existing
>>>> Makefile.in file.
>>>>
>>>> Please take vx_config.Makefile.in, rename it to Makefile.in and
place
>>>> it in your  src/basic/vx_config/ directory, replacing the
existing
>>>> Makefile.in file.
>>>>
>>>> Please give that a try and let me know how it works out for you.
>>>>
>>>> Thanks,
>>>> Julie
>>>>
>>>> On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
>>>> <met_help at ucar.edu> wrote:
>>>>>
>>>>> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
>>>>> Transaction: Ticket created by gsclarke2 at outlook.com
>>>>>        Queue: met_help
>>>>>      Subject: Failure To Build MET 5.1 (with bugfix)
>>>>>        Owner: Nobody
>>>>>   Requestors: gsclarke2 at outlook.com
>>>>>       Status: new
>>>>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>>>
>>>>>
>>>>> Good Day,
>>>>>
>>>>>
>>>>> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>>>>>
>>>>>
>>>>> Following the instructions in the documentation and on your
website, I am failing to compile the software successfully with the
following error message(s):
>>>>>
>>>>>
>>>>> Making all in vx_config
>>>>> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>>>> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
>>>>> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>>>> make[3]: *** [all-recursive] Error 1
>>>>> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
>>>>> make[2]: *** [all-recursive] Error 1
>>>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
>>>>> make: *** [all] Error 2
>>>>>
>>>>>
>>>>> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>>>>>
>>>>>
>>>>> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>>>>>
>>>>>
>>>>> Many thanks.
>>>>>
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Greg Clarke
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Julie Prestopnik
>>>> National Center for Atmospheric Research
>>>> Research Applications Laboratory
>>>> Phone: 303.497.8399
>>>> Email: jpresto at ucar.edu
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Julie Prestopnik
>>> National Center for Atmospheric Research
>>> Research Applications Laboratory
>>> Phone: 303.497.8399
>>> Email: jpresto at ucar.edu
>>>
>>>
>>>
>>
>>
>>
>> --
>> Julie Prestopnik
>> National Center for Atmospheric Research
>> Research Applications Laboratory
>> Phone: 303.497.8399
>> Email: jpresto at ucar.edu
>>
>>
>>
>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu



------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with bugfix)
From: Julie Prestopnik
Time: Tue Jul 19 09:50:30 2016

Hi Greg.  Great!  I'm so glad to hear it all worked out.  Thank you
for following up with us.  I'll go ahead and close this ticket, but
please write any time you have questions or problems.

Julie

On Tue, Jul 19, 2016 at 12:56 AM, Gregory Clarke via RT
<met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>
> Hi Julie,
>
>
> Many thanks - that package worked and I have managed to compile all
the executables.
>
>
> Many thanks for your time and patience.
>
> Greg
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Monday, July 18, 2016 4:28:13 PM
> To: gsclarke2 at outlook.com
> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1 (with
bugfix)
>
> Hi Gregory.
>
> Could you please try this version?
>
> ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-cxx-4.2.tar.gz
>
> I see netcdf.hh in that package, but not in the other ones that you
listed.
>
> Thanks,
> Julie
>
> On Sun, Jul 17, 2016 at 1:50 AM, Gregory Clarke via RT
> <met_help at ucar.edu> wrote:
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>
>> Hi Julie,
>>
>>
>> Apologies for the delayed response - our weekends are on a Friday
and Saturday.
>>
>>
>> I am building:
>>
>>
>> NetCDF v 4.3.2 and
>>
>> NetCDF-cxx4 v4.3 (and I have tried v4.2).
>>
>>
>> Thanks,
>>
>> Greg
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Thursday, July 14, 2016 3:26:21 PM
>> To: gsclarke2 at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>
>> Hi Greg.  Can you please tell me what versions of NetCDF and NetCDF
>> C++ you are using?
>>
>> Thanks,
>> Julie
>>
>> On Wed, Jul 13, 2016 at 10:56 PM, Gregory Clarke via RT
>> <met_help at ucar.edu> wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>
>>> Dear Julie,
>>>
>>>
>>> Many thanks for the suggestions.
>>>
>>>
>>> I did as you instructed below and still no netcdf.hh file is
built. The only difference is that I don't use " --disable-netcdf-4"
as i require that for the CDO.
>>>
>>>
>>> I did some searching and found the following thread:
http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg12236.html.
>>>
>>>
>>> From what I can make out ( and I am basically a ''newb" when
compiling tools like this) is that C++ netcdf functionality is not
included in the default package.
>>>
>>>
>>> So I downloaded the netCDF-C++ tarball and built that, but
netcdf.hh is still not built - only netcdf (no extension) is now
created with the following contents:
>>>
>>>
>>> //
>>> // generic include file for the netCDF C++ API
>>> //
>>> extern "C" {
>>> #include <netcdf.h>
>>> }
>>> #include <ncAtt.h>
>>> #include <ncByte.h>
>>> #include <ncChar.h>
>>> #include <ncCheck.h>
>>> #include <ncCompoundType.h>
>>> #include <ncDim.h>
>>> #include <ncDouble.h>
>>> #include <ncEnumType.h>
>>> #include <ncException.h>
>>> #include <ncFile.h>
>>> #include <ncFloat.h>
>>> #include <ncGroup.h>
>>> #include <ncGroupAtt.h>
>>> #include <ncInt.h>
>>> #include <ncInt64.h>
>>> #include <ncOpaqueType.h>
>>> #include <ncShort.h>
>>> #include <ncString.h>
>>> #include <ncType.h>
>>> #include <ncUbyte.h>
>>> #include <ncUint.h>
>>> #include <ncUint64.h>
>>> #include <ncUshort.h>
>>> #include <ncVar.h>
>>> #include <ncVarAtt.h>
>>> #include <ncVlenType.h>
>>>
>>>
>>>
>>> Best,
>>>
>>> Greg
>>>
>>>
>>>
>>> ________________________________
>>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>>> Sent: Wednesday, July 13, 2016 4:05:09 PM
>>> To: gsclarke2 at outlook.com
>>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>>
>>> Hi Greg.
>>>
>>> Thank you for letting me know that you do not have netcdf.hh in
that
>>> directory.  netcdf.hh is the include file for the NetCDF C++
>>> interface.
>>>
>>> There are many different ways of compiling NetCDF, and MET expects
the
>>> C++ interface to be compiled.  It sounds like you may need to
>>> recompile NETCDF and this time compile for C++ as well by
specifying
>>> the environment variable CXX.
>>>
>>> There are some instructions for compiling NetCDF for MET here:
>>>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.1/compilation/req_libs.php
>>>
>>> I believe that once you have recompiled and installed the NetCDF
to
>>> include the C++ interface, you'll have the netcdf.hh file and
should
>>> be able to compile MET.
>>>
>>> Please give that a try and let us know how it goes.
>>>
>>> Thanks,
>>> Julie
>>>
>>>
>>>
>>> On Tue, Jul 12, 2016 at 10:10 PM, Gregory Clarke via RT
>>> <met_help at ucar.edu> wrote:
>>>>
>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>>
>>>>
>>>> Hi Julie,
>>>>
>>>>
>>>> I do not have netcdf.hh in that directory. I only have netcdf.h,
netcdf.inc and netcdf.mod files in there.
>>>>
>>>>
>>>> I am using the same build "environment" that I have used to
compile netcdf, and many other utils that I have compiled such as CDO,
WRF, UPP, WPS, etc.
>>>>
>>>>
>>>> Please find attached the files you requested.
>>>>
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> Greg
>>>>
>>>>
>>>>
>>>> ________________________________
>>>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>>>> Sent: Tuesday, July 12, 2016 4:09:41 PM
>>>> To: gsclarke2 at outlook.com
>>>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>>>
>>>> Hi Gregory.
>>>>
>>>> I see from the error message:
>>>>
>>>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>>>
>>>> that the compiler can't find the NetCDF header files it needs.
MET
>>>> needs to be compiled using a version of NetCDF that compiled
using the
>>>> same compilers you're using for MET, which is the GNU compilers.
I
>>>> see that you have set the MET_NETCDF environment variable.
>>>>
>>>> Could you please run:
>>>>
>>>> "ls  /wrf/enh/extlibs/include/netcdf.hh"
>>>>
>>>> to verify that the netcdf.hh file exists in that location?
>>>>
>>>> Could you also please send your config.log file and your
make_install.log file?
>>>>
>>>> Thanks!
>>>>
>>>> Julie
>>>>
>>>> On Mon, Jul 11, 2016 at 11:11 PM, Gregory Clarke via RT
>>>> <met_help at ucar.edu> wrote:
>>>>>
>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>>>
>>>>> Hi Julie,
>>>>>
>>>>>
>>>>> Many thanks for your prompt response and files. I have followed
your instructions and have got past that issue.
>>>>>
>>>>>
>>>>> Now, I have run into the following problem:
>>>>>
>>>>>
>>>>> ==============
>>>>>
>>>>>
>>>>> Making install in vx_nc_util
>>>>> make[3]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>>>>> g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_regrid
-I../../../src/libcode/vx_shapedata !
>  -!
>>  I!
>>>  .!
>>>>  ./!
>>>>>  ../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_time_series
-I../../../src/libcode/vx_tc_util -I/wrf/enh/extlibs//include
-I/wrf/enh/extlibs/include/gsl -DBLOCK4 -DMET_BASE="\"/wrf/enh/met-
5.1_bugfix/share/met\""  -g -MT libvx_nc_util_a-nc_var_info.o -MD -MP
-MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o libvx_nc_util_a-
nc_var_info.o `test -f 'nc_var_info.cc' || echo './'`nc_var_info.cc
>>>>> In file included from nc_var_info.cc:24:0:
>>>>> nc_var_info.h:24:21: fatal error: netcdf.hh: No such file or
directory
>>>>>  #include <netcdf.hh>
>>>>>                      ^
>>>>> compilation terminated.
>>>>> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 1
>>>>> make[3]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/libcode/vx_nc_util'
>>>>> make[2]: *** [install-recursive] Error 1
>>>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/libcode'
>>>>> make[1]: *** [install-recursive] Error 1
>>>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>>>> make: *** [install-recursive] Error 1
>>>>>
>>>>>
>>>>> =============
>>>>>
>>>>>
>>>>> The following environment variables are configured for the
build:
>>>>>
>>>>>
>>>>> MET_NETCDF=/wrf/enh/extlibs/
>>>>> MET_GSL=/wrf/enh/extlibs/
>>>>> MET_BUFRLIB=/wrf/enh/extlibs/lib
>>>>> MET_BUFR=/wrf/enh/extlibs/
>>>>> MET_GSLINC=/wrf/enh/extlibs/include/gsl
>>>>> MET_GSLLIB=/wrf/enh/extlibs/lib/
>>>>>
>>>>>
>>>>> The netCDF headers and libraries are installed correctly as I
have built other tools with them and have had no issues, so I am not
certain whether this is an environmental issue or another Makefile
problem.
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Greg
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ________________________________
>>>>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>>>>> Sent: Monday, July 11, 2016 3:29:13 PM
>>>>> To: gsclarke2 at outlook.com
>>>>> Subject: Re: [rt.rap.ucar.edu #77086] Failure To Build MET 5.1
(with bugfix)
>>>>>
>>>>> Hi Greg.  I am sorry to hear that you are having difficulty
compiling
>>>>> METv5.1.  Thank you for looking into the problem and for finding
the
>>>>> solution in a previous met_help ticket.    Yes, the issue is
still
>>>>> relevant.
>>>>>
>>>>> Please proceed in the following way:
>>>>>
>>>>> - unpack the met-5.1 tarball.
>>>>> - apply the met-5.1 patches.
>>>>> - update the Makefiles with the ones that are attached here (in
the
>>>>> way I describe below).
>>>>> - run configure.
>>>>> - run make install.
>>>>>
>>>>> I have attached two files which I modified:
>>>>>
>>>>> vx_color.Makefile.in
>>>>> vx_config.Makefile.in
>>>>>
>>>>> Please take vx_color.Makefile.in, rename it to Makefile.in and
place
>>>>> it in your src/libcode/vx_color/ directory, replacing the
existing
>>>>> Makefile.in file.
>>>>>
>>>>> Please take vx_config.Makefile.in, rename it to Makefile.in and
place
>>>>> it in your  src/basic/vx_config/ directory, replacing the
existing
>>>>> Makefile.in file.
>>>>>
>>>>> Please give that a try and let me know how it works out for you.
>>>>>
>>>>> Thanks,
>>>>> Julie
>>>>>
>>>>> On Mon, Jul 11, 2016 at 2:47 AM, Gregory Clarke via RT
>>>>> <met_help at ucar.edu> wrote:
>>>>>>
>>>>>> Mon Jul 11 02:47:10 2016: Request 77086 was acted upon.
>>>>>> Transaction: Ticket created by gsclarke2 at outlook.com
>>>>>>        Queue: met_help
>>>>>>      Subject: Failure To Build MET 5.1 (with bugfix)
>>>>>>        Owner: Nobody
>>>>>>   Requestors: gsclarke2 at outlook.com
>>>>>>       Status: new
>>>>>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77086 >
>>>>>>
>>>>>>
>>>>>> Good Day,
>>>>>>
>>>>>>
>>>>>> I have downloaded the tarball "met-5.1_bugfix.tar.gz" from your
website.
>>>>>>
>>>>>>
>>>>>> Following the instructions in the documentation and on your
website, I am failing to compile the software successfully with the
following error message(s):
>>>>>>
>>>>>>
>>>>>> Making all in vx_config
>>>>>> make[4]: Entering directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>>>>> make[4]: *** No rule to make target `config.tab.yy', needed by
`config.tab.cc'.  Stop.
>>>>>> make[4]: Leaving directory `/wrf/enh/met-
5.1_bugfix/src/basic/vx_config'
>>>>>> make[3]: *** [all-recursive] Error 1
>>>>>> make[3]: Leaving directory `/wrf/enh/met-5.1_bugfix/src/basic'
>>>>>> make[2]: *** [all-recursive] Error 1
>>>>>> make[2]: Leaving directory `/wrf/enh/met-5.1_bugfix/src'
>>>>>> make[1]: *** [all-recursive] Error 1
>>>>>> make[1]: Leaving directory `/wrf/enh/met-5.1_bugfix'
>>>>>> make: *** [all] Error 2
>>>>>>
>>>>>>
>>>>>> This issue is the same as issue number 75063 where you provided
modified "makefile"s due to issues with lex and bison.
>>>>>>
>>>>>>
>>>>>> Could you be so kind as to provide the fixed makefiles? I am
assuming this issue is still relevant.
>>>>>>
>>>>>>
>>>>>> Many thanks.
>>>>>>
>>>>>>
>>>>>> Best Regards,
>>>>>>
>>>>>> Greg Clarke
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Julie Prestopnik
>>>>> National Center for Atmospheric Research
>>>>> Research Applications Laboratory
>>>>> Phone: 303.497.8399
>>>>> Email: jpresto at ucar.edu
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Julie Prestopnik
>>>> National Center for Atmospheric Research
>>>> Research Applications Laboratory
>>>> Phone: 303.497.8399
>>>> Email: jpresto at ucar.edu
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Julie Prestopnik
>>> National Center for Atmospheric Research
>>> Research Applications Laboratory
>>> Phone: 303.497.8399
>>> Email: jpresto at ucar.edu
>>>
>>>
>>>
>>
>>
>>
>> --
>> Julie Prestopnik
>> National Center for Atmospheric Research
>> Research Applications Laboratory
>> Phone: 303.497.8399
>> Email: jpresto at ucar.edu
>>
>>
>>
>
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>
>



--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu


------------------------------------------------


More information about the Met_help mailing list