Re: [netcdfgroup] help4Netcdf4.2

Also, your make check error report says:
"See h5_test/test-suite.log"
That file may shed some light on why the tests failed.
It should be in /home/xjc/netcdf_src/netcdf-c-4.3.2/h5_test

Somehow config.log seems to have found the hdf5 header files and libraries.

If you installed hdf5 from the packages
(I am not familiar to SUSE, maybe it uses yum?),
make sure you have any hdf5 "devel" packages installed,
besides the basic hdf5.
Also, make sure they are compatible with your computer architecture
(ie x86_64, not i386).

Gus Correa


On 05/15/2014 11:23 AM, Ekin Akoglu wrote:
According to this in your config.log:

gcc -o conftest -g -O2  -L/usr/local/lib conftest.c -lhdf5dll  -lm -lz  >&5
/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld:
cannot find -lhdf5dll
collect2: ld returned 1 exit status

and according to the error report, it fails testing "h5_test", all of
which must be related to your installed HDF5 libraries. Hence, I suspect
that it cannot detect the location of your HDF5 libraries installed. I
suggest you try configuring by specifying the directory of your HDF5
installation with something like this:

$ CPPFLAGS=-I<PATH_TO_HDF5>/include LDFLAGS=-L<PATH_TO_HDF5>/lib
./configure --prefix=/usr/local --disable-dap

I hope it works.

Ekin


On 15 May 2014 16:56, alexalex43210@xxxxxxxxx
<mailto:alexalex43210@xxxxxxxxx> <alexalex43210@xxxxxxxxx
<mailto:alexalex43210@xxxxxxxxx>> wrote:

    Dear all,
         Nobody can help about these issue?
             I wanna install 'netcdf-fortran-4.2' into my linux
    platform(LSB Version: n/a ;Distributor ID: SUSE LINUX ; Description:
    openSUSE 11.2 (x86_64) ;Release: 11.2;Codename: n/a ). But before
    that, I choose to  install netcdf-c-4.3.2 c library. I received
    errors report when I install the library. The enclosed are the error
    report and config.log, and I hope you can give me a hand.

    thanks again

    ------------------------------------------------------------------------
    /Best regards,/
    /yours alex/
    /----------------------------------------------------/
    alexalex43210@xxxxxxxxx <mailto:alexalex43210@xxxxxxxxx>



  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: