On Fri, Jun 16, 2017 at 11:06:18PM +0500, Muhammad ILYAS wrote:
./configure --prefix=/usr/local/HDF5 --enable-parallel

in the config.log I see these lines

configure:4603: error: in `/home/.../packages/hdf5-1.10.1':
configure:4605: error: C compiler cannot create executables
See `config.log' for more details

the C compiler exists, as I have compiled zlib-1.2.11 and boost_1_64_0

Can you post a few more lines from config.log? In a failure case it should contain a lot more information, possibly further up.

I one of my examples, output (hopefully close to what you see) looks like:

configure:4112: checking for gcc
configure:4139: result: gcc
configure:4368: checking for C compiler version
configure:4377: gcc --version >&5
gcc (Debian 4.9.2-10) 4.9.2

...

configure:4408: checking whether the C compiler works
configure:4430: gcc       conftest.c  >&5
configure:4434: $? = 0
configure:4482: result: yes
configure:4485: checking for C compiler default output file name
configure:4487: result: a.out
configure:4493: checking for suffix of executables
configure:4500: gcc -o conftest       conftest.c  >&5
configure:4504: $? = 0
configure:4526: result:


But then - in my case it succeeds.

Frank

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to