Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45995 closed defect (fixed)

hdfeos5 @1.15_3 +openmpi +gcc48 +szip: error: SZIP specified in --with-szlib is not functional

Reported by: massonseb Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: hdfeos5

Description

Hi,

I have the previous version of hdfeos5 installed

hdfeos5 @1.15_2+openmpi+szip (active)

However I cannot upgrade to 1.15_3.
I get several configure errors.

1) first type of errors (non critical?): unrecognized command line option '-V'

configure:3026: /opt/local/bin/mpicc-openmpi-gcc48 -V >&5
gcc-mp-4.8: error: unrecognized command line option '-V'
gcc-mp-4.8: fatal error: no input files
compilation terminated.

2) second type of errors (non critical?): ac_nonexistent.h: No such file or directory

configure:4584: /opt/local/bin/mpicc-openmpi-gcc48 -E -I/opt/local/include conftest.c
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
                            ^
compilation terminated.

3) third type of errors (critical?): looking for non-existing szip_cc-wrapper-data.txt

configure:22116: checking for szlib encoder
configure:22152: ./szip_cc -o conftest -pipe -Os -DH5_USE_16_API -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -L/opt/local/lib conftest.c -lsz -lz -lm  >&5
Cannot open configuration file /opt/local/share/openmpi-gcc48/openmpi/szip_cc-wrapper-data.txt
Error parsing data file szip_cc: Not found
configure:22155: $? = 243
configure: program exited with status 243

...

configure:22218: ./szip_cc -o conftest -pipe -Os -DH5_USE_16_API -I/opt/local/include -I/opt/local/include -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -L/opt/local/lib conftest.c -lsz -lz -lm  >&5
Cannot open configuration file /opt/local/share/openmpi-gcc48/openmpi/szip_cc-wrapper-data.txt
Error parsing data file szip_cc: Not found
configure:22221: $? = 243
configure: program exited with status 243

Note that I get the same errors with variants "+openmpi +gcc48 +szip" or "+openmpi +szip"
See full log in attachment

Attachments (1)

config.log (44.4 KB) - added by massonseb 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by massonseb

Attachment: config.log added

comment:1 in reply to:  description Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to takeshi@…
Summary: hdfeos5 @ 1.15_3 +openmpi +gcc48 +szip Configure error - build failurehdfeos5 @1.15_3 +openmpi +gcc48 +szip: error: SZIP specified in --with-szlib is not functional

It is normal for a config.log to contain errors. A configure script works by compiling hundreds of small test programs. Whether a test program succeeds or fails tells the configure script about the capabilities of your system. It can be completely normal for some tests to fail.

The first error you mentioned is normal; configure is finding out how to determine your compiler version. "-V" doesn't work for your compiler, so it tries something else.

The second error is also normal; configure is deliberately accessing a nonexistent file to determine how your system responds to that.

The third error is the relevant error, about szip_cc not being found.

comment:2 Changed 10 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Thanks for reporting. szip_cc was not created with +openmpi (but without error with +mpich). CC was not correctly set because configure.cc was modified by PortGroup mpi. Corrected by wrapping configure.cc with pre-configure. Done in r128942.

comment:3 Changed 10 years ago by massonseb

It works perfectly. Thank you.
Seb

Note: See TracTickets for help on using tickets.