Discussion:
configure: error: cannot find OpenJPEG
Nelissen, B.G.L.
2014-05-18 13:44:24 UTC
Permalink
Hi,

I want to install openslide on a university linux machine (high performance cluster, HPC) to which I have only ssh acces and no admin rights. The prefix for my installation location is /hpc/local/CentOS6/dhl_ec/. My installation of openslide fails when running a ./configure --prefix=/hpc/local/CentOS6/dhl_ec . It tells me that OpenJPEG can not be found.

checking for OPENJPEG... no
checking for OpenJPEG (fallback)... configure: error: in `/home/dhl_ec/bnelissen/src/openslide-3.4.0':
configure: error: cannot find OpenJPEG

I did install OpenJPEG succesfully (no errors during installation) using the same installation location (/hpc/local/CentOS6/dhl_ec).

Furthermore, I have no knowledge about CPPFLAGS and LDFLAGS, but I have read in the same mailing list that I needed to set these. Unfortunately I have no clue on how to do this and it is still without succes.

How can I install openslide and fix my openjpeg problem?

Thanks in advance,
B Nelissen
------------------------------------------------------------------------------

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht
ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct
te informeren door het bericht te retourneren. Het Universitair Medisch
Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W.
(Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij
de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.

Denk s.v.p aan het milieu voor u deze e-mail afdrukt.

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

This message may contain confidential information and is intended exclusively
for the addressee. If you receive this message unintentionally, please do not
use the contents but notify the sender immediately by return e-mail. University
Medical Center Utrecht is a legal person by public law and is registered at
the Chamber of Commerce for Midden-Nederland under no. 30244197.

Please consider the environment before printing this e-mail.
Benjamin Gilbert
2014-05-18 23:18:51 UTC
Permalink
Post by Nelissen, B.G.L.
I want to install openslide on a university linux machine (high
performance cluster, HPC) to which I have only ssh acces and no admin
rights. The prefix for my installation location is
/hpc/local/CentOS6/dhl_ec/. My installation of openslide fails when
running a ./configure --prefix=/hpc/local/CentOS6/dhl_ec . It tells me
that OpenJPEG can not be found.
I did install OpenJPEG succesfully (no errors during installation)
using the same installation location (/hpc/local/CentOS6/dhl_ec).
You can point configure to your installed OpenJPEG by adding
"PKG_CONFIG_PATH=/hpc/local/CentOS6/dhl_ec/lib/pkgconfig" to the
configure command line. configure will read OpenJPEG's pkg-config file
in that directory and automatically set CPPFLAGS and LDFLAGS.

Also, make sure you have OpenJPEG 1.4 or higher, but *not* OpenJPEG 2.x.

--Benjamin Gilbert
Nelissen, B.G.L.
2014-05-19 07:23:28 UTC
Permalink
The following line fixed my openjpeg error.
PKG_CONFIG_PATH=/hpc/local/CentOS6/dhl_ec/lib/pkgconfig ./configure --prefix=/hpc/local/CentOS6/dhl_ec

Thanks for your quick response!
Post by Nelissen, B.G.L.
I want to install openslide on a university linux machine (high
performance cluster, HPC) to which I have only ssh acces and no admin
rights. The prefix for my installation location is
/hpc/local/CentOS6/dhl_ec/. My installation of openslide fails when
running a ./configure --prefix=/hpc/local/CentOS6/dhl_ec . It tells me
that OpenJPEG can not be found.
I did install OpenJPEG succesfully (no errors during installation)
using the same installation location (/hpc/local/CentOS6/dhl_ec).
You can point configure to your installed OpenJPEG by adding "PKG_CONFIG_PATH=/hpc/local/CentOS6/dhl_ec/lib/pkgconfig" to the configure command line. configure will read OpenJPEG's pkg-config file in that directory and automatically set CPPFLAGS and LDFLAGS.
Also, make sure you have OpenJPEG 1.4 or higher, but *not* OpenJPEG 2.x.
--Benjamin Gilbert
------------------------------------------------------------------------------

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht
ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct
te informeren door het bericht te retourneren. Het Universitair Medisch
Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W.
(Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij
de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.

Denk s.v.p aan het milieu voor u deze e-mail afdrukt.

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

This message may contain confidential information and is intended exclusively
for the addressee. If you receive this message unintentionally, please do not
use the contents but notify the sender immediately by return e-mail. University
Medical Center Utrecht is a legal person by public law and is registered at
the Chamber of Commerce for Midden-Nederland under no. 30244197.

Please consider the environment before printing this e-mail.

Loading...