Using CMake to build HDF5 on a MAC OS X

I had a successful cmake build/test/install on a MAC by adding:
      "-DCMAKE_BUILD_WITH_INSTALL_PATH:BOOL=OFF"
to the build options. This is with cmake 2.8.10.

I would appreciate any community members verifying this as a solution.

Allen

I this with the 1.8.10 version located at http://www.hdfgroup.org/ftp/HDF5/current/src/

···

--
Mike Jackson <www.bluequartz.net>

On Jan 2, 2013, at 10:26 AM, Allen D Byrne wrote:

I had a successful cmake build/test/install on a MAC by adding:
     "-DCMAKE_BUILD_WITH_INSTALL_PATH:BOOL=OFF"
to the build options. This is with cmake 2.8.10.

I would appreciate any community members verifying this as a solution.

Allen

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

CORRECTION: name of option is:
   CMAKE_BUILD_WITH_INSTALL_RPATH

Notice the "R" in RPATH.

Allen

···

On Wednesday, January 02, 2013 10:42:38 AM Michael Jackson wrote:

I this with the 1.8.10 version located at
http://www.hdfgroup.org/ftp/HDF5/current/src/

--
Mike Jackson <www.bluequartz.net>

On Jan 2, 2013, at 10:26 AM, Allen D Byrne wrote:
> I had a successful cmake build/test/install on a MAC by adding:
> "-DCMAKE_BUILD_WITH_INSTALL_PATH:BOOL=OFF"
>
> to the build options. This is with cmake 2.8.10.
>
> I would appreciate any community members verifying this as a solution.
>
> Allen
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> Hdf-forum@hdfgroup.org
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Is this a new variable? I see a CMake variable called "HDF5_BUILD_WITH_INSTALL_NAME"? Oh, wait, if I use the advanced Variables view in CMake then I also see "CMAKE_SKIP_INSTALL_RPATH" and "CMAKE_SKIP_RPATH"? Are those what you mean? Otherwise I am not seeing that variable anywhere in my CMakeCache.txt file. THis is with CMake 2.8.10.1 on OS X 10.6.8

···

--
Mike Jackson <www.bluequartz.net>

On Jan 2, 2013, at 12:08 PM, Allen D Byrne wrote:

CORRECTION: name of option is:
  CMAKE_BUILD_WITH_INSTALL_RPATH

Notice the "R" in RPATH.

Allen

On Wednesday, January 02, 2013 10:42:38 AM Michael Jackson wrote:

I this with the 1.8.10 version located at
http://www.hdfgroup.org/ftp/HDF5/current/src/

--
Mike Jackson <www.bluequartz.net>

On Jan 2, 2013, at 10:26 AM, Allen D Byrne wrote:

I had a successful cmake build/test/install on a MAC by adding:
    "-DCMAKE_BUILD_WITH_INSTALL_PATH:BOOL=OFF"

to the build options. This is with cmake 2.8.10.

I would appreciate any community members verifying this as a solution.

Allen

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

I found this on the CMake wiki discussion about building on macs. In
particular the ability to use the executables in the "bin" build folder during
the test runs. Might be specific to shared builds?

Adding this variable allowed all the H5DUMP (all tools) tests to run correctly
instead of segfaulting.

Allen

···

On Wednesday, January 02, 2013 12:49:11 PM Michael Jackson wrote:

Is this a new variable? I see a CMake variable called
"HDF5_BUILD_WITH_INSTALL_NAME"? Oh, wait, if I use the advanced Variables
view in CMake then I also see "CMAKE_SKIP_INSTALL_RPATH" and
"CMAKE_SKIP_RPATH"? Are those what you mean? Otherwise I am not seeing that
variable anywhere in my CMakeCache.txt file. THis is with CMake 2.8.10.1 on
OS X 10.6.8 --
Mike Jackson <www.bluequartz.net>

On Jan 2, 2013, at 12:08 PM, Allen D Byrne wrote:
> CORRECTION: name of option is:
> CMAKE_BUILD_WITH_INSTALL_RPATH
>
> Notice the "R" in RPATH.
>
> Allen
>
> On Wednesday, January 02, 2013 10:42:38 AM Michael Jackson wrote:
>> I this with the 1.8.10 version located at
>> http://www.hdfgroup.org/ftp/HDF5/current/src/
>>
>> --
>> Mike Jackson <www.bluequartz.net>
>>
>> On Jan 2, 2013, at 10:26 AM, Allen D Byrne wrote:
>>> I had a successful cmake build/test/install on a MAC by adding:
>>> "-DCMAKE_BUILD_WITH_INSTALL_PATH:BOOL=OFF"
>>>
>>> to the build options. This is with cmake 2.8.10.
>>>
>>> I would appreciate any community members verifying this as a solution.
>>>
>>> Allen
>>>
>>> _______________________________________________
>>> Hdf-forum is for HDF software users discussion.
>>> Hdf-forum@hdfgroup.org
>>> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
>>
>> _______________________________________________
>> Hdf-forum is for HDF software users discussion.
>> Hdf-forum@hdfgroup.org
>> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org