[Met_help] [rt.rap.ucar.edu #73908] History for Problem building MET with grib2 - jasper, etc

John Halley Gotway via RT met_help at ucar.edu
Thu Oct 29 15:42:12 MDT 2015


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

I'm having a problem building MET when trying to build in grib2 support.  MET builds properly without grib2 (this is met-5.1) but filas on unable to find ljasper.  jasper on our system is in a non-traditional path and make can't find it.  Is there a way to specify the path to jasper lib and jasper include without having to install a copy in a standard place on the system?  I'm thinking of env variables, like MET_GRIB2CLIB and MET_GSL.  Is there a MET-friendly variable to set so that I can point to jasper (and maybe png as well) without having to reinstall?
Thanks in advance for you help in this matter.

George Loriot
Atmospheric Sciences Dept
Lyndon State College
Lyndonville, VT


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

Subject: Problem building MET with grib2 - jasper,etc
From: John Halley Gotway
Time: Thu Oct 29 10:09:49 2015

George,

I see that you're having trouble compiling GRIB2 support for MET and
need
to tell it where to look for JASPER.  Some of the output from the
configure
command should point you in the right direction:

cd met-5.1
./configure --help
...
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in
a
              nonstandard directory <lib dir>
...

Try setting the LDFLAGS environment variable to
"-L/path/to/directory/containing/jasperlib".  Then rerun configure and
make
install.

I'm not positive that this will fix it since I haven't tested it
myself,
but hopefully that'll do it.

Please let me know how it goes.

Thanks,
John Halley Gotway
met_help at ucar.edu


On Thu, Oct 29, 2015 at 9:49 AM, Loriot, George B. via RT
<met_help at ucar.edu
> wrote:

>
> Thu Oct 29 09:49:51 2015: Request 73908 was acted upon.
> Transaction: Ticket created by George.Loriot at lsc.vsc.edu
>        Queue: met_help
>      Subject: Problem building MET with grib2 - jasper,etc
>        Owner: Nobody
>   Requestors: George.Loriot at lsc.vsc.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=73908 >
>
>
> I'm having a problem building MET when trying to build in grib2
support.
> MET builds properly without grib2 (this is met-5.1) but filas on
unable to
> find ljasper.  jasper on our system is in a non-traditional path and
make
> can't find it.  Is there a way to specify the path to jasper lib and
jasper
> include without having to install a copy in a standard place on the
> system?  I'm thinking of env variables, like MET_GRIB2CLIB and
MET_GSL.  Is
> there a MET-friendly variable to set so that I can point to jasper
(and
> maybe png as well) without having to reinstall?
> Thanks in advance for you help in this matter.
>
> George Loriot
> Atmospheric Sciences Dept
> Lyndon State College
> Lyndonville, VT
>
>

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #73908] Problem building MET with grib2 - jasper,etc
From: Loriot, George B.
Time: Thu Oct 29 14:05:48 2015

John,
Thanks so much for your speedy and very helpful reply.  I set LDFLAGS
to point to the jasper path, did a make clean and configure, and the
make install ran perfectly.  And now that I'll look beyond the first
page of output from ./configure --help   :), I think that  adding the
remaining tools will be straightforward.
Thanks a gain
George Loriot
Atmospheric Sciences Dept
Lyndon State College
Lyndonville, VT

________________________________________
From: John Halley Gotway via RT <met_help at ucar.edu>
Sent: Thursday, October 29, 2015 12:09 PM
To: Loriot, George B.
Subject: Re: [rt.rap.ucar.edu #73908] Problem building MET with grib2
- jasper,etc

George,

I see that you're having trouble compiling GRIB2 support for MET and
need
to tell it where to look for JASPER.  Some of the output from the
configure
command should point you in the right direction:

cd met-5.1
./configure --help
...
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in
a
              nonstandard directory <lib dir>
...

Try setting the LDFLAGS environment variable to
"-L/path/to/directory/containing/jasperlib".  Then rerun configure and
make
install.

I'm not positive that this will fix it since I haven't tested it
myself,
but hopefully that'll do it.

Please let me know how it goes.

Thanks,
John Halley Gotway
met_help at ucar.edu


On Thu, Oct 29, 2015 at 9:49 AM, Loriot, George B. via RT
<met_help at ucar.edu
> wrote:

>
> Thu Oct 29 09:49:51 2015: Request 73908 was acted upon.
> Transaction: Ticket created by George.Loriot at lsc.vsc.edu
>        Queue: met_help
>      Subject: Problem building MET with grib2 - jasper,etc
>        Owner: Nobody
>   Requestors: George.Loriot at lsc.vsc.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=73908 >
>
>
> I'm having a problem building MET when trying to build in grib2
support.
> MET builds properly without grib2 (this is met-5.1) but filas on
unable to
> find ljasper.  jasper on our system is in a non-traditional path and
make
> can't find it.  Is there a way to specify the path to jasper lib and
jasper
> include without having to install a copy in a standard place on the
> system?  I'm thinking of env variables, like MET_GRIB2CLIB and
MET_GSL.  Is
> there a MET-friendly variable to set so that I can point to jasper
(and
> maybe png as well) without having to reinstall?
> Thanks in advance for you help in this matter.
>
> George Loriot
> Atmospheric Sciences Dept
> Lyndon State College
> Lyndonville, VT
>
>



------------------------------------------------
Subject: Problem building MET with grib2 - jasper,etc
From: John Halley Gotway
Time: Thu Oct 29 14:21:28 2015

Glad that did the trick!

Thanks for letting me know.  I'll resolve this ticket now.

Thanks,
John

On Thu, Oct 29, 2015 at 2:05 PM, Loriot, George B. via RT
<met_help at ucar.edu
> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=73908 >
>
> John,
> Thanks so much for your speedy and very helpful reply.  I set
LDFLAGS to
> point to the jasper path, did a make clean and configure, and the
make
> install ran perfectly.  And now that I'll look beyond the first page
of
> output from ./configure --help   :), I think that  adding the
remaining
> tools will be straightforward.
> Thanks a gain
> George Loriot
> Atmospheric Sciences Dept
> Lyndon State College
> Lyndonville, VT
>
> ________________________________________
> From: John Halley Gotway via RT <met_help at ucar.edu>
> Sent: Thursday, October 29, 2015 12:09 PM
> To: Loriot, George B.
> Subject: Re: [rt.rap.ucar.edu #73908] Problem building MET with
grib2 -
> jasper,etc
>
> George,
>
> I see that you're having trouble compiling GRIB2 support for MET and
need
> to tell it where to look for JASPER.  Some of the output from the
configure
> command should point you in the right direction:
>
> cd met-5.1
> ./configure --help
> ...
>   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries
in a
>               nonstandard directory <lib dir>
> ...
>
> Try setting the LDFLAGS environment variable to
> "-L/path/to/directory/containing/jasperlib".  Then rerun configure
and make
> install.
>
> I'm not positive that this will fix it since I haven't tested it
myself,
> but hopefully that'll do it.
>
> Please let me know how it goes.
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
>
> On Thu, Oct 29, 2015 at 9:49 AM, Loriot, George B. via RT <
> met_help at ucar.edu
> > wrote:
>
> >
> > Thu Oct 29 09:49:51 2015: Request 73908 was acted upon.
> > Transaction: Ticket created by George.Loriot at lsc.vsc.edu
> >        Queue: met_help
> >      Subject: Problem building MET with grib2 - jasper,etc
> >        Owner: Nobody
> >   Requestors: George.Loriot at lsc.vsc.edu
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=73908 >
> >
> >
> > I'm having a problem building MET when trying to build in grib2
support.
> > MET builds properly without grib2 (this is met-5.1) but filas on
unable
> to
> > find ljasper.  jasper on our system is in a non-traditional path
and make
> > can't find it.  Is there a way to specify the path to jasper lib
and
> jasper
> > include without having to install a copy in a standard place on
the
> > system?  I'm thinking of env variables, like MET_GRIB2CLIB and
MET_GSL.
> Is
> > there a MET-friendly variable to set so that I can point to jasper
(and
> > maybe png as well) without having to reinstall?
> > Thanks in advance for you help in this matter.
> >
> > George Loriot
> > Atmospheric Sciences Dept
> > Lyndon State College
> > Lyndonville, VT
> >
> >
>
>
>
>

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


More information about the Met_help mailing list