[Met_help] [rt.rap.ucar.edu #74868] History for Install error

John Halley Gotway via RT met_help at ucar.edu
Wed Jan 27 09:26:17 MST 2016


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

Hi,
I have installed all the necessary software for the MET package, but I have
some linking error. It is "/usr/bin/ld: cannot find -ljasper" for which I
have tried defining compile flags for during runtime. Can you point me to
some tests I should do?

Mark Benoit


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

Subject: Install error
From: John Halley Gotway
Time: Tue Jan 26 12:53:42 2016

Hello Mark,

I see that you're having some difficulty installing the MET software.
The
jasper library, along with zlib, libpng, and the grib2c library, are
required when compiling support for GRIB2.  It's often the case that
jasperlib is already installed somewhere on user's machines.

Try running the locate command to look for it:
  locate libjasper.a

If you find it on your system somewhere, we can tell the configure
command
where to look for it.  You can use the LDFLAGS option to configure
(./configure --help), like this: LDFLAGS='-
L/path/to/jasperlib/directory'

Where that directory contains the file "libjasper.a".

Otherwise, you could download and install it locally on your machine.
You
can find it on NCEP's website included with the GRIB2 codes:
   http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/

Hopefully that helps.

Thanks,
John Halley Gotway
met_help at ucar.edu


On Tue, Jan 26, 2016 at 12:25 PM, Mark Benoit via RT
<met_help at ucar.edu>
wrote:

>
> Tue Jan 26 12:25:22 2016: Request 74868 was acted upon.
> Transaction: Ticket created by mark.benoit at tamu.edu
>        Queue: met_help
>      Subject: Install error
>        Owner: Nobody
>   Requestors: mark.benoit at tamu.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74868 >
>
>
> Hi,
> I have installed all the necessary software for the MET package, but
I have
> some linking error. It is "/usr/bin/ld: cannot find -ljasper" for
which I
> have tried defining compile flags for during runtime. Can you point
me to
> some tests I should do?
>
> Mark Benoit
>
>

------------------------------------------------
Subject: Install error
From: Mark Benoit
Time: Tue Jan 26 14:20:16 2016

Thanks, that does help! I specified it with the flags, but
incorrectly.

Mark

On Tue, Jan 26, 2016 at 1:53 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Hello Mark,
>
> I see that you're having some difficulty installing the MET
software.  The
> jasper library, along with zlib, libpng, and the grib2c library, are
> required when compiling support for GRIB2.  It's often the case that
> jasperlib is already installed somewhere on user's machines.
>
> Try running the locate command to look for it:
>   locate libjasper.a
>
> If you find it on your system somewhere, we can tell the configure
command
> where to look for it.  You can use the LDFLAGS option to configure
> (./configure --help), like this: LDFLAGS='-
L/path/to/jasperlib/directory'
>
> Where that directory contains the file "libjasper.a".
>
> Otherwise, you could download and install it locally on your
machine.  You
> can find it on NCEP's website included with the GRIB2 codes:
>    http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/
>
> Hopefully that helps.
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
>
> On Tue, Jan 26, 2016 at 12:25 PM, Mark Benoit via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Tue Jan 26 12:25:22 2016: Request 74868 was acted upon.
> > Transaction: Ticket created by mark.benoit at tamu.edu
> >        Queue: met_help
> >      Subject: Install error
> >        Owner: Nobody
> >   Requestors: mark.benoit at tamu.edu
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74868 >
> >
> >
> > Hi,
> > I have installed all the necessary software for the MET package,
but I
> have
> > some linking error. It is "/usr/bin/ld: cannot find -ljasper" for
which I
> > have tried defining compile flags for during runtime. Can you
point me to
> > some tests I should do?
> >
> > Mark Benoit
> >
> >
>
>

------------------------------------------------
Subject: Install error
From: Mark Benoit
Time: Tue Jan 26 14:51:54 2016

I have another question. Freetype, which I downloaded, isn't seen
during
the make install and so I get this

"In file included from cgraph_font.h:22, from cgraph_main.h:25, from
cgraphbase_plottype_to_string.h:38, from
cgraphbase_plottype_to_string.cc:35: /usr/include/ft2build.h:56:38:
error:
freetype/config/ftheader.h: No such file or directory"

I tried to load it the way you described (it is in another folder!),
but it
still is looking in /usr. Can you point me in the right direction
again?


Thanks,

Mark

On Tue, Jan 26, 2016 at 3:20 PM, Mark Benoit <mark.benoit at tamu.edu>
wrote:

> Thanks, that does help! I specified it with the flags, but
incorrectly.
>
> Mark
>
> On Tue, Jan 26, 2016 at 1:53 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>> Hello Mark,
>>
>> I see that you're having some difficulty installing the MET
software.  The
>> jasper library, along with zlib, libpng, and the grib2c library,
are
>> required when compiling support for GRIB2.  It's often the case
that
>> jasperlib is already installed somewhere on user's machines.
>>
>> Try running the locate command to look for it:
>>   locate libjasper.a
>>
>> If you find it on your system somewhere, we can tell the configure
command
>> where to look for it.  You can use the LDFLAGS option to configure
>> (./configure --help), like this: LDFLAGS='-
L/path/to/jasperlib/directory'
>>
>> Where that directory contains the file "libjasper.a".
>>
>> Otherwise, you could download and install it locally on your
machine.  You
>> can find it on NCEP's website included with the GRIB2 codes:
>>    http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/
>>
>> Hopefully that helps.
>>
>> Thanks,
>> John Halley Gotway
>> met_help at ucar.edu
>>
>>
>> On Tue, Jan 26, 2016 at 12:25 PM, Mark Benoit via RT
<met_help at ucar.edu>
>> wrote:
>>
>> >
>> > Tue Jan 26 12:25:22 2016: Request 74868 was acted upon.
>> > Transaction: Ticket created by mark.benoit at tamu.edu
>> >        Queue: met_help
>> >      Subject: Install error
>> >        Owner: Nobody
>> >   Requestors: mark.benoit at tamu.edu
>> >       Status: new
>> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74868 >
>> >
>> >
>> > Hi,
>> > I have installed all the necessary software for the MET package,
but I
>> have
>> > some linking error. It is "/usr/bin/ld: cannot find -ljasper" for
which
>> I
>> > have tried defining compile flags for during runtime. Can you
point me
>> to
>> > some tests I should do?
>> >
>> > Mark Benoit
>> >
>> >
>>
>>
>

------------------------------------------------
Subject: Install error
From: John Halley Gotway
Time: Tue Jan 26 16:12:29 2016

Mark,

I see that you're having trouble linking to the freetype library.  Two
things to mention here:

(1) freetype is currently used in MET only by the plot_mode_field
utility.
That tool actually shares a lot of functionality with the
plot_data_plane
tool.  The biggest difference is that plot_mode_field creates png
output
while plot_data_plane creates postscript.  You could easily disable
its
compilation by *not* specifying the "--enable-mode_graphics"
configuration
option.

(2) If you would actually like to compile it, you'll just need to the
MET_FREETYPE environment variable.  That assumes the header files can
be
found in MET_FREETYPE/include and the library file is found in
MET_FREETYPE/lib.  If that's not how it's installed on your system
(and
it's not like that for me), use set MET_FREETYPEINC to the directory
containing the header (*.h) files and MET_FREETYPELIB to the directory
containing libfreetype.a.

After you have those variables set, rerun configure to regenerate the
Makefiles and then try recompiling.

John



On Tue, Jan 26, 2016 at 2:51 PM, Mark Benoit via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74868 >
>
> I have another question. Freetype, which I downloaded, isn't seen
during
> the make install and so I get this
>
> "In file included from cgraph_font.h:22, from cgraph_main.h:25, from
> cgraphbase_plottype_to_string.h:38, from
> cgraphbase_plottype_to_string.cc:35: /usr/include/ft2build.h:56:38:
error:
> freetype/config/ftheader.h: No such file or directory"
>
> I tried to load it the way you described (it is in another folder!),
but it
> still is looking in /usr. Can you point me in the right direction
again?
>
>
> Thanks,
>
> Mark
>
> On Tue, Jan 26, 2016 at 3:20 PM, Mark Benoit <mark.benoit at tamu.edu>
wrote:
>
> > Thanks, that does help! I specified it with the flags, but
incorrectly.
> >
> > Mark
> >
> > On Tue, Jan 26, 2016 at 1:53 PM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> >> Hello Mark,
> >>
> >> I see that you're having some difficulty installing the MET
software.
> The
> >> jasper library, along with zlib, libpng, and the grib2c library,
are
> >> required when compiling support for GRIB2.  It's often the case
that
> >> jasperlib is already installed somewhere on user's machines.
> >>
> >> Try running the locate command to look for it:
> >>   locate libjasper.a
> >>
> >> If you find it on your system somewhere, we can tell the
configure
> command
> >> where to look for it.  You can use the LDFLAGS option to
configure
> >> (./configure --help), like this:
> LDFLAGS='-L/path/to/jasperlib/directory'
> >>
> >> Where that directory contains the file "libjasper.a".
> >>
> >> Otherwise, you could download and install it locally on your
machine.
> You
> >> can find it on NCEP's website included with the GRIB2 codes:
> >>    http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/
> >>
> >> Hopefully that helps.
> >>
> >> Thanks,
> >> John Halley Gotway
> >> met_help at ucar.edu
> >>
> >>
> >> On Tue, Jan 26, 2016 at 12:25 PM, Mark Benoit via RT
<met_help at ucar.edu
> >
> >> wrote:
> >>
> >> >
> >> > Tue Jan 26 12:25:22 2016: Request 74868 was acted upon.
> >> > Transaction: Ticket created by mark.benoit at tamu.edu
> >> >        Queue: met_help
> >> >      Subject: Install error
> >> >        Owner: Nobody
> >> >   Requestors: mark.benoit at tamu.edu
> >> >       Status: new
> >> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74868
> >
> >> >
> >> >
> >> > Hi,
> >> > I have installed all the necessary software for the MET
package, but I
> >> have
> >> > some linking error. It is "/usr/bin/ld: cannot find -ljasper"
for
> which
> >> I
> >> > have tried defining compile flags for during runtime. Can you
point me
> >> to
> >> > some tests I should do?
> >> >
> >> > Mark Benoit
> >> >
> >> >
> >>
> >>
> >
>
>

------------------------------------------------
Subject: Install error
From: Mark Benoit
Time: Tue Jan 26 16:45:00 2016

Thanks, it always seems to be something small that's missing.
Everything
compiles without an error now.

On Tue, Jan 26, 2016 at 5:12 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Mark,
>
> I see that you're having trouble linking to the freetype library.
Two
> things to mention here:
>
> (1) freetype is currently used in MET only by the plot_mode_field
utility.
> That tool actually shares a lot of functionality with the
plot_data_plane
> tool.  The biggest difference is that plot_mode_field creates png
output
> while plot_data_plane creates postscript.  You could easily disable
its
> compilation by *not* specifying the "--enable-mode_graphics"
configuration
> option.
>
> (2) If you would actually like to compile it, you'll just need to
the
> MET_FREETYPE environment variable.  That assumes the header files
can be
> found in MET_FREETYPE/include and the library file is found in
> MET_FREETYPE/lib.  If that's not how it's installed on your system
(and
> it's not like that for me), use set MET_FREETYPEINC to the directory
> containing the header (*.h) files and MET_FREETYPELIB to the
directory
> containing libfreetype.a.
>
> After you have those variables set, rerun configure to regenerate
the
> Makefiles and then try recompiling.
>
> John
>
>
>
> On Tue, Jan 26, 2016 at 2:51 PM, Mark Benoit via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74868 >
> >
> > I have another question. Freetype, which I downloaded, isn't seen
during
> > the make install and so I get this
> >
> > "In file included from cgraph_font.h:22, from cgraph_main.h:25,
from
> > cgraphbase_plottype_to_string.h:38, from
> > cgraphbase_plottype_to_string.cc:35:
/usr/include/ft2build.h:56:38:
> error:
> > freetype/config/ftheader.h: No such file or directory"
> >
> > I tried to load it the way you described (it is in another
folder!), but
> it
> > still is looking in /usr. Can you point me in the right direction
again?
> >
> >
> > Thanks,
> >
> > Mark
> >
> > On Tue, Jan 26, 2016 at 3:20 PM, Mark Benoit
<mark.benoit at tamu.edu>
> wrote:
> >
> > > Thanks, that does help! I specified it with the flags, but
incorrectly.
> > >
> > > Mark
> > >
> > > On Tue, Jan 26, 2016 at 1:53 PM, John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > >> Hello Mark,
> > >>
> > >> I see that you're having some difficulty installing the MET
software.
> > The
> > >> jasper library, along with zlib, libpng, and the grib2c
library, are
> > >> required when compiling support for GRIB2.  It's often the case
that
> > >> jasperlib is already installed somewhere on user's machines.
> > >>
> > >> Try running the locate command to look for it:
> > >>   locate libjasper.a
> > >>
> > >> If you find it on your system somewhere, we can tell the
configure
> > command
> > >> where to look for it.  You can use the LDFLAGS option to
configure
> > >> (./configure --help), like this:
> > LDFLAGS='-L/path/to/jasperlib/directory'
> > >>
> > >> Where that directory contains the file "libjasper.a".
> > >>
> > >> Otherwise, you could download and install it locally on your
machine.
> > You
> > >> can find it on NCEP's website included with the GRIB2 codes:
> > >>    http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/
> > >>
> > >> Hopefully that helps.
> > >>
> > >> Thanks,
> > >> John Halley Gotway
> > >> met_help at ucar.edu
> > >>
> > >>
> > >> On Tue, Jan 26, 2016 at 12:25 PM, Mark Benoit via RT <
> met_help at ucar.edu
> > >
> > >> wrote:
> > >>
> > >> >
> > >> > Tue Jan 26 12:25:22 2016: Request 74868 was acted upon.
> > >> > Transaction: Ticket created by mark.benoit at tamu.edu
> > >> >        Queue: met_help
> > >> >      Subject: Install error
> > >> >        Owner: Nobody
> > >> >   Requestors: mark.benoit at tamu.edu
> > >> >       Status: new
> > >> >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74868
> > >
> > >> >
> > >> >
> > >> > Hi,
> > >> > I have installed all the necessary software for the MET
package,
> but I
> > >> have
> > >> > some linking error. It is "/usr/bin/ld: cannot find -ljasper"
for
> > which
> > >> I
> > >> > have tried defining compile flags for during runtime. Can you
point
> me
> > >> to
> > >> > some tests I should do?
> > >> >
> > >> > Mark Benoit
> > >> >
> > >> >
> > >>
> > >>
> > >
> >
> >
>
>

------------------------------------------------
Subject: Install error
From: John Halley Gotway
Time: Wed Jan 27 09:25:29 2016

Mark,

That's great.  Thanks for following up to let me know.  I'll go ahead
and
resolve this ticket now, but just let us know if more issues or
questions
arise in your use of MET.

Thanks,
John

On Tue, Jan 26, 2016 at 4:45 PM, Mark Benoit via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74868 >
>
> Thanks, it always seems to be something small that's missing.
Everything
> compiles without an error now.
>
> On Tue, Jan 26, 2016 at 5:12 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Mark,
> >
> > I see that you're having trouble linking to the freetype library.
Two
> > things to mention here:
> >
> > (1) freetype is currently used in MET only by the plot_mode_field
> utility.
> > That tool actually shares a lot of functionality with the
plot_data_plane
> > tool.  The biggest difference is that plot_mode_field creates png
output
> > while plot_data_plane creates postscript.  You could easily
disable its
> > compilation by *not* specifying the "--enable-mode_graphics"
> configuration
> > option.
> >
> > (2) If you would actually like to compile it, you'll just need to
the
> > MET_FREETYPE environment variable.  That assumes the header files
can be
> > found in MET_FREETYPE/include and the library file is found in
> > MET_FREETYPE/lib.  If that's not how it's installed on your system
(and
> > it's not like that for me), use set MET_FREETYPEINC to the
directory
> > containing the header (*.h) files and MET_FREETYPELIB to the
directory
> > containing libfreetype.a.
> >
> > After you have those variables set, rerun configure to regenerate
the
> > Makefiles and then try recompiling.
> >
> > John
> >
> >
> >
> > On Tue, Jan 26, 2016 at 2:51 PM, Mark Benoit via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74868 >
> > >
> > > I have another question. Freetype, which I downloaded, isn't
seen
> during
> > > the make install and so I get this
> > >
> > > "In file included from cgraph_font.h:22, from cgraph_main.h:25,
from
> > > cgraphbase_plottype_to_string.h:38, from
> > > cgraphbase_plottype_to_string.cc:35:
/usr/include/ft2build.h:56:38:
> > error:
> > > freetype/config/ftheader.h: No such file or directory"
> > >
> > > I tried to load it the way you described (it is in another
folder!),
> but
> > it
> > > still is looking in /usr. Can you point me in the right
direction
> again?
> > >
> > >
> > > Thanks,
> > >
> > > Mark
> > >
> > > On Tue, Jan 26, 2016 at 3:20 PM, Mark Benoit
<mark.benoit at tamu.edu>
> > wrote:
> > >
> > > > Thanks, that does help! I specified it with the flags, but
> incorrectly.
> > > >
> > > > Mark
> > > >
> > > > On Tue, Jan 26, 2016 at 1:53 PM, John Halley Gotway via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > >> Hello Mark,
> > > >>
> > > >> I see that you're having some difficulty installing the MET
> software.
> > > The
> > > >> jasper library, along with zlib, libpng, and the grib2c
library, are
> > > >> required when compiling support for GRIB2.  It's often the
case that
> > > >> jasperlib is already installed somewhere on user's machines.
> > > >>
> > > >> Try running the locate command to look for it:
> > > >>   locate libjasper.a
> > > >>
> > > >> If you find it on your system somewhere, we can tell the
configure
> > > command
> > > >> where to look for it.  You can use the LDFLAGS option to
configure
> > > >> (./configure --help), like this:
> > > LDFLAGS='-L/path/to/jasperlib/directory'
> > > >>
> > > >> Where that directory contains the file "libjasper.a".
> > > >>
> > > >> Otherwise, you could download and install it locally on your
> machine.
> > > You
> > > >> can find it on NCEP's website included with the GRIB2 codes:
> > > >>    http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/
> > > >>
> > > >> Hopefully that helps.
> > > >>
> > > >> Thanks,
> > > >> John Halley Gotway
> > > >> met_help at ucar.edu
> > > >>
> > > >>
> > > >> On Tue, Jan 26, 2016 at 12:25 PM, Mark Benoit via RT <
> > met_help at ucar.edu
> > > >
> > > >> wrote:
> > > >>
> > > >> >
> > > >> > Tue Jan 26 12:25:22 2016: Request 74868 was acted upon.
> > > >> > Transaction: Ticket created by mark.benoit at tamu.edu
> > > >> >        Queue: met_help
> > > >> >      Subject: Install error
> > > >> >        Owner: Nobody
> > > >> >   Requestors: mark.benoit at tamu.edu
> > > >> >       Status: new
> > > >> >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=74868
> > > >
> > > >> >
> > > >> >
> > > >> > Hi,
> > > >> > I have installed all the necessary software for the MET
package,
> > but I
> > > >> have
> > > >> > some linking error. It is "/usr/bin/ld: cannot find
-ljasper" for
> > > which
> > > >> I
> > > >> > have tried defining compile flags for during runtime. Can
you
> point
> > me
> > > >> to
> > > >> > some tests I should do?
> > > >> >
> > > >> > Mark Benoit
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >
> > >
> > >
> >
> >
>
>

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


More information about the Met_help mailing list