NOTE: The netcdf-hdf
mailing list is no longer active. The list archives are made available for historical reasons.
Ahsan, The configure script for version 4.2.1.1 doesn't support the --with-hdf= or --with-zlib= options, as you can see from the documentation produced by running "./configure --help". The correct way to specify locations of the HDF5 header and library files for netCDF is with the CPPFLAGS and LDFLAGS environment variables, as Maarten has recommended and as documented here: http://www.unidata.ucar.edu/software/netcdf/docs/building.html --Russ > --===============1398506919== > Content-Type: multipart/alternative; boundary=089e013a252e5e22fc04e2cce68c > > --089e013a252e5e22fc04e2cce68c > Content-Type: text/plain; charset=ISO-8859-1 > > Dear Maarten > > Thank you for th reply. The issue is that when I am trying to > build hdf5-1.8.9 , simple installation i.e ./configure and make check > install is successful but when I install netcdf it is not able to find hdf. > The HDF5 and netcdf configue command line is not picking path options e.g > . ./configure -with-zlib=/usr/ (when I press Tab it is unable to complete > the path) and that is why even if I put path myself e.g ./configure > -with-zlib=/usr/local, it gives error during make. > Thanks > Ahsan > > > On Wed, Jul 31, 2013 at 4:16 PM, plieger <plieger@xxxxxxx> wrote: > > > Dear Ahsan, > > > > I have HDF5 installed in /data/build and the following seems to work: > > > > export CPPFLAGS="-I/data/build/**include/" > > export LDFLAGS="-L/data/build/lib/" > > export LD_LIBRARY_PATH="/data/build/**lib/:$LD_LIBRARY_PATH" > > export PATH="/data/build/bin/:$PATH" > > > > cd netcdf-4.2.1.1/ > > ./configure --prefix=/data/build --enable-netcdf-4 > > make > > make install > > > > Make sure that both the HDF5 binary and HDF5 headers are available. > > > > Hope it helps, > > Maarten > > > > > > On 07/31/2013 01:11 PM, Syed Ahsan Ali Bokhari wrote: > > > >> > >> Dear All > >> > >> I am trying to build netcdf4.2.1.1 with hdf5 support on Fedora 16 > >> machine but configure is not > >> able to find hdf. The installation command line is not picking path > >> options e.g . ./configure > >> -with-prefix=/usr/ (when I press Tab it is unable to complete the path). > >> Why the configure is not > >> allowing installation or library path to be specified. > >> > >> > >> Please help! > >> > >> Ahsan > >> pk <http://www.pmd.gov.pk> > >> > >> > >> ______________________________**_________________ > >> netcdf-hdf mailing list > >> netcdf-hdf@xxxxxxxxxxxxxxxx > >> For list information or to unsubscribe, visit: > >> http://www.unidata.ucar.edu/**mailing_lists/<http://www.unidata.ucar.edu/m > ailing_lists/> > >> > >> > > -- > > Maarten Plieger > > KNMI, R&D Information and Observation Technology, De Bilt > > (t) +31 30 2206330 > > > > ______________________________**_________________ > > netcdf-hdf mailing list > > netcdf-hdf@xxxxxxxxxxxxxxxx > > For list information or to unsubscribe, visit: > > http://www.unidata.ucar.edu/**mailing_lists/<http://www.unidata.ucar.edu/ma > iling_lists/> > > --089e013a252e5e22fc04e2cce68c > Content-Type: text/html; charset=ISO-8859-1 > Content-Transfer-Encoding: quoted-printable > > <div dir=3D"ltr">Dear Maarten<div><br></div><div>Thank you for th reply. Th= > e issue is that when =A0<font face=3D"arial, sans-serif">I am trying to bui= > ld=A0=A0hdf5-1.8.9 , simple installation i.e ./configure and make check ins= > tall is successful but when I install netcdf it is not able to find hdf. Th= > e HDF5 and netcdf =A0configue=A0command line is not picking path options e.= > g . ./configure -with-zlib=3D/usr/ (when I press Tab it is unable to comple= > te the path) and that is why even if I put path myself e.g ./configure -wit= > h-zlib=3D/usr/local, it gives error during make.</font></div> > <div><font face=3D"arial, sans-serif">Thanks</font></div><div><font face=3D= > "arial, sans-serif">Ahsan</font></div><div class=3D"gmail_extra"><br><br><d= > iv class=3D"gmail_quote">On Wed, Jul 31, 2013 at 4:16 PM, plieger <span dir= > =3D"ltr"><<a href=3D"mailto:plieger@xxxxxxx" target=3D"_blank">plieger@k= > nmi.nl</a>></span> wrote:<br> > <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= > x #ccc solid;padding-left:1ex">Dear Ahsan,<br> > <br> > I have HDF5 installed in /data/build and the following seems to work:<br> > <br> > export CPPFLAGS=3D"-I/data/build/<u></u>include/"<br> > export LDFLAGS=3D"-L/data/build/lib/"<br> > export LD_LIBRARY_PATH=3D"/data/build/<u></u>lib/:$LD_LIBRARY_PATH&quo= > t;<br> > export PATH=3D"/data/build/bin/:$PATH"<br> > <br> > cd netcdf-4.2.1.1/<br> > ./configure --prefix=3D/data/build --enable-netcdf-4<br> > make<br> > make install<br> > <br> > Make sure that both the HDF5 binary and HDF5 headers are available.<br> > <br> > Hope it helps,<br> > Maarten<div><div class=3D"h5"><br> > <br> > On 07/31/2013 01:11 PM, Syed Ahsan Ali Bokhari wrote:<br> > </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= > rder-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5"> > <br> > Dear All<br> > <br> > I am trying to build =A0netcdf4.2.1.1 with hdf5 support on Fedora 16 machin= > e but configure =A0is not<br> > able to find hdf. The installation command line is not picking path options= > e.g . ./configure<br> > -with-prefix=3D/usr/ (when I press Tab it is unable to complete the path). = > Why the configure is not<br> > allowing installation or library path to be specified.<br> > <br> > <br> > Please help!<br> > <br> > Ahsan<br></div></div> > pk <<a href=3D"http://www.pmd.gov.pk" target=3D"_blank">http://www.pmd.g= > ov.pk</a>><br> > <br> > <br> > ______________________________<u></u>_________________<br> > netcdf-hdf mailing list<br> > <a href=3D"mailto:netcdf-hdf@xxxxxxxxxxxxxxxx" target=3D"_blank">netcdf-hdf= > @unidata.ucar.edu</a><br> > For list information or to unsubscribe, visit: <a href=3D"http://www.unidat= > a.ucar.edu/mailing_lists/" target=3D"_blank">http://www.unidata.ucar.edu/<u= > ></u>mailing_lists/</a><br> > <br><span class=3D"HOEnZb"><font color=3D"#888888"> > </font></span></blockquote><span class=3D"HOEnZb"><font color=3D"#888888"> > <br> > -- <br> > Maarten Plieger<br> > KNMI, R&D Information and Observation Technology, De Bilt<br> > (t) <a href=3D"tel:%2B31%2030%202206330" value=3D"+31302206330" target=3D"_= > blank">+31 30 2206330</a><br> > <br> > ______________________________<u></u>_________________<br> > netcdf-hdf mailing list<br> > <a href=3D"mailto:netcdf-hdf@xxxxxxxxxxxxxxxx" target=3D"_blank">netcdf-hdf= > @unidata.ucar.edu</a><br> > For list information or to unsubscribe, visit: <a href=3D"http://www.unidat= > a.ucar.edu/mailing_lists/" target=3D"_blank">http://www.unidata.ucar.edu/<u= > ></u>mailing_lists/</a> </font></span></blockquote></div><br><br clear=3D"a= > ll"> > <div><br></div><br><div dir=3D"ltr"><div><span style=3D"font-family:arial,s= > ans-serif;font-size:15px"></span></div></div> > </div></div> > > --089e013a252e5e22fc04e2cce68c-- > > > --===============1398506919== > Content-Type: text/plain; charset="us-ascii" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Content-Disposition: inline > > _______________________________________________ > netcdf-hdf mailing list > netcdf-hdf@xxxxxxxxxxxxxxxx > For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/ma > iling_lists/ > --===============1398506919==--
netcdf-hdf
archives: