Software Versions:
# uname -a
SunOS pytest3 5.11 joyent_20141002T182809Z i86pc i386 i86pc Solaris
# gcc --version
gcc (GCC) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# make --version
GNU Make 4.0
Built for x86_64-sun-solaris2.11
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

**************
The configure seems to work without an issue.  It produces the following report:

            SUMMARY OF THE HDF5 CONFIGURATION
            =================================

General Information:
-------------------
                   HDF5 Version: 1.8.14
                  Configured on: Fri Nov 21 20:10:05 UTC 2014
                  Configured by: root@pytest3
                 Configure mode: production
                    Host system: i386-pc-solaris2.11
              Uname information: SunOS pytest3 5.11 joyent_20141002T182809Z 
i86pc i386 i86pc Solaris
                       Byte sex: little-endian
                      Libraries: static, shared
             Installation point: /opt/local/hdf5

Compiling Options:
------------------
               Compilation Mode: production
                     C Compiler: /opt/local/bin/cc
                         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 -Wfloat-equal -Wmissing-format-attribute -Wmissing-noreturn -Wpacked 
-Wdisabled-optimization -Wformat=2 -Wendif-labels -Wdeclaration-after-statement 
-Wold-style-definition -Winvalid-pch -Wvariadic-macros -Winit-self 
-Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros 
-Wunsafe-loop-optimizations -Wc++-compat -Wstrict-overflow -Wlogical-op 
-Wlarger-than=2048 -Wvla -Wsync-nand -Wframe-larger-than=16384 
-Wpacked-bitfield-compat -Wstrict-overflow=5 -Wjump-misses-init 
-Wunsuffixed-float-constants -Wdouble-promotion -Wsuggest-attribute=const 
-Wtrampolines -Wstack-usage=8192 -Wvector-operation-performance 
-Wsuggest-attribute=pure -Wsuggest-attribute=noreturn -O3 -fomit-frame-pointer 
-finline-functions
                      AM_CFLAGS: 
                       CPPFLAGS: 
                    H5_CPPFLAGS:  -LANG:std  -DNDEBUG -UH5_DEBUG_API
                    AM_CPPFLAGS: 
               Shared C Library: yes
               Static C Library: yes
  Statically Linked Executables: no
                        LDFLAGS: 
                     H5_LDFLAGS: 
                     AM_LDFLAGS:  -L/opt/local/hdf5/lib
                Extra libraries:  -lz -lnsl -lsocket -ldl -lm 
                       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
      Strict File Format Checks: no
   Optimization Instrumentation: no
       Large File Support (LFS): yes


**************
The make however returns many warnings concerning sizes:

H5Dscatgath.c: In function 'H5Dscatter':
H5Dscatgath.c:926:20: warning: size of 'iter' is 2232 bytes [-Wlarger-than=]
H5Dscatgath.c: In function 'H5Dgather':
H5Dscatgath.c:1026:20: warning: size of 'iter' is 2232 bytes [-Wlarger-than=]
H5Dscatgath.c: In function 'H5D__gather_file':
H5Dscatgath.c:270:1: warning: stack usage is 16720 bytes [-Wstack-usage=]
H5Dscatgath.c:270:1: warning: the frame size of 16624 bytes is larger than 
16384 bytes [-Wframe-larger-than=]
H5Dscatgath.c: In function 'H5D__gather_mem.isra.0':
H5Dscatgath.c:442:1: warning: stack usage is 16592 bytes [-Wstack-usage=]
H5Dscatgath.c:442:1: warning: the frame size of 16496 bytes is larger than 
16384 bytes [-Wframe-larger-than=]
H5Dscatgath.c: In function 'H5D__scatter_mem':
H5Dscatgath.c:355:1: warning: stack usage is 16576 bytes [-Wstack-usage=]
H5Dscatgath.c:355:1: warning: the frame size of 16480 bytes is larger than 
16384 bytes [-Wframe-larger-than=]
H5Dscatgath.c: In function 'H5D__scatgath_read':
H5Dscatgath.c:574:1: warning: stack usage is 23392 bytes [-Wstack-usage=]
H5Dscatgath.c:574:1: warning: the frame size of 23296 bytes is larger than 
16384 bytes [-Wframe-larger-than=]
H5Dscatgath.c: In function 'H5D__scatgath_write':
H5Dscatgath.c:705:1: warning: stack usage is 23504 bytes [-Wstack-usage=]
H5Dscatgath.c:705:1: warning: the frame size of 23408 bytes is larger than 
16384 bytes [-Wframe-larger-than=]
  CC       H5Dselect.lo
H5Dselect.c: In function 'H5D__select_io':
H5Dselect.c:89:20: warning: size of 'mem_iter' is 2232 bytes [-Wlarger-than=]
H5Dselect.c:91:20: warning: size of 'file_iter' is 2232 bytes [-Wlarger-than=]


***********
Then finally has a set of error messages:

Making all in src
make[1]: Entering directory '/home/rstephan/hdf5-1.8.14/src'
make  all-am
make[2]: Entering directory '/home/rstephan/hdf5-1.8.14/src'
  CC       H5Fint.lo
H5Fint.c: In function 'H5F_build_actual_name':
H5Fint.c:1572:27: error: 'PATH_MAX' undeclared (first use in this function)
H5Fint.c:1572:27: note: each undeclared identifier is reported only once for 
each function it appears in
H5Fint.c:1609:13: warning: implicit declaration of function 'realpath' 
[-Wimplicit-function-declaration]
H5Fint.c:1609:13: warning: nested extern declaration of 'realpath' 
[-Wnested-externs]
H5Fint.c:1572:18: warning: unused variable 'realname' [-Wunused-variable]
Makefile:1222: recipe for target 'H5Fint.lo' failed
make[2]: *** [H5Fint.lo] Error 1
make[2]: Leaving directory '/home/rstephan/hdf5-1.8.14/src'
Makefile:850: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/rstephan/hdf5-1.8.14/src'
Makefile:586: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

*************
I am at a loss as to what to do.

-----Original Message-----
From: Robert Mustacchi via smartos-discuss 
[mailto:[email protected]] 
Sent: Friday, November 21, 2014 7:05 PM
To: [email protected]; [email protected]
Subject: Re: [smartos-discuss] Compiling HDF5

On 11/21/14 12:04 , [email protected] wrote:
> Has anyone gotten HDF5 to compile on SmartOS?
> 
> http://www.hdfgroup.org/HDF5/release/obtain5.html

While we haven't actively tried, if you can share what's going wrong, we should 
be able to help debug that and move forward.

Robert


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/24882246-6ef95fdc
Modify Your Subscription: https://www.listbox.com/member/?&;
Powered by Listbox: http://www.listbox.com
The information in this email is confidential and may be legally privileged 
against disclosure other than to the intended recipient. It is intended solely 
for the addressee. Access to this email by anyone else is unauthorized. If you 
are not the intended recipient, any disclosure, copying, distribution or any 
action taken or omitted to be taken in reliance on it, is prohibited and may be 
unlawful. Please immediately delete this message and inform the sender of this 
error. 


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to