Build problem HDF5 1.8.2 on Solaris 2.8

Hi,

I'm having problems building HDF5 on our Solaris 2.8 machine. I've tried
searching through the message archive, and with google but I have not been
able to find any solutions to this. I hope to find the solution here.

On the machine, we have a build of g++ 4.2.4 installed into
/opt/gcc/gcc-4.2.4. It's specs are:

g++ -v

Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: /usr/gccbuild/gcc-4.2.4_src/configure
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
--enable-languages=c,c++ --enable-threads=posix --with-cpu=v7
--prefix=/opt/gcc/gcc-4.2.4

I've untar'd the HDF5 source code into /data/HDF5/hdf5-1.8.2 and created a
directory /data/HDF5/build to configure and build the sources.

Running "../hdf-1.8.2/configure" from build results in the following:

../hdf5-1.8.2/configure

checking for a BSD-compatible install... ../hdf5-1.8.2/bin/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ../hdf5-1.8.2/bin/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking shell variables initial values... done
checking if basename works... yes
checking if xargs works... yes
checking for cached host... none
checking for config sparc-sun-solaris2.8... no
checking for config sparc-sun-solaris2.x... no
checking for config sun-solaris2.8... no
checking for config sun-solaris2.x... no
checking for config sparc-solaris2.8... no
checking for config sparc-solaris2.x... no
checking for config sparc-sun... no
checking for config solaris2.8... no
checking for config solaris2.x... found
checking for config ../hdf5-1.8.2/config/site-specific/host-csgsolaris02...
no
checking for gcc... cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

The above error occurs even though gcc is directly in the path. To get
round this, I set the environment variables CC=gcc and CXX=g++. The
configure step now appears to pass successfully with the following "STATUS"
at the end:

            SUMMARY OF THE HDF5 CONFIGURATION

···

=================================

General Information:
-------------------
                   HDF5 Version: 1.8.2
                  Configured on: Mon Mar 23 11:26:56 GMT 2009
                  Configured by: build@csgsolaris02
                 Configure mode: production
                    Host system: sparc-sun-solaris2.8
              Uname information: SunOS csgsolaris02 5.8 Generic_108528-23
sun4u sparc SUNW,Ultra-5_10
                       Byte sex: big-endian
                      Libraries:
             Installation point: /data/HDF5/build/hdf5

Compiling Options:
------------------
               Compilation Mode: production
                     C Compiler: /opt/gcc/gcc-4.2.4/bin/gcc (gcc-4.2.4)
               CFLAGS/H5_CFLAGS: /-std=c99 -pedantic -Wall -Wextra -Wundef
-Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align
-Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
-Wnested-externs -Winline -Wno-long-long -Wfloat-equal
-Wmissing-format-attribute -Wmissing-noreturn -Wpacked
-Wdisabled-optimization -Wformat=2 -Wunreachable-code -Wendif-labels
-Wdeclaration-after-statement -Wold-style-definition -Winvalid-pch
-Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs
-Wswitch-default -Wswitch-enum -Wunused-macros -Wunsafe-loop-optimizations
-Wc++-compat -Wvolatile-register-var -Wstrict-overflow -O
-fomit-frame-pointer -finline-functions
           CPPFLAGS/H5_CPPFLAGS: / -LANG:std -DNDEBUG -UH5_DEBUG_API
               Shared Libraries: yes
               Static Libraries: yes
  Statically Linked Executables: no
                Extra libraries: -lz -lnsl -lsocket -lm -lsocket
                       Archiver: ar
                         Ranlib: ranlib
              Debugged Packages:
                    API Tracing: no

Languages:
----------
                        Fortran: no
                            C++: no

Features:
---------
                  Parallel HDF5: no
             High Level library: yes
                   Threadsafety: no
            Default API Mapping: v18
With Deprecated Public Symbols: yes
         I/O filters (external): deflate(zlib)
         I/O filters (internal): shuffle,fletcher32,nbit,scaleoffset
                            MPE: no
                     Direct VFD: no
                        dmalloc: no
Clear file buffers before write: yes
           Using memory checker: no
         Function Stack Tracing: no
                           GPFS: no
      Strict File Format Checks: no
   Optimization Instrumentation: no
Linux Large File Support (LFS): no

Running make however, almost immediately fails with the following error:

In file included from ../../hdf5-1.8.2/src/H5private.h:29,
                 from ../../hdf5-1.8.2/src/H5.c:24:
../../hdf5-1.8.2/src/H5public.h:166: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'haddr_t'
In file included from ../../hdf5-1.8.2/src/H5.c:24:
../../hdf5-1.8.2/src/H5private.h:491: error: expected
specifier-qualifier-list before 'haddr_t'
In file included from ../../hdf5-1.8.2/src/H5.c:24:
../../hdf5-1.8.2/src/H5private.h:759: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'h5_stat_size_t'
../../hdf5-1.8.2/src/H5private.h:1229: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'HDstrtoll'
In file included from ../../hdf5-1.8.2/src/H5Dprivate.h:23,
                 from ../../hdf5-1.8.2/src/H5.c:25:
../../hdf5-1.8.2/src/H5Dpublic.h:105: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'H5Dget_offset'
In file included from ../../hdf5-1.8.2/src/H5FDprivate.h:24,
                 from ../../hdf5-1.8.2/src/H5Dprivate.h:26,
                 from ../../hdf5-1.8.2/src/H5.c:25:
...

The error is taking place on the typedef in H5public.h:

/*
* File addresses have their own types.
*/
#if H5_SIZEOF_INT64_T>=8
    typedef uint64_t haddr_t;
# define HADDR_UNDEF ((haddr_t)(int64_t)(-1))

I checked back through the initial log of configure, and it believes that it
has these types:

checking for int64_t... yes
checking size of int64_t... 8
checking for uint64_t... yes
checking size of uint64_t... 8
checking for int_least64_t... yes
checking size of int_least64_t... 8
checking for uint_least64_t... yes
checking size of uint_least64_t... 8
checking for int_fast64_t... no
checking size of int_fast64_t... 0
checking for uint_fast64_t... no
checking size of uint_fast64_t... 0

Any advice on how I can proceed with this, without having to resort to
modifying the header files?

Regards,

Richard

Running "../hdf-1.8.2/configure" from build results in the following:

...

checking for gcc... cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

The above error occurs even though gcc is directly in the path. To get
round this, I set the environment variables CC=gcc and CXX=g++. The
configure step now appears to pass successfully with the following "STATUS"
at the end:

OK, so what if you don't set CC and CXX? What did config.log say?
Sometimes config.log shows that it is trying to link in additional
libraries or do something else unexpected.

==rob

···

On Mon, Mar 23, 2009 at 12:39:06PM +0100, Richard Corden wrote:

--
Rob Latham
Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA B29D F333 664A 4280 315B

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Hi,

    > Running "../hdf-1.8.2/configure" from build results in the following:
    ...
    > checking for gcc... cc
    > checking for C compiler default output file name...
    > configure: error: C compiler cannot create executables
    > See `config.log' for more details.
    >
    > The above error occurs even though gcc is directly in the path. To get
    > round this, I set the environment variables CC=gcc and CXX=g++. The
    > configure step now appears to pass successfully with the
following "STATUS"
    > at the end:

    OK, so what if you don't set CC and CXX? What did config.log say?
    Sometimes config.log shows that it is trying to link in additional
    libraries or do something else unexpected.

I've made progress in a different direction, but to answer your
question first, here's the relevant section from the config.log:

configure:2947: checking for gcc
configure:2974: result: cc
configure:3212: checking for C compiler version
configure:3219: cc --version >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3222: $? = 127
configure:3229: cc -v >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3232: $? = 127
configure:3239: cc -V >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3242: $? = 127
configure:3265: checking for C compiler default output file name
configure:3292: cc conftest.c -lsocket >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3295: $? = 127
configure:3333: result:
configure: failed program was:

/* confdefs.h. */
#define PACKAGE_NAME "HDF5"
#define PACKAGE_TARNAME "hdf5"
#define PACKAGE_VERSION "1.8.2"
#define PACKAGE_STRING "HDF5 1.8.2"
#define PACKAGE_BUGREPORT "help@hdfgroup.org"
#define PACKAGE "hdf5"
#define VERSION "1.8.2"
/* end confdefs.h. */

int
main ()
{

  ;
  return 0;
}

So we don't have 'cc' installed on that machine anywhere, and in fact
the only compilers on the machine are different versions of gcc/g++.

*PROGRESS*

I have managed to make some progress on this however using the
following small test case:

// t.c
#include <inttypes.h>
uint64_t i;

gcc -c t.c

The above compiles cleanly. But adding "-std=c99" to the command line
causes the error:

gcc -std=c99 -c t.c

t.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ui'

This is caused by "-std=c99" defining __STDC__ in the compiler and
that in turn defines __STRICT_ANSI__ and the "int_types.h" header (or
at least the gcc stubbed version) has the following:

/*
* intmax_t and uintmax_t are to be the longest (in number of bits) signed
* and unsigned integer types supported by the implementation.
*/
#if defined(_LP64) || ( !defined(__STRICT_ANSI__) && !defined(_NO_LONGLONG))
typedef int64_t intmax_t;
typedef uint64_t uintmax_t;
#else
typedef int32_t intmax_t;
typedef uint32_t uintmax_t;
#endif

I added CFLAGS and CXXFLAGS with them set to "-U__STRICT_ANSI__". And
reconfigured with the following command:

../hdf5-1.8.2/configure --enable-cxx --enable-zlib
CXXFLAGS="-U__STRICT_ANSI__" CFLAGS="-U__STRICT_ANSI__"

Running make then eventually fails at this point:

make[2]: Entering directory `/data/HDF5/build/c++/src'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../../../hdf5-1.8.2/c++/src -I../../src
-I../../../hdf5-1.8.2/src -LANG:std -DNDEBUG -UH5_DEBUG_API
-U__STRICT_ANSI__ -instances=static -O -s -MT H5Exception.lo -MD -MP
-MF .deps/H5Exception.Tpo -c -o H5Exception.lo
../../../hdf5-1.8.2/c++/src/H5Exception.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../../../hdf5-1.8.2/c++/src -I../../src -I../../../hdf5-1.8.2/src
-LANG:std -DNDEBUG -UH5_DEBUG_API -U__STRICT_ANSI__ -instances=static
-O -s -MT H5Exception.lo -MD -MP -MF .deps/H5Exception.Tpo -c
../../../hdf5-1.8.2/c++/src/H5Exception.cpp -fPIC -DPIC -o
.libs/H5Exception.o
cc1plus: error: unrecognized command line option "-instances=static"
make[2]: *** [H5Exception.lo] Error 1
make[2]: Leaving directory `/data/HDF5/build/c++/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/HDF5/build/c++'
make: *** [all-recursive] Error 1

After removing the "--enable-cxx" option, I have been able to build
and install the libraries. Tomorrow I will check if theyŕe working!

Aside from the build error with "--enable-cxx", what is the best
approach to getting HDF5 to build out of the box on this machine?

It appears to me, that if "-std=c99" is required, then this option
should be used when testing for other features like "uint64_t". Is
c99 support really required?

Regards,

Richard

···

2009/3/23 Robert Latham <robl@mcs.anl.gov>
    On Mon, Mar 23, 2009 at 12:39:06PM +0100, Richard Corden wrote:

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Richard,

We do not support gcc on Solaris and we do not support Solaris 2.8 anymore ;-( but...

I guess we were not very careful with config/solaris2.x file and some flags that shouldn't be used by gcc are forced into compilation line.

You may try to rename (or just delete) config/solaris2.x file before you run configure to get rid of "-instances=static" flag. (And then you probably will not need to set up CC and CXX environment variables either).

Please let me now if it works.

Thank you!

Elena

···

On Mar 23, 2009, at 1:54 PM, Richard Corden wrote:

Hi,

2009/3/23 Robert Latham <robl@mcs.anl.gov>

   On Mon, Mar 23, 2009 at 12:39:06PM +0100, Richard Corden wrote:

Running "../hdf-1.8.2/configure" from build results in the following:

   ...

checking for gcc... cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

The above error occurs even though gcc is directly in the path. To get
round this, I set the environment variables CC=gcc and CXX=g++. The
configure step now appears to pass successfully with the

following "STATUS"

at the end:

   OK, so what if you don't set CC and CXX? What did config.log say?
   Sometimes config.log shows that it is trying to link in additional
   libraries or do something else unexpected.

I've made progress in a different direction, but to answer your
question first, here's the relevant section from the config.log:

configure:2947: checking for gcc
configure:2974: result: cc
configure:3212: checking for C compiler version
configure:3219: cc --version >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3222: $? = 127
configure:3229: cc -v >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3232: $? = 127
configure:3239: cc -V >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3242: $? = 127
configure:3265: checking for C compiler default output file name
configure:3292: cc conftest.c -lsocket >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3295: $? = 127
configure:3333: result:
configure: failed program was:
> /* confdefs.h. */
> #define PACKAGE_NAME "HDF5"
> #define PACKAGE_TARNAME "hdf5"
> #define PACKAGE_VERSION "1.8.2"
> #define PACKAGE_STRING "HDF5 1.8.2"
> #define PACKAGE_BUGREPORT "help@hdfgroup.org"
> #define PACKAGE "hdf5"
> #define VERSION "1.8.2"
> /* end confdefs.h. */
>
> int
> main ()
> {
>
> ;
> return 0;
> }

So we don't have 'cc' installed on that machine anywhere, and in fact
the only compilers on the machine are different versions of gcc/g++.

*PROGRESS*

I have managed to make some progress on this however using the
following small test case:

// t.c
#include <inttypes.h>
uint64_t i;

gcc -c t.c

The above compiles cleanly. But adding "-std=c99" to the command line
causes the error:

gcc -std=c99 -c t.c

t.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ui'

This is caused by "-std=c99" defining __STDC__ in the compiler and
that in turn defines __STRICT_ANSI__ and the "int_types.h" header (or
at least the gcc stubbed version) has the following:

/*
* intmax_t and uintmax_t are to be the longest (in number of bits) signed
* and unsigned integer types supported by the implementation.
*/
#if defined(_LP64) || ( !defined(__STRICT_ANSI__) && !defined(_NO_LONGLONG))
typedef int64_t intmax_t;
typedef uint64_t uintmax_t;
#else
typedef int32_t intmax_t;
typedef uint32_t uintmax_t;
#endif

I added CFLAGS and CXXFLAGS with them set to "-U__STRICT_ANSI__". And
reconfigured with the following command:

../hdf5-1.8.2/configure --enable-cxx --enable-zlib
CXXFLAGS="-U__STRICT_ANSI__" CFLAGS="-U__STRICT_ANSI__"

Running make then eventually fails at this point:

make[2]: Entering directory `/data/HDF5/build/c++/src'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../../../hdf5-1.8.2/c++/src -I../../src
-I../../../hdf5-1.8.2/src -LANG:std -DNDEBUG -UH5_DEBUG_API
-U__STRICT_ANSI__ -instances=static -O -s -MT H5Exception.lo -MD -MP
-MF .deps/H5Exception.Tpo -c -o H5Exception.lo
../../../hdf5-1.8.2/c++/src/H5Exception.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../../../hdf5-1.8.2/c++/src -I../../src -I../../../hdf5-1.8.2/src
-LANG:std -DNDEBUG -UH5_DEBUG_API -U__STRICT_ANSI__ -instances=static
-O -s -MT H5Exception.lo -MD -MP -MF .deps/H5Exception.Tpo -c
../../../hdf5-1.8.2/c++/src/H5Exception.cpp -fPIC -DPIC -o
.libs/H5Exception.o
cc1plus: error: unrecognized command line option "-instances=static"
make[2]: *** [H5Exception.lo] Error 1
make[2]: Leaving directory `/data/HDF5/build/c++/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/HDF5/build/c++'
make: *** [all-recursive] Error 1

After removing the "--enable-cxx" option, I have been able to build
and install the libraries. Tomorrow I will check if theyŕe working!

Aside from the build error with "--enable-cxx", what is the best
approach to getting HDF5 to build out of the box on this machine?

It appears to me, that if "-std=c99" is required, then this option
should be used when testing for other features like "uint64_t". Is
c99 support really required?

Regards,

Richard

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Elena Pourmal wrote:

Richard,

We do not support gcc on Solaris and we do not support Solaris 2.8 anymore ;-( but...

Unfortunately, in our case we have to support the OS until it is no longer supported by Sun directly...which at the moment is 2012!

I guess we were not very careful with config/solaris2.x file and some flags that shouldn't be used by gcc are forced into compilation line.

You may try to rename (or just delete) config/solaris2.x file before you run configure to get rid of "-instances=static" flag. (And then you probably will not need to set up CC and CXX environment variables either).

Please let me now if it works.

I removed the file and it worked perfectly.

I was able to configure, build and install (including the C++ library) without any additional options on the command line.

Thanks for your help.

Regards,

Richard

···

Thank you!

Elena

On Mar 23, 2009, at 1:54 PM, Richard Corden wrote:

Hi,

2009/3/23 Robert Latham <robl@mcs.anl.gov>

On Mon, Mar 23, 2009 at 12:39:06PM +0100, Richard Corden wrote:

Running "../hdf-1.8.2/configure" from build results in the following:

...

checking for gcc... cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

The above error occurs even though gcc is directly in the path. To get
round this, I set the environment variables CC=gcc and CXX=g++. The
configure step now appears to pass successfully with the

following "STATUS"

at the end:

OK, so what if you don't set CC and CXX? What did config.log say?
Sometimes config.log shows that it is trying to link in additional
libraries or do something else unexpected.

I've made progress in a different direction, but to answer your
question first, here's the relevant section from the config.log:

configure:2947: checking for gcc
configure:2974: result: cc
configure:3212: checking for C compiler version
configure:3219: cc --version >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3222: $? = 127
configure:3229: cc -v >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3232: $? = 127
configure:3239: cc -V >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3242: $? = 127
configure:3265: checking for C compiler default output file name
configure:3292: cc conftest.c -lsocket >&5
../hdf5-1.8.2/configure: cc: command not found
configure:3295: $? = 127
configure:3333: result:
configure: failed program was:
> /* confdefs.h. */
> #define PACKAGE_NAME "HDF5"
> #define PACKAGE_TARNAME "hdf5"
> #define PACKAGE_VERSION "1.8.2"
> #define PACKAGE_STRING "HDF5 1.8.2"
> #define PACKAGE_BUGREPORT "help@hdfgroup.org"
> #define PACKAGE "hdf5"
> #define VERSION "1.8.2"
> /* end confdefs.h. */
>
> int
> main ()
> {
>
> ;
> return 0;
> }

So we don't have 'cc' installed on that machine anywhere, and in fact
the only compilers on the machine are different versions of gcc/g++.

*PROGRESS*

I have managed to make some progress on this however using the
following small test case:

// t.c
#include <inttypes.h>
uint64_t i;

gcc -c t.c

The above compiles cleanly. But adding "-std=c99" to the command line
causes the error:

gcc -std=c99 -c t.c

t.c:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ui'

This is caused by "-std=c99" defining __STDC__ in the compiler and
that in turn defines __STRICT_ANSI__ and the "int_types.h" header (or
at least the gcc stubbed version) has the following:

/*
* intmax_t and uintmax_t are to be the longest (in number of bits) signed
* and unsigned integer types supported by the implementation.
*/
#if defined(_LP64) || ( !defined(__STRICT_ANSI__) && !defined(_NO_LONGLONG))
typedef int64_t intmax_t;
typedef uint64_t uintmax_t;
#else
typedef int32_t intmax_t;
typedef uint32_t uintmax_t;
#endif

I added CFLAGS and CXXFLAGS with them set to "-U__STRICT_ANSI__". And
reconfigured with the following command:

../hdf5-1.8.2/configure --enable-cxx --enable-zlib
CXXFLAGS="-U__STRICT_ANSI__" CFLAGS="-U__STRICT_ANSI__"

Running make then eventually fails at this point:

make[2]: Entering directory `/data/HDF5/build/c++/src'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../../../hdf5-1.8.2/c++/src -I../../src
-I../../../hdf5-1.8.2/src -LANG:std -DNDEBUG -UH5_DEBUG_API
-U__STRICT_ANSI__ -instances=static -O -s -MT H5Exception.lo -MD -MP
-MF .deps/H5Exception.Tpo -c -o H5Exception.lo
../../../hdf5-1.8.2/c++/src/H5Exception.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../../../hdf5-1.8.2/c++/src -I../../src -I../../../hdf5-1.8.2/src
-LANG:std -DNDEBUG -UH5_DEBUG_API -U__STRICT_ANSI__ -instances=static
-O -s -MT H5Exception.lo -MD -MP -MF .deps/H5Exception.Tpo -c
../../../hdf5-1.8.2/c++/src/H5Exception.cpp -fPIC -DPIC -o
.libs/H5Exception.o
cc1plus: error: unrecognized command line option "-instances=static"
make[2]: *** [H5Exception.lo] Error 1
make[2]: Leaving directory `/data/HDF5/build/c++/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/HDF5/build/c++'
make: *** [all-recursive] Error 1

After removing the "--enable-cxx" option, I have been able to build
and install the libraries. Tomorrow I will check if theyŕe working!

Aside from the build error with "--enable-cxx", what is the best
approach to getting HDF5 to build out of the box on this machine?

It appears to me, that if "-std=c99" is required, then this option
should be used when testing for other features like "uint64_t". Is
c99 support really required?

Regards,

Richard

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.