[Met_help] [rt.rap.ucar.edu #39424] History for compiling METv2.0

RAL HelpDesk {for Paul Oldenburg} met_help at ucar.edu
Wed Jul 21 09:23:58 MDT 2010


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

Hello,
When i try to compile MET   code with g++ and gfortran i have this error :

*** Making vx_cal Library ***

g++ date_to_mjd.cc   -c -I..
g++ day_dif.cc   -c -I..
g++ day_of_week.cc   -c -I..
g++ doyhms_to_unix.cc   -c -I..
g++ easter.cc   -c -I..
g++ holiday.cc   -c -I..
g++ is_dst.cc   -c -I..
g++ is_leap_year.cc   -c -I..
g++ mdyhms_to_unix.cc   -c -I..
g++ mjd_to_date.cc   -c -I..
g++ time_strings.cc   -c -I..
time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
time_strings.cc:52: erreur: ‘sprintf’ was not declared in this scope
time_strings.cc: In function ‘void unix_to_yyyymmdd_hhmmss(unixtime,
char*)’:
time_strings.cc:95: erreur: ‘sprintf’ was not declared in this scope
time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime, char*)’:
time_strings.cc:230: erreur: ‘sprintf’ was not declared in this scope
time_strings.cc: In function ‘void make_timestring(unixtime, char*)’:
time_strings.cc:319: erreur: ‘sprintf’ was not declared in this scope
make[3]: *** [time_strings.o] Erreur 1
make[2]: *** [vx_cal_all] Erreur 2
make[1]: *** [libs] Erreur 2
make: *** [all] Erreur 2

Also after doing apdates given in this page :
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php


-- 
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////


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

Subject: compiling METv2.0
From: hachelaf rabah
Time: Mon Jul 19 05:34:10 2010

-------------------------------------------------------------------------
Hello,
When i try to compile MET   code with g++ and gfortran i have this
error :

*** Making vx_cal Library ***

g++ date_to_mjd.cc   -c -I..
g++ day_dif.cc   -c -I..
g++ day_of_week.cc   -c -I..
g++ doyhms_to_unix.cc   -c -I..
g++ easter.cc   -c -I..
g++ holiday.cc   -c -I..
g++ is_dst.cc   -c -I..
g++ is_leap_year.cc   -c -I..
g++ mdyhms_to_unix.cc   -c -I..
g++ mjd_to_date.cc   -c -I..
g++ time_strings.cc   -c -I..
time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
time_strings.cc:52: erreur: ‘sprintf’ was not declared in this scope
time_strings.cc: In function ‘void unix_to_yyyymmdd_hhmmss(unixtime,
char*)’:
time_strings.cc:95: erreur: ‘sprintf’ was not declared in this scope
time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime,
char*)’:
time_strings.cc:230: erreur: ‘sprintf’ was not declared in this scope
time_strings.cc: In function ‘void make_timestring(unixtime, char*)’:
time_strings.cc:319: erreur: ‘sprintf’ was not declared in this scope
make[3]: *** [time_strings.o] Erreur 1
make[2]: *** [vx_cal_all] Erreur 2
make[1]: *** [libs] Erreur 2
make: *** [all] Erreur 2

Also after doing apdates given in this page :
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php


--
Cordialement,
Best regards,
Rabah Hachelaf

    ______
   (          )
  (            )
 (________)
    /////////




--
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #39424] compiling METv2.0
From: Paul Oldenburg
Time: Mon Jul 19 07:54:15 2010

Rabah,

I think this is a known problem, but to make sure, please send me the
following
information:

1.  a copy of your Makefile
2.  the output of the following command: g++ --version

Thanks,

Paul


RAL HelpDesk {for hachelaf rabah} wrote:
> Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
> Transaction: Ticket created by r.hachelaf at gmail.com
>        Queue: met_help
>      Subject: compiling METv2.0
>        Owner: Nobody
>   Requestors: r.hachelaf at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>
>
> Hello,
> When i try to compile MET   code with g++ and gfortran i have this
error :
>
> *** Making vx_cal Library ***
>
> g++ date_to_mjd.cc   -c -I..
> g++ day_dif.cc   -c -I..
> g++ day_of_week.cc   -c -I..
> g++ doyhms_to_unix.cc   -c -I..
> g++ easter.cc   -c -I..
> g++ holiday.cc   -c -I..
> g++ is_dst.cc   -c -I..
> g++ is_leap_year.cc   -c -I..
> g++ mdyhms_to_unix.cc   -c -I..
> g++ mjd_to_date.cc   -c -I..
> g++ time_strings.cc   -c -I..
> time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
> time_strings.cc:52: erreur: ‘sprintf’ was not declared in this scope
> time_strings.cc: In function ‘void unix_to_yyyymmdd_hhmmss(unixtime,
> char*)’:
> time_strings.cc:95: erreur: ‘sprintf’ was not declared in this scope
> time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime,
char*)’:
> time_strings.cc:230: erreur: ‘sprintf’ was not declared in this
scope
> time_strings.cc: In function ‘void make_timestring(unixtime,
char*)’:
> time_strings.cc:319: erreur: ‘sprintf’ was not declared in this
scope
> make[3]: *** [time_strings.o] Erreur 1
> make[2]: *** [vx_cal_all] Erreur 2
> make[1]: *** [libs] Erreur 2
> make: *** [all] Erreur 2
>
> Also after doing apdates given in this page :
>
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
>
>


------------------------------------------------
Subject: compiling METv2.0
From: hachelaf rabah
Time: Mon Jul 19 08:10:35 2010

Hello ,
1-Enclosed you cab find a copy of my Makefile
2-[cnpm at localhost METv2.0]$ g++ --version
g++ (GCC) 4.4.1
Copyright © 2009 Free Software Foundation, Inc.

Thank you for help




2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>

> Rabah,
>
> I think this is a known problem, but to make sure, please send me
the
> following
> information:
>
> 1.  a copy of your Makefile
> 2.  the output of the following command: g++ --version
>
> Thanks,
>
> Paul
>
>
> RAL HelpDesk {for hachelaf rabah} wrote:
> > Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
> > Transaction: Ticket created by r.hachelaf at gmail.com
> >        Queue: met_help
> >      Subject: compiling METv2.0
> >        Owner: Nobody
> >   Requestors: r.hachelaf at gmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
> >
> >
> > Hello,
> > When i try to compile MET   code with g++ and gfortran i have this
error
> :
> >
> > *** Making vx_cal Library ***
> >
> > g++ date_to_mjd.cc   -c -I..
> > g++ day_dif.cc   -c -I..
> > g++ day_of_week.cc   -c -I..
> > g++ doyhms_to_unix.cc   -c -I..
> > g++ easter.cc   -c -I..
> > g++ holiday.cc   -c -I..
> > g++ is_dst.cc   -c -I..
> > g++ is_leap_year.cc   -c -I..
> > g++ mdyhms_to_unix.cc   -c -I..
> > g++ mjd_to_date.cc   -c -I..
> > g++ time_strings.cc   -c -I..
> > time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
> > time_strings.cc:52: erreur: ‘sprintf’ was not declared in this
scope
> > time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
> > char*)’:
> > time_strings.cc:95: erreur: ‘sprintf’ was not declared in this
scope
> > time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime,
char*)’:
> > time_strings.cc:230: erreur: ‘sprintf’ was not declared in this
scope
> > time_strings.cc: In function ‘void make_timestring(unixtime,
char*)’:
> > time_strings.cc:319: erreur: ‘sprintf’ was not declared in this
scope
> > make[3]: *** [time_strings.o] Erreur 1
> > make[2]: *** [vx_cal_all] Erreur 2
> > make[1]: *** [libs] Erreur 2
> > make: *** [all] Erreur 2
> >
> > Also after doing apdates given in this page :
> >
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
> >
> >
>
>
>


--
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////

------------------------------------------------
Subject: compiling METv2.0
From: hachelaf rabah
Time: Mon Jul 19 08:14:03 2010

2010/7/19 hachelaf rabah <r.hachelaf at gmail.com>

> Hello ,
> 1-Enclosed you cab find a copy of my Makefile
> 2-[cnpm at localhost METv2.0]$ g++ --version
> g++ (GCC) 4.4.1
> Copyright © 2009 Free Software Foundation, Inc.
>
> Thank you for help
>
>
>
>
> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>
> Rabah,
>>
>> I think this is a known problem, but to make sure, please send me
the
>> following
>> information:
>>
>> 1.  a copy of your Makefile
>> 2.  the output of the following command: g++ --version
>>
>> Thanks,
>>
>> Paul
>>
>>
>> RAL HelpDesk {for hachelaf rabah} wrote:
>> > Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
>> > Transaction: Ticket created by r.hachelaf at gmail.com
>> >        Queue: met_help
>> >      Subject: compiling METv2.0
>> >        Owner: Nobody
>> >   Requestors: r.hachelaf at gmail.com
>> >       Status: new
>> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>> >
>> >
>> > Hello,
>> > When i try to compile MET   code with g++ and gfortran i have
this error
>> :
>> >
>> > *** Making vx_cal Library ***
>> >
>> > g++ date_to_mjd.cc   -c -I..
>> > g++ day_dif.cc   -c -I..
>> > g++ day_of_week.cc   -c -I..
>> > g++ doyhms_to_unix.cc   -c -I..
>> > g++ easter.cc   -c -I..
>> > g++ holiday.cc   -c -I..
>> > g++ is_dst.cc   -c -I..
>> > g++ is_leap_year.cc   -c -I..
>> > g++ mdyhms_to_unix.cc   -c -I..
>> > g++ mjd_to_date.cc   -c -I..
>> > g++ time_strings.cc   -c -I..
>> > time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
>> > time_strings.cc:52: erreur: ‘sprintf’ was not declared in this
scope
>> > time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
>> > char*)’:
>> > time_strings.cc:95: erreur: ‘sprintf’ was not declared in this
scope
>> > time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime,
char*)’:
>> > time_strings.cc:230: erreur: ‘sprintf’ was not declared in this
scope
>> > time_strings.cc: In function ‘void make_timestring(unixtime,
char*)’:
>> > time_strings.cc:319: erreur: ‘sprintf’ was not declared in this
scope
>> > make[3]: *** [time_strings.o] Erreur 1
>> > make[2]: *** [vx_cal_all] Erreur 2
>> > make[1]: *** [libs] Erreur 2
>> > make: *** [all] Erreur 2
>> >
>> > Also after doing apdates given in this page :
>> >
>>
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
>> >
>> >
>>
>>
>>
>
>
> --
> Cordialement,
> Best regards,
> Rabah Hachelaf
>
>      ______
>     (          )
>    (            )
>   (________)
>      /////////
>
>
>


--
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////

------------------------------------------------
Subject: compiling METv2.0
From: hachelaf rabah
Time: Mon Jul 19 08:16:21 2010

2010/7/19 RAL HelpDesk {for hachelaf rabah} <met_help at ucar.edu>

> 2010/7/19 hachelaf rabah <r.hachelaf at gmail.com>
>
> > Hello ,
> > 1-Enclosed you cab find a copy of my Makefile
> > 2-[cnpm at localhost METv2.0]$ g++ --version
> > g++ (GCC) 4.4.1
> > Copyright © 2009 Free Software Foundation, Inc.
> >
> > Thank you for help
> >
> >
> >
> >
> > 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
> >
> > Rabah,
> >>
> >> I think this is a known problem, but to make sure, please send me
the
> >> following
> >> information:
> >>
> >> 1.  a copy of your Makefile
> >> 2.  the output of the following command: g++ --version
> >>
> >> Thanks,
> >>
> >> Paul
> >>
> >>
> >> RAL HelpDesk {for hachelaf rabah} wrote:
> >> > Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
> >> > Transaction: Ticket created by r.hachelaf at gmail.com
> >> >        Queue: met_help
> >> >      Subject: compiling METv2.0
> >> >        Owner: Nobody
> >> >   Requestors: r.hachelaf at gmail.com
> >> >       Status: new
> >> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424>
> >> >
> >> >
> >> > Hello,
> >> > When i try to compile MET   code with g++ and gfortran i have
this
> error
> >> :
> >> >
> >> > *** Making vx_cal Library ***
> >> >
> >> > g++ date_to_mjd.cc   -c -I..
> >> > g++ day_dif.cc   -c -I..
> >> > g++ day_of_week.cc   -c -I..
> >> > g++ doyhms_to_unix.cc   -c -I..
> >> > g++ easter.cc   -c -I..
> >> > g++ holiday.cc   -c -I..
> >> > g++ is_dst.cc   -c -I..
> >> > g++ is_leap_year.cc   -c -I..
> >> > g++ mdyhms_to_unix.cc   -c -I..
> >> > g++ mjd_to_date.cc   -c -I..
> >> > g++ time_strings.cc   -c -I..
> >> > time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
> >> > time_strings.cc:52: erreur: ‘sprintf’ was not declared in this
scope
> >> > time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
> >> > char*)’:
> >> > time_strings.cc:95: erreur: ‘sprintf’ was not declared in this
scope
> >> > time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime,
> char*)’:
> >> > time_strings.cc:230: erreur: ‘sprintf’ was not declared in this
scope
> >> > time_strings.cc: In function ‘void make_timestring(unixtime,
char*)’:
> >> > time_strings.cc:319: erreur: ‘sprintf’ was not declared in this
scope
> >> > make[3]: *** [time_strings.o] Erreur 1
> >> > make[2]: *** [vx_cal_all] Erreur 2
> >> > make[1]: *** [libs] Erreur 2
> >> > make: *** [all] Erreur 2
> >> >
> >> > Also after doing apdates given in this page :
> >> >
> >>
>
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
> >> >
> >> >
> >>
> >>
> >>
> >
> >
> > --
> > Cordialement,
> > Best regards,
> > Rabah Hachelaf
> >
> >      ______
> >     (          )
> >    (            )
> >   (________)
> >      /////////
> >
> >
> >
>
>
> --
> Cordialement,
> Best regards,
> Rabah Hachelaf
>
>     ______
>    (          )
>   (            )
>  (________)
>     /////////
>
>


--
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////

------------------------------------------------
Subject: compiling METv2.0
From: hachelaf rabah
Time: Mon Jul 19 08:20:12 2010

Hello ,
1-Enclosed you cab find a copy of my Makefile
2-[cnpm at localhost METv2.0]$ g++ --version
g++ (GCC) 4.4.1
Copyright © 2009 Free Software Foundation, Inc.

Thank you for help




2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>

Rabah,
>
> I think this is a known problem, but to make sure, please send me
the
> following
> information:
>
> 1.  a copy of your Makefile
> 2.  the output of the following command: g++ --version
>
> Thanks,
>
> Paul
>
>
> RAL HelpDesk {for hachelaf rabah} wrote:
> > Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
> > Transaction: Ticket created by r.hachelaf at gmail.com
> >        Queue: met_help
> >      Subject: compiling METv2.0
> >        Owner: Nobody
> >   Requestors: r.hachelaf at gmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
> >
> >
> > Hello,
> > When i try to compile MET   code with g++ and gfortran i have this
error
> :
> >
> > *** Making vx_cal Library ***
> >
> > g++ date_to_mjd.cc   -c -I..
> > g++ day_dif.cc   -c -I..
> > g++ day_of_week.cc   -c -I..
> > g++ doyhms_to_unix.cc   -c -I..
> > g++ easter.cc   -c -I..
> > g++ holiday.cc   -c -I..
> > g++ is_dst.cc   -c -I..
> > g++ is_leap_year.cc   -c -I..
> > g++ mdyhms_to_unix.cc   -c -I..
> > g++ mjd_to_date.cc   -c -I..
> > g++ time_strings.cc   -c -I..
> > time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
> > time_strings.cc:52: erreur: ‘sprintf’ was not declared in this
scope
> > time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
> > char*)’:
> > time_strings.cc:95: erreur: ‘sprintf’ was not declared in this
scope
> > time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime,
char*)’:
> > time_strings.cc:230: erreur: ‘sprintf’ was not declared in this
scope
> > time_strings.cc: In function ‘void make_timestring(unixtime,
char*)’:
> > time_strings.cc:319: erreur: ‘sprintf’ was not declared in this
scope
> > make[3]: *** [time_strings.o] Erreur 1
> > make[2]: *** [vx_cal_all] Erreur 2
> > make[1]: *** [libs] Erreur 2
> > make: *** [all] Erreur 2
> >
> > Also after doing apdates given in this page :
> >
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
> >
> >
>
>
>


--
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////





--
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////

------------------------------------------------
Subject: compiling METv2.0
From: Paul Oldenburg
Time: Mon Jul 19 08:43:21 2010

Rabah,

MET does not yet officially support GNU version 4.4.  We've been using
GNU
version 4.3 in our development.  But, because of several requests
similar to
yours, we have constructed a bundle with a few minor changes to use
when
compiling with version 4.4.  I've attached a tar file to this message
that
includes both the latest patches from the MET website and the changes
needed to
compile with version 4.4.  Please do the following:

(1) Download the attached tar file and place it into your top-level
METv2.0
directory.
(2) Uncompress and untar it:
   > gunzip METv2.0_patches_gnu4.4_20100618.tar.gz
   > tar -xvf METv2.0_patches_gnu4.4_20100618.tar
(3) Edit your top-level Makefile and remove "/usr/lib/gcc"
(4) Try rebuilding MET.

Since I don't have access to GNU 4.4, I can't directly test this - so
I'm not
100% certain it will work.  Good luck.

Paul


RAL HelpDesk {for hachelaf rabah} wrote:
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>
> Hello ,
> 1-Enclosed you cab find a copy of my Makefile
> 2-[cnpm at localhost METv2.0]$ g++ --version
> g++ (GCC) 4.4.1
> Copyright © 2009 Free Software Foundation, Inc.
>
> Thank you for help
>
>
>
>
> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>
> Rabah,
>> I think this is a known problem, but to make sure, please send me
the
>> following
>> information:
>>
>> 1.  a copy of your Makefile
>> 2.  the output of the following command: g++ --version
>>
>> Thanks,
>>
>> Paul
>>
>>
>> RAL HelpDesk {for hachelaf rabah} wrote:
>>> Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
>>> Transaction: Ticket created by r.hachelaf at gmail.com
>>>        Queue: met_help
>>>      Subject: compiling METv2.0
>>>        Owner: Nobody
>>>   Requestors: r.hachelaf at gmail.com
>>>       Status: new
>>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>>>
>>>
>>> Hello,
>>> When i try to compile MET   code with g++ and gfortran i have this
error
>> :
>>> *** Making vx_cal Library ***
>>>
>>> g++ date_to_mjd.cc   -c -I..
>>> g++ day_dif.cc   -c -I..
>>> g++ day_of_week.cc   -c -I..
>>> g++ doyhms_to_unix.cc   -c -I..
>>> g++ easter.cc   -c -I..
>>> g++ holiday.cc   -c -I..
>>> g++ is_dst.cc   -c -I..
>>> g++ is_leap_year.cc   -c -I..
>>> g++ mdyhms_to_unix.cc   -c -I..
>>> g++ mjd_to_date.cc   -c -I..
>>> g++ time_strings.cc   -c -I..
>>> time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
>>> time_strings.cc:52: erreur: ‘sprintf’ was not declared in this
scope
>>> time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
>>> char*)’:
>>> time_strings.cc:95: erreur: ‘sprintf’ was not declared in this
scope
>>> time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime,
char*)’:
>>> time_strings.cc:230: erreur: ‘sprintf’ was not declared in this
scope
>>> time_strings.cc: In function ‘void make_timestring(unixtime,
char*)’:
>>> time_strings.cc:319: erreur: ‘sprintf’ was not declared in this
scope
>>> make[3]: *** [time_strings.o] Erreur 1
>>> make[2]: *** [vx_cal_all] Erreur 2
>>> make[1]: *** [libs] Erreur 2
>>> make: *** [all] Erreur 2
>>>
>>> Also after doing apdates given in this page :
>>>
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
>>>
>>>
>>
>>
>
>


------------------------------------------------
Subject: compiling METv2.0
From: hachelaf rabah
Time: Tue Jul 20 07:36:09 2010

Hello,
Thank you very match for the patches , its work correctly, i had just
a
problem with shared libraries :

(error while loading shared libraries:libgsl.so.0: cannot open shared
object file: No such
     file or directory)

when i try to execute the binary executables
but i solve it and all work good.

Tank you




2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>

> Rabah,
>
> MET does not yet officially support GNU version 4.4.  We've been
using GNU
> version 4.3 in our development.  But, because of several requests
similar
> to
> yours, we have constructed a bundle with a few minor changes to use
when
> compiling with version 4.4.  I've attached a tar file to this
message that
> includes both the latest patches from the MET website and the
changes
> needed to
> compile with version 4.4.  Please do the following:
>
> (1) Download the attached tar file and place it into your top-level
METv2.0
> directory.
> (2) Uncompress and untar it:
>   > gunzip METv2.0_patches_gnu4.4_20100618.tar.gz
>   > tar -xvf METv2.0_patches_gnu4.4_20100618.tar
> (3) Edit your top-level Makefile and remove "/usr/lib/gcc"
> (4) Try rebuilding MET.
>
> Since I don't have access to GNU 4.4, I can't directly test this -
so I'm
> not
> 100% certain it will work.  Good luck.
>
> Paul
>
>
> RAL HelpDesk {for hachelaf rabah} wrote:
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
> >
> > Hello ,
> > 1-Enclosed you cab find a copy of my Makefile
> > 2-[cnpm at localhost METv2.0]$ g++ --version
> > g++ (GCC) 4.4.1
> > Copyright © 2009 Free Software Foundation, Inc.
> >
> > Thank you for help
> >
> >
> >
> >
> > 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
> >
> > Rabah,
> >> I think this is a known problem, but to make sure, please send me
the
> >> following
> >> information:
> >>
> >> 1.  a copy of your Makefile
> >> 2.  the output of the following command: g++ --version
> >>
> >> Thanks,
> >>
> >> Paul
> >>
> >>
> >> RAL HelpDesk {for hachelaf rabah} wrote:
> >>> Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
> >>> Transaction: Ticket created by r.hachelaf at gmail.com
> >>>        Queue: met_help
> >>>      Subject: compiling METv2.0
> >>>        Owner: Nobody
> >>>   Requestors: r.hachelaf at gmail.com
> >>>       Status: new
> >>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424>
> >>>
> >>>
> >>> Hello,
> >>> When i try to compile MET   code with g++ and gfortran i have
this
> error
> >> :
> >>> *** Making vx_cal Library ***
> >>>
> >>> g++ date_to_mjd.cc   -c -I..
> >>> g++ day_dif.cc   -c -I..
> >>> g++ day_of_week.cc   -c -I..
> >>> g++ doyhms_to_unix.cc   -c -I..
> >>> g++ easter.cc   -c -I..
> >>> g++ holiday.cc   -c -I..
> >>> g++ is_dst.cc   -c -I..
> >>> g++ is_leap_year.cc   -c -I..
> >>> g++ mdyhms_to_unix.cc   -c -I..
> >>> g++ mjd_to_date.cc   -c -I..
> >>> g++ time_strings.cc   -c -I..
> >>> time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
> >>> time_strings.cc:52: erreur: ‘sprintf’ was not declared in this
scope
> >>> time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
> >>> char*)’:
> >>> time_strings.cc:95: erreur: ‘sprintf’ was not declared in this
scope
> >>> time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime,
> char*)’:
> >>> time_strings.cc:230: erreur: ‘sprintf’ was not declared in this
scope
> >>> time_strings.cc: In function ‘void make_timestring(unixtime,
char*)’:
> >>> time_strings.cc:319: erreur: ‘sprintf’ was not declared in this
scope
> >>> make[3]: *** [time_strings.o] Erreur 1
> >>> make[2]: *** [vx_cal_all] Erreur 2
> >>> make[1]: *** [libs] Erreur 2
> >>> make: *** [all] Erreur 2
> >>>
> >>> Also after doing apdates given in this page :
> >>>
>
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
> >>>
> >>>
> >>
> >>
> >
> >
>
>
>


--
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////

------------------------------------------------
Subject: compiling METv2.0
From: hachelaf rabah
Time: Tue Jul 20 08:38:07 2010

Hello,
When i try to run ./pb2nc with a blocked prepbufr file
gdas1.t00z.prepbufr.unblok.nr with cwordsh tool i get this error
message :

cnpm at localhost bin]$ ./pb2nc ndas.unblk test config
Reading Config File:    config
Creating NetCDF File:   test
Processing PrepBufr File:       ndas.unblk

 **************BUFR ARCHIVE LIBRARY ABORT*****************
 BUFRLIB: OPENBF - FIRST 4 BYTES READ FROM RECORD IN INPUT FILE
CONNECTED TO
UNIT  11 NOT 'BUFR', DOES NOT CONTAIN BUFR DATA
 **************BUFR ARCHIVE LIBRARY ABORT*****************

Any suggestions to resolve this problem.

2010/7/20 RAL HelpDesk {for hachelaf rabah} <met_help at ucar.edu>

> Hello,
> Thank you very match for the patches , its work correctly, i had
just a
> problem with shared libraries :
>
> (error while loading shared libraries:libgsl.so.0: cannot open
shared
> object file: No such
>     file or directory)
>
> when i try to execute the binary executables
> but i solve it and all work good.
>
> Tank you
>
>
>
>
> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>
> > Rabah,
> >
> > MET does not yet officially support GNU version 4.4.  We've been
using
> GNU
> > version 4.3 in our development.  But, because of several requests
similar
> > to
> > yours, we have constructed a bundle with a few minor changes to
use when
> > compiling with version 4.4.  I've attached a tar file to this
message
> that
> > includes both the latest patches from the MET website and the
changes
> > needed to
> > compile with version 4.4.  Please do the following:
> >
> > (1) Download the attached tar file and place it into your top-
level
> METv2.0
> > directory.
> > (2) Uncompress and untar it:
> >   > gunzip METv2.0_patches_gnu4.4_20100618.tar.gz
> >   > tar -xvf METv2.0_patches_gnu4.4_20100618.tar
> > (3) Edit your top-level Makefile and remove "/usr/lib/gcc"
> > (4) Try rebuilding MET.
> >
> > Since I don't have access to GNU 4.4, I can't directly test this -
so I'm
> > not
> > 100% certain it will work.  Good luck.
> >
> > Paul
> >
> >
> > RAL HelpDesk {for hachelaf rabah} wrote:
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
> > >
> > > Hello ,
> > > 1-Enclosed you cab find a copy of my Makefile
> > > 2-[cnpm at localhost METv2.0]$ g++ --version
> > > g++ (GCC) 4.4.1
> > > Copyright © 2009 Free Software Foundation, Inc.
> > >
> > > Thank you for help
> > >
> > >
> > >
> > >
> > > 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
> > >
> > > Rabah,
> > >> I think this is a known problem, but to make sure, please send
me the
> > >> following
> > >> information:
> > >>
> > >> 1.  a copy of your Makefile
> > >> 2.  the output of the following command: g++ --version
> > >>
> > >> Thanks,
> > >>
> > >> Paul
> > >>
> > >>
> > >> RAL HelpDesk {for hachelaf rabah} wrote:
> > >>> Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
> > >>> Transaction: Ticket created by r.hachelaf at gmail.com
> > >>>        Queue: met_help
> > >>>      Subject: compiling METv2.0
> > >>>        Owner: Nobody
> > >>>   Requestors: r.hachelaf at gmail.com
> > >>>       Status: new
> > >>>  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424>
> > >>>
> > >>>
> > >>> Hello,
> > >>> When i try to compile MET   code with g++ and gfortran i have
this
> > error
> > >> :
> > >>> *** Making vx_cal Library ***
> > >>>
> > >>> g++ date_to_mjd.cc   -c -I..
> > >>> g++ day_dif.cc   -c -I..
> > >>> g++ day_of_week.cc   -c -I..
> > >>> g++ doyhms_to_unix.cc   -c -I..
> > >>> g++ easter.cc   -c -I..
> > >>> g++ holiday.cc   -c -I..
> > >>> g++ is_dst.cc   -c -I..
> > >>> g++ is_leap_year.cc   -c -I..
> > >>> g++ mdyhms_to_unix.cc   -c -I..
> > >>> g++ mjd_to_date.cc   -c -I..
> > >>> g++ time_strings.cc   -c -I..
> > >>> time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
> > >>> time_strings.cc:52: erreur: ‘sprintf’ was not declared in this
scope
> > >>> time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
> > >>> char*)’:
> > >>> time_strings.cc:95: erreur: ‘sprintf’ was not declared in this
scope
> > >>> time_strings.cc: In function ‘void
unix_to_yyyymmddhh(unixtime,
> > char*)’:
> > >>> time_strings.cc:230: erreur: ‘sprintf’ was not declared in
this scope
> > >>> time_strings.cc: In function ‘void make_timestring(unixtime,
char*)’:
> > >>> time_strings.cc:319: erreur: ‘sprintf’ was not declared in
this scope
> > >>> make[3]: *** [time_strings.o] Erreur 1
> > >>> make[2]: *** [vx_cal_all] Erreur 2
> > >>> make[1]: *** [libs] Erreur 2
> > >>> make: *** [all] Erreur 2
> > >>>
> > >>> Also after doing apdates given in this page :
> > >>>
> >
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
> > >>>
> > >>>
> > >>
> > >>
> > >
> > >
> >
> >
> >
>
>
> --
> Cordialement,
> Best regards,
> Rabah Hachelaf
>
>     ______
>    (          )
>   (            )
>  (________)
>     /////////
>
>


--
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #39424] compiling METv2.0
From: Paul Oldenburg
Time: Tue Jul 20 09:01:32 2010

Rabah,

Can you please send the grib file that you are having trouble with?
If it is too big (>2MB), please upload it to our
FTP site using these commands and credentials.

    ftp ftp.rap.ucar.edu
    username=anonymous
    password="your email address"
    cd incoming/irap/met_help/rabah_data
    put "your files"
    bye

Thanks,

Paul

RAL HelpDesk {for hachelaf rabah} wrote:
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>
> Hello,
> When i try to run ./pb2nc with a blocked prepbufr file
> gdas1.t00z.prepbufr.unblok.nr with cwordsh tool i get this error
message :
>
> cnpm at localhost bin]$ ./pb2nc ndas.unblk test config
> Reading Config File:    config
> Creating NetCDF File:   test
> Processing PrepBufr File:       ndas.unblk
>
>  **************BUFR ARCHIVE LIBRARY ABORT*****************
>  BUFRLIB: OPENBF - FIRST 4 BYTES READ FROM RECORD IN INPUT FILE
CONNECTED TO
> UNIT  11 NOT 'BUFR', DOES NOT CONTAIN BUFR DATA
>  **************BUFR ARCHIVE LIBRARY ABORT*****************
>
> Any suggestions to resolve this problem.
>
> 2010/7/20 RAL HelpDesk {for hachelaf rabah} <met_help at ucar.edu>
>
>> Hello,
>> Thank you very match for the patches , its work correctly, i had
just a
>> problem with shared libraries :
>>
>> (error while loading shared libraries:libgsl.so.0: cannot open
shared
>> object file: No such
>>     file or directory)
>>
>> when i try to execute the binary executables
>> but i solve it and all work good.
>>
>> Tank you
>>
>>
>>
>>
>> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>>
>>> Rabah,
>>>
>>> MET does not yet officially support GNU version 4.4.  We've been
using
>> GNU
>>> version 4.3 in our development.  But, because of several requests
similar
>>> to
>>> yours, we have constructed a bundle with a few minor changes to
use when
>>> compiling with version 4.4.  I've attached a tar file to this
message
>> that
>>> includes both the latest patches from the MET website and the
changes
>>> needed to
>>> compile with version 4.4.  Please do the following:
>>>
>>> (1) Download the attached tar file and place it into your top-
level
>> METv2.0
>>> directory.
>>> (2) Uncompress and untar it:
>>>   > gunzip METv2.0_patches_gnu4.4_20100618.tar.gz
>>>   > tar -xvf METv2.0_patches_gnu4.4_20100618.tar
>>> (3) Edit your top-level Makefile and remove "/usr/lib/gcc"
>>> (4) Try rebuilding MET.
>>>
>>> Since I don't have access to GNU 4.4, I can't directly test this -
so I'm
>>> not
>>> 100% certain it will work.  Good luck.
>>>
>>> Paul
>>>
>>>
>>> RAL HelpDesk {for hachelaf rabah} wrote:
>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>>>>
>>>> Hello ,
>>>> 1-Enclosed you cab find a copy of my Makefile
>>>> 2-[cnpm at localhost METv2.0]$ g++ --version
>>>> g++ (GCC) 4.4.1
>>>> Copyright © 2009 Free Software Foundation, Inc.
>>>>
>>>> Thank you for help
>>>>
>>>>
>>>>
>>>>
>>>> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>>>>
>>>> Rabah,
>>>>> I think this is a known problem, but to make sure, please send
me the
>>>>> following
>>>>> information:
>>>>>
>>>>> 1.  a copy of your Makefile
>>>>> 2.  the output of the following command: g++ --version
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Paul
>>>>>
>>>>>
>>>>> RAL HelpDesk {for hachelaf rabah} wrote:
>>>>>> Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
>>>>>> Transaction: Ticket created by r.hachelaf at gmail.com
>>>>>>        Queue: met_help
>>>>>>      Subject: compiling METv2.0
>>>>>>        Owner: Nobody
>>>>>>   Requestors: r.hachelaf at gmail.com
>>>>>>       Status: new
>>>>>>  Ticket <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424>
>>>>>>
>>>>>> Hello,
>>>>>> When i try to compile MET   code with g++ and gfortran i have
this
>>> error
>>>>> :
>>>>>> *** Making vx_cal Library ***
>>>>>>
>>>>>> g++ date_to_mjd.cc   -c -I..
>>>>>> g++ day_dif.cc   -c -I..
>>>>>> g++ day_of_week.cc   -c -I..
>>>>>> g++ doyhms_to_unix.cc   -c -I..
>>>>>> g++ easter.cc   -c -I..
>>>>>> g++ holiday.cc   -c -I..
>>>>>> g++ is_dst.cc   -c -I..
>>>>>> g++ is_leap_year.cc   -c -I..
>>>>>> g++ mdyhms_to_unix.cc   -c -I..
>>>>>> g++ mjd_to_date.cc   -c -I..
>>>>>> g++ time_strings.cc   -c -I..
>>>>>> time_strings.cc: In function ‘void sec_to_hhmmss(int, char*)’:
>>>>>> time_strings.cc:52: erreur: ‘sprintf’ was not declared in this
scope
>>>>>> time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
>>>>>> char*)’:
>>>>>> time_strings.cc:95: erreur: ‘sprintf’ was not declared in this
scope
>>>>>> time_strings.cc: In function ‘void unix_to_yyyymmddhh(unixtime,
>>> char*)’:
>>>>>> time_strings.cc:230: erreur: ‘sprintf’ was not declared in this
scope
>>>>>> time_strings.cc: In function ‘void make_timestring(unixtime,
char*)’:
>>>>>> time_strings.cc:319: erreur: ‘sprintf’ was not declared in this
scope
>>>>>> make[3]: *** [time_strings.o] Erreur 1
>>>>>> make[2]: *** [vx_cal_all] Erreur 2
>>>>>> make[1]: *** [libs] Erreur 2
>>>>>> make: *** [all] Erreur 2
>>>>>>
>>>>>> Also after doing apdates given in this page :
>>>>>>
>>>
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
>>>>>>
>>>>>
>>>>
>>>
>>>
>>
>> --
>> Cordialement,
>> Best regards,
>> Rabah Hachelaf
>>
>>     ______
>>    (          )
>>   (            )
>>  (________)
>>     /////////
>>
>>
>
>


------------------------------------------------
Subject: compiling METv2.0
From: hachelaf rabah
Time: Tue Jul 20 09:06:33 2010

Hello ,
i upload the file that i have trouble with but it's not a grib file
but it is a prepbufr file which i need it for get observations.
bye

2010/7/20 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>

> Rabah,
>
> Can you please send the grib file that you are having trouble with?
If it
> is too big (>2MB), please upload it to our
> FTP site using these commands and credentials.
>
>    ftp ftp.rap.ucar.edu
>    username=anonymous
>    password="your email address"
>    cd incoming/irap/met_help/rabah_data
>    put "your files"
>    bye
>
> Thanks,
>
> Paul
>
> RAL HelpDesk {for hachelaf rabah} wrote:
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
> >
> > Hello,
> > When i try to run ./pb2nc with a blocked prepbufr file
> > gdas1.t00z.prepbufr.unblok.nr with cwordsh tool i get this error
message
> :
> >
> > cnpm at localhost bin]$ ./pb2nc ndas.unblk test config
> > Reading Config File:    config
> > Creating NetCDF File:   test
> > Processing PrepBufr File:       ndas.unblk
> >
> >  **************BUFR ARCHIVE LIBRARY ABORT*****************
> >  BUFRLIB: OPENBF - FIRST 4 BYTES READ FROM RECORD IN INPUT FILE
CONNECTED
> TO
> > UNIT  11 NOT 'BUFR', DOES NOT CONTAIN BUFR DATA
> >  **************BUFR ARCHIVE LIBRARY ABORT*****************
> >
> > Any suggestions to resolve this problem.
> >
> > 2010/7/20 RAL HelpDesk {for hachelaf rabah} <met_help at ucar.edu>
> >
> >> Hello,
> >> Thank you very match for the patches , its work correctly, i had
just a
> >> problem with shared libraries :
> >>
> >> (error while loading shared libraries:libgsl.so.0: cannot open
shared
> >> object file: No such
> >>     file or directory)
> >>
> >> when i try to execute the binary executables
> >> but i solve it and all work good.
> >>
> >> Tank you
> >>
> >>
> >>
> >>
> >> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
> >>
> >>> Rabah,
> >>>
> >>> MET does not yet officially support GNU version 4.4.  We've been
using
> >> GNU
> >>> version 4.3 in our development.  But, because of several
requests
> similar
> >>> to
> >>> yours, we have constructed a bundle with a few minor changes to
use
> when
> >>> compiling with version 4.4.  I've attached a tar file to this
message
> >> that
> >>> includes both the latest patches from the MET website and the
changes
> >>> needed to
> >>> compile with version 4.4.  Please do the following:
> >>>
> >>> (1) Download the attached tar file and place it into your top-
level
> >> METv2.0
> >>> directory.
> >>> (2) Uncompress and untar it:
> >>>   > gunzip METv2.0_patches_gnu4.4_20100618.tar.gz
> >>>   > tar -xvf METv2.0_patches_gnu4.4_20100618.tar
> >>> (3) Edit your top-level Makefile and remove "/usr/lib/gcc"
> >>> (4) Try rebuilding MET.
> >>>
> >>> Since I don't have access to GNU 4.4, I can't directly test this
- so
> I'm
> >>> not
> >>> 100% certain it will work.  Good luck.
> >>>
> >>> Paul
> >>>
> >>>
> >>> RAL HelpDesk {for hachelaf rabah} wrote:
> >>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
> >>>>
> >>>> Hello ,
> >>>> 1-Enclosed you cab find a copy of my Makefile
> >>>> 2-[cnpm at localhost METv2.0]$ g++ --version
> >>>> g++ (GCC) 4.4.1
> >>>> Copyright © 2009 Free Software Foundation, Inc.
> >>>>
> >>>> Thank you for help
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
> >>>>
> >>>> Rabah,
> >>>>> I think this is a known problem, but to make sure, please send
me the
> >>>>> following
> >>>>> information:
> >>>>>
> >>>>> 1.  a copy of your Makefile
> >>>>> 2.  the output of the following command: g++ --version
> >>>>>
> >>>>> Thanks,
> >>>>>
> >>>>> Paul
> >>>>>
> >>>>>
> >>>>> RAL HelpDesk {for hachelaf rabah} wrote:
> >>>>>> Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
> >>>>>> Transaction: Ticket created by r.hachelaf at gmail.com
> >>>>>>        Queue: met_help
> >>>>>>      Subject: compiling METv2.0
> >>>>>>        Owner: Nobody
> >>>>>>   Requestors: r.hachelaf at gmail.com
> >>>>>>       Status: new
> >>>>>>  Ticket <URL:
> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424>
> >>>>>>
> >>>>>> Hello,
> >>>>>> When i try to compile MET   code with g++ and gfortran i have
this
> >>> error
> >>>>> :
> >>>>>> *** Making vx_cal Library ***
> >>>>>>
> >>>>>> g++ date_to_mjd.cc   -c -I..
> >>>>>> g++ day_dif.cc   -c -I..
> >>>>>> g++ day_of_week.cc   -c -I..
> >>>>>> g++ doyhms_to_unix.cc   -c -I..
> >>>>>> g++ easter.cc   -c -I..
> >>>>>> g++ holiday.cc   -c -I..
> >>>>>> g++ is_dst.cc   -c -I..
> >>>>>> g++ is_leap_year.cc   -c -I..
> >>>>>> g++ mdyhms_to_unix.cc   -c -I..
> >>>>>> g++ mjd_to_date.cc   -c -I..
> >>>>>> g++ time_strings.cc   -c -I..
> >>>>>> time_strings.cc: In function ‘void sec_to_hhmmss(int,
char*)’:
> >>>>>> time_strings.cc:52: erreur: ‘sprintf’ was not declared in
this scope
> >>>>>> time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
> >>>>>> char*)’:
> >>>>>> time_strings.cc:95: erreur: ‘sprintf’ was not declared in
this scope
> >>>>>> time_strings.cc: In function ‘void
unix_to_yyyymmddhh(unixtime,
> >>> char*)’:
> >>>>>> time_strings.cc:230: erreur: ‘sprintf’ was not declared in
this
> scope
> >>>>>> time_strings.cc: In function ‘void make_timestring(unixtime,
> char*)’:
> >>>>>> time_strings.cc:319: erreur: ‘sprintf’ was not declared in
this
> scope
> >>>>>> make[3]: *** [time_strings.o] Erreur 1
> >>>>>> make[2]: *** [vx_cal_all] Erreur 2
> >>>>>> make[1]: *** [libs] Erreur 2
> >>>>>> make: *** [all] Erreur 2
> >>>>>>
> >>>>>> Also after doing apdates given in this page :
> >>>>>>
> >>>
>
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>>
> >>
> >> --
> >> Cordialement,
> >> Best regards,
> >> Rabah Hachelaf
> >>
> >>     ______
> >>    (          )
> >>   (            )
> >>  (________)
> >>     /////////
> >>
> >>
> >
> >
>
>
>


--
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #39424] compiling METv2.0
From: Paul Oldenburg
Time: Tue Jul 20 09:13:59 2010

Rabah,

Thanks, I received your prepbufr file.  I'm sorry, but I also would
like your pb2nc configuration file.  Can you please
send that in an email or ftp it?

Thanks,

Paul

RAL HelpDesk {for hachelaf rabah} wrote:
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>
> Hello ,
> i upload the file that i have trouble with but it's not a grib file
> but it is a prepbufr file which i need it for get observations.
> bye
>
> 2010/7/20 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>
>> Rabah,
>>
>> Can you please send the grib file that you are having trouble with?
If it
>> is too big (>2MB), please upload it to our
>> FTP site using these commands and credentials.
>>
>>    ftp ftp.rap.ucar.edu
>>    username=anonymous
>>    password="your email address"
>>    cd incoming/irap/met_help/rabah_data
>>    put "your files"
>>    bye
>>
>> Thanks,
>>
>> Paul
>>
>> RAL HelpDesk {for hachelaf rabah} wrote:
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>>>
>>> Hello,
>>> When i try to run ./pb2nc with a blocked prepbufr file
>>> gdas1.t00z.prepbufr.unblok.nr with cwordsh tool i get this error
message
>> :
>>> cnpm at localhost bin]$ ./pb2nc ndas.unblk test config
>>> Reading Config File:    config
>>> Creating NetCDF File:   test
>>> Processing PrepBufr File:       ndas.unblk
>>>
>>>  **************BUFR ARCHIVE LIBRARY ABORT*****************
>>>  BUFRLIB: OPENBF - FIRST 4 BYTES READ FROM RECORD IN INPUT FILE
CONNECTED
>> TO
>>> UNIT  11 NOT 'BUFR', DOES NOT CONTAIN BUFR DATA
>>>  **************BUFR ARCHIVE LIBRARY ABORT*****************
>>>
>>> Any suggestions to resolve this problem.
>>>
>>> 2010/7/20 RAL HelpDesk {for hachelaf rabah} <met_help at ucar.edu>
>>>
>>>> Hello,
>>>> Thank you very match for the patches , its work correctly, i had
just a
>>>> problem with shared libraries :
>>>>
>>>> (error while loading shared libraries:libgsl.so.0: cannot open
shared
>>>> object file: No such
>>>>     file or directory)
>>>>
>>>> when i try to execute the binary executables
>>>> but i solve it and all work good.
>>>>
>>>> Tank you
>>>>
>>>>
>>>>
>>>>
>>>> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>>>>
>>>>> Rabah,
>>>>>
>>>>> MET does not yet officially support GNU version 4.4.  We've been
using
>>>> GNU
>>>>> version 4.3 in our development.  But, because of several
requests
>> similar
>>>>> to
>>>>> yours, we have constructed a bundle with a few minor changes to
use
>> when
>>>>> compiling with version 4.4.  I've attached a tar file to this
message
>>>> that
>>>>> includes both the latest patches from the MET website and the
changes
>>>>> needed to
>>>>> compile with version 4.4.  Please do the following:
>>>>>
>>>>> (1) Download the attached tar file and place it into your top-
level
>>>> METv2.0
>>>>> directory.
>>>>> (2) Uncompress and untar it:
>>>>>   > gunzip METv2.0_patches_gnu4.4_20100618.tar.gz
>>>>>   > tar -xvf METv2.0_patches_gnu4.4_20100618.tar
>>>>> (3) Edit your top-level Makefile and remove "/usr/lib/gcc"
>>>>> (4) Try rebuilding MET.
>>>>>
>>>>> Since I don't have access to GNU 4.4, I can't directly test this
- so
>> I'm
>>>>> not
>>>>> 100% certain it will work.  Good luck.
>>>>>
>>>>> Paul
>>>>>
>>>>>
>>>>> RAL HelpDesk {for hachelaf rabah} wrote:
>>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>>>>>>
>>>>>> Hello ,
>>>>>> 1-Enclosed you cab find a copy of my Makefile
>>>>>> 2-[cnpm at localhost METv2.0]$ g++ --version
>>>>>> g++ (GCC) 4.4.1
>>>>>> Copyright © 2009 Free Software Foundation, Inc.
>>>>>>
>>>>>> Thank you for help
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>>>>>>
>>>>>> Rabah,
>>>>>>> I think this is a known problem, but to make sure, please send
me the
>>>>>>> following
>>>>>>> information:
>>>>>>>
>>>>>>> 1.  a copy of your Makefile
>>>>>>> 2.  the output of the following command: g++ --version
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Paul
>>>>>>>
>>>>>>>
>>>>>>> RAL HelpDesk {for hachelaf rabah} wrote:
>>>>>>>> Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
>>>>>>>> Transaction: Ticket created by r.hachelaf at gmail.com
>>>>>>>>        Queue: met_help
>>>>>>>>      Subject: compiling METv2.0
>>>>>>>>        Owner: Nobody
>>>>>>>>   Requestors: r.hachelaf at gmail.com
>>>>>>>>       Status: new
>>>>>>>>  Ticket <URL:
>>>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424>
>>>>>>>> Hello,
>>>>>>>> When i try to compile MET   code with g++ and gfortran i have
this
>>>>> error
>>>>>>> :
>>>>>>>> *** Making vx_cal Library ***
>>>>>>>>
>>>>>>>> g++ date_to_mjd.cc   -c -I..
>>>>>>>> g++ day_dif.cc   -c -I..
>>>>>>>> g++ day_of_week.cc   -c -I..
>>>>>>>> g++ doyhms_to_unix.cc   -c -I..
>>>>>>>> g++ easter.cc   -c -I..
>>>>>>>> g++ holiday.cc   -c -I..
>>>>>>>> g++ is_dst.cc   -c -I..
>>>>>>>> g++ is_leap_year.cc   -c -I..
>>>>>>>> g++ mdyhms_to_unix.cc   -c -I..
>>>>>>>> g++ mjd_to_date.cc   -c -I..
>>>>>>>> g++ time_strings.cc   -c -I..
>>>>>>>> time_strings.cc: In function ‘void sec_to_hhmmss(int,
char*)’:
>>>>>>>> time_strings.cc:52: erreur: ‘sprintf’ was not declared in
this scope
>>>>>>>> time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
>>>>>>>> char*)’:
>>>>>>>> time_strings.cc:95: erreur: ‘sprintf’ was not declared in
this scope
>>>>>>>> time_strings.cc: In function ‘void
unix_to_yyyymmddhh(unixtime,
>>>>> char*)’:
>>>>>>>> time_strings.cc:230: erreur: ‘sprintf’ was not declared in
this
>> scope
>>>>>>>> time_strings.cc: In function ‘void make_timestring(unixtime,
>> char*)’:
>>>>>>>> time_strings.cc:319: erreur: ‘sprintf’ was not declared in
this
>> scope
>>>>>>>> make[3]: *** [time_strings.o] Erreur 1
>>>>>>>> make[2]: *** [vx_cal_all] Erreur 2
>>>>>>>> make[1]: *** [libs] Erreur 2
>>>>>>>> make: *** [all] Erreur 2
>>>>>>>>
>>>>>>>> Also after doing apdates given in this page :
>>>>>>>>
>>
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
>>>>>
>>>> --
>>>> Cordialement,
>>>> Best regards,
>>>> Rabah Hachelaf
>>>>
>>>>     ______
>>>>    (          )
>>>>   (            )
>>>>  (________)
>>>>     /////////
>>>>
>>>>
>>>
>>
>>
>
>


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #39424] compiling METv2.0
From: Paul Oldenburg
Time: Tue Jul 20 09:24:34 2010

Rabah,

The error message that you reported is a known MET error, discussed at
the following location:

http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/pb2nc/run.php

The solution to your problem is to recompile with or without the "-
DBLOCK4" flag in your top-level Makefile.  If it's
uncommented now, please comment it out.  If it commented out, please
uncomment it.  Then, do a "make clean" and then
"make".  Finally, rerun the scripts/test_pb2nc.sh script to make sure
it works.

Please let me know if you have any questions.

Paul




RAL HelpDesk {for hachelaf rabah} wrote:
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>
> Hello ,
> i upload the file that i have trouble with but it's not a grib file
> but it is a prepbufr file which i need it for get observations.
> bye
>
> 2010/7/20 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>
>> Rabah,
>>
>> Can you please send the grib file that you are having trouble with?
If it
>> is too big (>2MB), please upload it to our
>> FTP site using these commands and credentials.
>>
>>    ftp ftp.rap.ucar.edu
>>    username=anonymous
>>    password="your email address"
>>    cd incoming/irap/met_help/rabah_data
>>    put "your files"
>>    bye
>>
>> Thanks,
>>
>> Paul
>>
>> RAL HelpDesk {for hachelaf rabah} wrote:
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>>>
>>> Hello,
>>> When i try to run ./pb2nc with a blocked prepbufr file
>>> gdas1.t00z.prepbufr.unblok.nr with cwordsh tool i get this error
message
>> :
>>> cnpm at localhost bin]$ ./pb2nc ndas.unblk test config
>>> Reading Config File:    config
>>> Creating NetCDF File:   test
>>> Processing PrepBufr File:       ndas.unblk
>>>
>>>  **************BUFR ARCHIVE LIBRARY ABORT*****************
>>>  BUFRLIB: OPENBF - FIRST 4 BYTES READ FROM RECORD IN INPUT FILE
CONNECTED
>> TO
>>> UNIT  11 NOT 'BUFR', DOES NOT CONTAIN BUFR DATA
>>>  **************BUFR ARCHIVE LIBRARY ABORT*****************
>>>
>>> Any suggestions to resolve this problem.
>>>
>>> 2010/7/20 RAL HelpDesk {for hachelaf rabah} <met_help at ucar.edu>
>>>
>>>> Hello,
>>>> Thank you very match for the patches , its work correctly, i had
just a
>>>> problem with shared libraries :
>>>>
>>>> (error while loading shared libraries:libgsl.so.0: cannot open
shared
>>>> object file: No such
>>>>     file or directory)
>>>>
>>>> when i try to execute the binary executables
>>>> but i solve it and all work good.
>>>>
>>>> Tank you
>>>>
>>>>
>>>>
>>>>
>>>> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>>>>
>>>>> Rabah,
>>>>>
>>>>> MET does not yet officially support GNU version 4.4.  We've been
using
>>>> GNU
>>>>> version 4.3 in our development.  But, because of several
requests
>> similar
>>>>> to
>>>>> yours, we have constructed a bundle with a few minor changes to
use
>> when
>>>>> compiling with version 4.4.  I've attached a tar file to this
message
>>>> that
>>>>> includes both the latest patches from the MET website and the
changes
>>>>> needed to
>>>>> compile with version 4.4.  Please do the following:
>>>>>
>>>>> (1) Download the attached tar file and place it into your top-
level
>>>> METv2.0
>>>>> directory.
>>>>> (2) Uncompress and untar it:
>>>>>   > gunzip METv2.0_patches_gnu4.4_20100618.tar.gz
>>>>>   > tar -xvf METv2.0_patches_gnu4.4_20100618.tar
>>>>> (3) Edit your top-level Makefile and remove "/usr/lib/gcc"
>>>>> (4) Try rebuilding MET.
>>>>>
>>>>> Since I don't have access to GNU 4.4, I can't directly test this
- so
>> I'm
>>>>> not
>>>>> 100% certain it will work.  Good luck.
>>>>>
>>>>> Paul
>>>>>
>>>>>
>>>>> RAL HelpDesk {for hachelaf rabah} wrote:
>>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
>>>>>>
>>>>>> Hello ,
>>>>>> 1-Enclosed you cab find a copy of my Makefile
>>>>>> 2-[cnpm at localhost METv2.0]$ g++ --version
>>>>>> g++ (GCC) 4.4.1
>>>>>> Copyright © 2009 Free Software Foundation, Inc.
>>>>>>
>>>>>> Thank you for help
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
>>>>>>
>>>>>> Rabah,
>>>>>>> I think this is a known problem, but to make sure, please send
me the
>>>>>>> following
>>>>>>> information:
>>>>>>>
>>>>>>> 1.  a copy of your Makefile
>>>>>>> 2.  the output of the following command: g++ --version
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Paul
>>>>>>>
>>>>>>>
>>>>>>> RAL HelpDesk {for hachelaf rabah} wrote:
>>>>>>>> Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
>>>>>>>> Transaction: Ticket created by r.hachelaf at gmail.com
>>>>>>>>        Queue: met_help
>>>>>>>>      Subject: compiling METv2.0
>>>>>>>>        Owner: Nobody
>>>>>>>>   Requestors: r.hachelaf at gmail.com
>>>>>>>>       Status: new
>>>>>>>>  Ticket <URL:
>>>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424>
>>>>>>>> Hello,
>>>>>>>> When i try to compile MET   code with g++ and gfortran i have
this
>>>>> error
>>>>>>> :
>>>>>>>> *** Making vx_cal Library ***
>>>>>>>>
>>>>>>>> g++ date_to_mjd.cc   -c -I..
>>>>>>>> g++ day_dif.cc   -c -I..
>>>>>>>> g++ day_of_week.cc   -c -I..
>>>>>>>> g++ doyhms_to_unix.cc   -c -I..
>>>>>>>> g++ easter.cc   -c -I..
>>>>>>>> g++ holiday.cc   -c -I..
>>>>>>>> g++ is_dst.cc   -c -I..
>>>>>>>> g++ is_leap_year.cc   -c -I..
>>>>>>>> g++ mdyhms_to_unix.cc   -c -I..
>>>>>>>> g++ mjd_to_date.cc   -c -I..
>>>>>>>> g++ time_strings.cc   -c -I..
>>>>>>>> time_strings.cc: In function ‘void sec_to_hhmmss(int,
char*)’:
>>>>>>>> time_strings.cc:52: erreur: ‘sprintf’ was not declared in
this scope
>>>>>>>> time_strings.cc: In function ‘void
unix_to_yyyymmdd_hhmmss(unixtime,
>>>>>>>> char*)’:
>>>>>>>> time_strings.cc:95: erreur: ‘sprintf’ was not declared in
this scope
>>>>>>>> time_strings.cc: In function ‘void
unix_to_yyyymmddhh(unixtime,
>>>>> char*)’:
>>>>>>>> time_strings.cc:230: erreur: ‘sprintf’ was not declared in
this
>> scope
>>>>>>>> time_strings.cc: In function ‘void make_timestring(unixtime,
>> char*)’:
>>>>>>>> time_strings.cc:319: erreur: ‘sprintf’ was not declared in
this
>> scope
>>>>>>>> make[3]: *** [time_strings.o] Erreur 1
>>>>>>>> make[2]: *** [vx_cal_all] Erreur 2
>>>>>>>> make[1]: *** [libs] Erreur 2
>>>>>>>> make: *** [all] Erreur 2
>>>>>>>>
>>>>>>>> Also after doing apdates given in this page :
>>>>>>>>
>>
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
>>>>>
>>>> --
>>>> Cordialement,
>>>> Best regards,
>>>> Rabah Hachelaf
>>>>
>>>>     ______
>>>>    (          )
>>>>   (            )
>>>>  (________)
>>>>     /////////
>>>>
>>>>
>>>
>>
>>
>
>


------------------------------------------------
Subject: compiling METv2.0
From: hachelaf rabah
Time: Wed Jul 21 09:17:13 2010

Hello Paul ,

the option "-DBLOCK4" solves the problem
and the pb2nc works correctely

Thank you for your time and help .

2010/7/20 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>

> Rabah,
>
> The error message that you reported is a known MET error, discussed
at the
> following location:
>
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/pb2nc/run.php
>
> The solution to your problem is to recompile with or without the "-
DBLOCK4"
> flag in your top-level Makefile.  If it's
> uncommented now, please comment it out.  If it commented out, please
> uncomment it.  Then, do a "make clean" and then
> "make".  Finally, rerun the scripts/test_pb2nc.sh script to make
sure it
> works.
>
> Please let me know if you have any questions.
>
> Paul
>
>
>
>
> RAL HelpDesk {for hachelaf rabah} wrote:
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
> >
> > Hello ,
> > i upload the file that i have trouble with but it's not a grib
file
> > but it is a prepbufr file which i need it for get observations.
> > bye
> >
> > 2010/7/20 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
> >
> >> Rabah,
> >>
> >> Can you please send the grib file that you are having trouble
with?  If
> it
> >> is too big (>2MB), please upload it to our
> >> FTP site using these commands and credentials.
> >>
> >>    ftp ftp.rap.ucar.edu
> >>    username=anonymous
> >>    password="your email address"
> >>    cd incoming/irap/met_help/rabah_data
> >>    put "your files"
> >>    bye
> >>
> >> Thanks,
> >>
> >> Paul
> >>
> >> RAL HelpDesk {for hachelaf rabah} wrote:
> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424 >
> >>>
> >>> Hello,
> >>> When i try to run ./pb2nc with a blocked prepbufr file
> >>> gdas1.t00z.prepbufr.unblok.nr with cwordsh tool i get this error
> message
> >> :
> >>> cnpm at localhost bin]$ ./pb2nc ndas.unblk test config
> >>> Reading Config File:    config
> >>> Creating NetCDF File:   test
> >>> Processing PrepBufr File:       ndas.unblk
> >>>
> >>>  **************BUFR ARCHIVE LIBRARY ABORT*****************
> >>>  BUFRLIB: OPENBF - FIRST 4 BYTES READ FROM RECORD IN INPUT FILE
> CONNECTED
> >> TO
> >>> UNIT  11 NOT 'BUFR', DOES NOT CONTAIN BUFR DATA
> >>>  **************BUFR ARCHIVE LIBRARY ABORT*****************
> >>>
> >>> Any suggestions to resolve this problem.
> >>>
> >>> 2010/7/20 RAL HelpDesk {for hachelaf rabah} <met_help at ucar.edu>
> >>>
> >>>> Hello,
> >>>> Thank you very match for the patches , its work correctly, i
had just
> a
> >>>> problem with shared libraries :
> >>>>
> >>>> (error while loading shared libraries:libgsl.so.0: cannot open
shared
> >>>> object file: No such
> >>>>     file or directory)
> >>>>
> >>>> when i try to execute the binary executables
> >>>> but i solve it and all work good.
> >>>>
> >>>> Tank you
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> 2010/7/19 RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
> >>>>
> >>>>> Rabah,
> >>>>>
> >>>>> MET does not yet officially support GNU version 4.4.  We've
been
> using
> >>>> GNU
> >>>>> version 4.3 in our development.  But, because of several
requests
> >> similar
> >>>>> to
> >>>>> yours, we have constructed a bundle with a few minor changes
to use
> >> when
> >>>>> compiling with version 4.4.  I've attached a tar file to this
message
> >>>> that
> >>>>> includes both the latest patches from the MET website and the
changes
> >>>>> needed to
> >>>>> compile with version 4.4.  Please do the following:
> >>>>>
> >>>>> (1) Download the attached tar file and place it into your top-
level
> >>>> METv2.0
> >>>>> directory.
> >>>>> (2) Uncompress and untar it:
> >>>>>   > gunzip METv2.0_patches_gnu4.4_20100618.tar.gz
> >>>>>   > tar -xvf METv2.0_patches_gnu4.4_20100618.tar
> >>>>> (3) Edit your top-level Makefile and remove "/usr/lib/gcc"
> >>>>> (4) Try rebuilding MET.
> >>>>>
> >>>>> Since I don't have access to GNU 4.4, I can't directly test
this - so
> >> I'm
> >>>>> not
> >>>>> 100% certain it will work.  Good luck.
> >>>>>
> >>>>> Paul
> >>>>>
> >>>>>
> >>>>> RAL HelpDesk {for hachelaf rabah} wrote:
> >>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424
>
> >>>>>>
> >>>>>> Hello ,
> >>>>>> 1-Enclosed you cab find a copy of my Makefile
> >>>>>> 2-[cnpm at localhost METv2.0]$ g++ --version
> >>>>>> g++ (GCC) 4.4.1
> >>>>>> Copyright © 2009 Free Software Foundation, Inc.
> >>>>>>
> >>>>>> Thank you for help
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> 2010/7/19 RAL HelpDesk {for Paul Oldenburg}
<met_help at ucar.edu>
> >>>>>>
> >>>>>> Rabah,
> >>>>>>> I think this is a known problem, but to make sure, please
send me
> the
> >>>>>>> following
> >>>>>>> information:
> >>>>>>>
> >>>>>>> 1.  a copy of your Makefile
> >>>>>>> 2.  the output of the following command: g++ --version
> >>>>>>>
> >>>>>>> Thanks,
> >>>>>>>
> >>>>>>> Paul
> >>>>>>>
> >>>>>>>
> >>>>>>> RAL HelpDesk {for hachelaf rabah} wrote:
> >>>>>>>> Mon Jul 19 05:22:41 2010: Request 39424 was acted upon.
> >>>>>>>> Transaction: Ticket created by r.hachelaf at gmail.com
> >>>>>>>>        Queue: met_help
> >>>>>>>>      Subject: compiling METv2.0
> >>>>>>>>        Owner: Nobody
> >>>>>>>>   Requestors: r.hachelaf at gmail.com
> >>>>>>>>       Status: new
> >>>>>>>>  Ticket <URL:
> >>>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=39424>
> >>>>>>>> Hello,
> >>>>>>>> When i try to compile MET   code with g++ and gfortran i
have this
> >>>>> error
> >>>>>>> :
> >>>>>>>> *** Making vx_cal Library ***
> >>>>>>>>
> >>>>>>>> g++ date_to_mjd.cc   -c -I..
> >>>>>>>> g++ day_dif.cc   -c -I..
> >>>>>>>> g++ day_of_week.cc   -c -I..
> >>>>>>>> g++ doyhms_to_unix.cc   -c -I..
> >>>>>>>> g++ easter.cc   -c -I..
> >>>>>>>> g++ holiday.cc   -c -I..
> >>>>>>>> g++ is_dst.cc   -c -I..
> >>>>>>>> g++ is_leap_year.cc   -c -I..
> >>>>>>>> g++ mdyhms_to_unix.cc   -c -I..
> >>>>>>>> g++ mjd_to_date.cc   -c -I..
> >>>>>>>> g++ time_strings.cc   -c -I..
> >>>>>>>> time_strings.cc: In function ‘void sec_to_hhmmss(int,
char*)’:
> >>>>>>>> time_strings.cc:52: erreur: ‘sprintf’ was not declared in
this
> scope
> >>>>>>>> time_strings.cc: In function ‘void
> unix_to_yyyymmdd_hhmmss(unixtime,
> >>>>>>>> char*)’:
> >>>>>>>> time_strings.cc:95: erreur: ‘sprintf’ was not declared in
this
> scope
> >>>>>>>> time_strings.cc: In function ‘void
unix_to_yyyymmddhh(unixtime,
> >>>>> char*)’:
> >>>>>>>> time_strings.cc:230: erreur: ‘sprintf’ was not declared in
this
> >> scope
> >>>>>>>> time_strings.cc: In function ‘void
make_timestring(unixtime,
> >> char*)’:
> >>>>>>>> time_strings.cc:319: erreur: ‘sprintf’ was not declared in
this
> >> scope
> >>>>>>>> make[3]: *** [time_strings.o] Erreur 1
> >>>>>>>> make[2]: *** [vx_cal_all] Erreur 2
> >>>>>>>> make[1]: *** [libs] Erreur 2
> >>>>>>>> make: *** [all] Erreur 2
> >>>>>>>>
> >>>>>>>> Also after doing apdates given in this page :
> >>>>>>>>
> >>
>
http://www.dtcenter.org/met/users/support/known_issues/METv2.0/index.php
> >>>>>
> >>>> --
> >>>> Cordialement,
> >>>> Best regards,
> >>>> Rabah Hachelaf
> >>>>
> >>>>     ______
> >>>>    (          )
> >>>>   (            )
> >>>>  (________)
> >>>>     /////////
> >>>>
> >>>>
> >>>
> >>
> >>
> >
> >
>
>
>


--
Cordialement,
Best regards,
Rabah Hachelaf

     ______
    (          )
   (            )
  (________)
     /////////

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


More information about the Met_help mailing list