[Bug 308280] Re: [needs packaging] please include hdf5-1.8 in jaunty jackalope
Darren Dale
dsdale24 at gmail.com
Sat Mar 14 16:29:09 UTC 2009
I dont know anything about packaging for ubuntu (though I am willing to
learn if you can point me in the right direction).
This morning I upgraded to jaunty alpha 6 and compiled hdf5-1.8.2 from
source. There were two issues, both covered at
http://www.hdfgroup.org/HDF5/release/known_problems5.html:
1) edit the ./perform/zip_perf.c file in the source and change line 552
to:
output = open(filename, O_RDWR | O_CREAT, S_IRWXU);
2) edit ./config/gnu-flags file in the HDF5 source code and setting
PROD_CFLAGS from "-O" to "-O0".
Here is the code that needs to be modified:
gcc-3.[0-4]*|gcc-4.[0123]*)
# The optimization level is reduced for gcc 3.* and 4.* due to problems
# with code generation for src/H5Tconv.c with the -O2 & -O3
# optimization levels (which shows up as failures for various integer
# types -> long long conversions in the test/dtypes test). Perhaps
# later versions of gcc will fix this bug... - QAK - 2003/10/20
PROD_CFLAGS="-O0"
;;
After making these two changes, I ran:
./configure --enable-threadsafe --with-pthreads=/usr --prefix=/usr/local
make
make test
sudo make install
All tests pass
--
[needs packaging] please include hdf5-1.8 in jaunty jackalope
https://bugs.launchpad.net/bugs/308280
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list