Skip to Content.
Sympa Menu

h5part - [H5part] configure

h5part AT lists.psi.ch

Subject: H5Part development and discussion

List archive

[H5part] configure


Chronological Thread 
  • From: John Molina <johnjmolina AT gmail.com>
  • To: h5part AT lists.psi.ch
  • Subject: [H5part] configure
  • Date: Fri, 15 Jul 2016 17:28:35 +0900

Dear H5part developers,

I was trying to install h5hut on my system but had trouble during the
configure stage.
Specifically, the configure script does not let me set the CC and CXX
environment variables (in order to use the home-brew installed gcc-6 and
g++-6 on my mac, instead of the default clang compiler).

If I try the following

./configure CC=gcc-6 CXX=g++-6 \
--prefix=/opt/H5hut \
--enable-c \
--enable-examples \
--enable-shared \
--enable-static \
--disable-parallel \
--with-hdf5="/opt/hdf5”

the configure will run and give me

Host OS: darwin15.5.0
Host CPU: x86_64
Host vendor: apple
CC = /usr/bin/gcc
CXX = /usr/bin/g++
FC =
CFLAGS = -g -O2 -Wall -O3
FFLAGS = -Wall -O3
AM_CPPFLAGS = -I/opt/hdf5/include
AM_LDFLAGS = -L/opt/hdf5/lib
LIBS = -lhdf5 -lz -lm
HDF5_PREFIX = /opt/hdf5
LUSTREROOT =

(gcc-6 and g++-6 are in /usr/local/bin)

I previously compiled hdf5 using the same options (CC=gcc-6 CXX=g++-6)
without a problem.

Do you have any suggestions?

With Best Regards
John


Archive powered by MHonArc 2.6.19.

Top of Page