I build HDF 1.8.12 on OSX (Montain Lion & Mavericks) and I get at the end of the build the error:
CMake Error at cmake_install.cmake:31 (FILE):
file cannot create directory: /HDF5
1.8.12.framework/Versions/1.8.12/HDF5/include. Maybe need administrative
privileges.
I don't want to create a OSX framework or anything else, cmake should build only
the libs and installed it to the prefix directory with the header files. How can
I disable the framework build?
This issue was just discovered after the release. The problem is in the
CMakeInstallation.cmake file starting at line 232. An IF
(HDF5_PACK_MACOSX_BUNDLE) needs to surround lines 232-241.
The problem is line 235 which needed an IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
around it.
Allen
···
On Tuesday, November 19, 2013 11:01:34 PM Philipp Kraus wrote:
Hello,
I build HDF 1.8.12 on OSX (Montain Lion & Mavericks) and I get at the end of
the build the error:
CMake Error at cmake_install.cmake:31 (FILE):
file cannot create directory: /HDF5
1.8.12.framework/Versions/1.8.12/HDF5/include. Maybe need administrative
privileges.
I don't want to create a OSX framework or anything else, cmake should build
only the libs and installed it to the prefix directory with the header
files. How can I disable the framework build?
Hello,
I build HDF 1.8.12 on OSX (Montain Lion & Mavericks) and I get at the end of the build the error:
CMake Error at cmake_install.cmake:31 (FILE):
file cannot create directory: /HDF5
1.8.12.framework/Versions/1.8.12/HDF5/include. Maybe need administrative
privileges.
I don't want to create a OSX framework or anything else, cmake should build only
the libs and installed it to the prefix directory with the header files. How can
I disable the framework build?
Thanks
Phil
I am hoping as more and more OS X HDF5 Builders hit this issue that the HDFGroup will reassess the fix and PLEASE put out a revised source release (not a patch to apply to the sources). This is really a show stopper bug on OS X and should be fixed immediately.
This issue was just discovered after the release. The problem is in the
CMakeInstallation.cmake file starting at line 232. An IF
(HDF5_PACK_MACOSX_BUNDLE) needs to surround lines 232-241.
The problem is line 235 which needed an IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
around it.
Allen
On Tuesday, November 19, 2013 11:01:34 PM Philipp Kraus wrote:
Hello,
I build HDF 1.8.12 on OSX (Montain Lion & Mavericks) and I get at the end of
the build the error:
CMake Error at cmake_install.cmake:31 (FILE):
file cannot create directory: /HDF5
1.8.12.framework/Versions/1.8.12/HDF5/include. Maybe need administrative
privileges.
I don't want to create a OSX framework or anything else, cmake should build
only the libs and installed it to the prefix directory with the header
files. How can I disable the framework build?
On Wed, 20 Nov 2013 09:58:44 -0500, Michael Jackson said:
I am hoping as more and more OS X HDF5 Builders hit this issue that the
HDFGroup will reassess the fix and PLEASE put out a revised source
release (not a patch to apply to the sources). This is really a show
stopper bug on OS X and should be fixed immediately.
--
____________________________________________________________
Sean McBride, B. Eng sean@rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal The HDF Group http://hdfgroup.org
1800 So. Oak St., Suite 203, Champaign IL 61820
217.531.6112
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am hoping as more and more OS X HDF5 Builders hit this issue that the HDFGroup will reassess the fix and PLEASE put out a revised source release (not a patch to apply to the sources). This is really a show stopper bug on OS X and should be fixed immediately.
This issue was just discovered after the release. The problem is in the
CMakeInstallation.cmake file starting at line 232. An IF
(HDF5_PACK_MACOSX_BUNDLE) needs to surround lines 232-241.
The problem is line 235 which needed an IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
around it.
Allen
On Tuesday, November 19, 2013 11:01:34 PM Philipp Kraus wrote:
Hello,
I build HDF 1.8.12 on OSX (Montain Lion & Mavericks) and I get at the end of
the build the error:
CMake Error at cmake_install.cmake:31 (FILE):
file cannot create directory: /HDF5
1.8.12.framework/Versions/1.8.12/HDF5/include. Maybe need administrative
privileges.
I don't want to create a OSX framework or anything else, cmake should build
only the libs and installed it to the prefix directory with the header
files. How can I disable the framework build?
The build bots do not have a test to actually try to "install" HDF5 anywhere. And if they _do_ happen to have that test, then the test is being run with root privs. The issue is that CMAKE_INSTALL_PREFIX is over ridden on install with a path starting with "/" which means the root level of your hard drive. 99% of OS X users do not have privs set to allow this so a test that tried to do the default install would fail. Additionally since CMAKE_INSTALL_PREFIX is over ridden you have no control over where it is installed.
On Wed, 20 Nov 2013 09:58:44 -0500, Michael Jackson said:
I am hoping as more and more OS X HDF5 Builders hit this issue that the
HDFGroup will reassess the fix and PLEASE put out a revised source
release (not a patch to apply to the sources). This is really a show
stopper bug on OS X and should be fixed immediately.
--
____________________________________________________________
Sean McBride, B. Eng sean@rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada