Hi Rajesh,

Try using configure option --with-jpeg=DIR where DIR is the full path to the
directory where you installed jpeg (with subdirectories include and lib).

Larry

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Rajesh J
Sent: Monday, April 12, 2010 5:59 AM
To: HDF Users Discussion List
Subject: [Hdf-forum] error in hdf4 installation

Hi HDF users,

While installing hdf4 on an AIX5.3 machine I had the following error.
At first it showed an error that jpeg 8 is not supported. So i
installed jpeg 6. Now the problem is that the script can not find the
jpeg library. How to do this.

checking for jpeg_start_decompress in -ljpeg... no
configure: error: couldn't find jpeg library

The following was what I did

export CFLAGS=""
export CC=""
export FFLAGS=""
export FC=""
export CXX=""
export CPP=""
make clean
make distclean

export OBJECT_MODE=64
export CC=/usr/vac/bin/xlc_r
export FC=/bin/xlf90
export CPP=/bin/cpp
export CXX=/usr/vacpp/bin/xlC_r

./configure --prefix=/gpfs1/scientific_appln/hdf4/hdf-4.2.5
--with-gnu-ld --disable-shared

export OBJECT_MODE=64
make
make check
make install


Please help me in this. I do not know how to link the jpeg library or
check jpeg is installed correctly.

Thank and regards



-- 
Rajesh J.
Consultant,
('PRITHVI' High Performance Computing System, Indian Institute of
Tropical Meteorology, Pune)
HCL Infosystems Ltd.
Arena 10, Pune Nagar Road, Viman Nagar, Pune
+91 9421644467

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to