pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: py-pyside6 & freecad
MLH wrote:
> Thomas Klausner wrote:
> > On Thu, Jun 25, 2026 at 04:35:23PM +0100, MLH wrote:
> > > So what would be the correct way here to get szip included ?
> >
> > I'd start with including archivers/szip/buildlink3.mk in hdf5/Makefile
> > (or Makefile.common)...
>
> What I had read... I think it has to be added to libaec as mentioned
> in the link I previously included.
>
Looking at hdf5. Seems as though the
---------------
... hdf5-hdf5_1.14.6/release_docs/RELEASE.txt :
Configuration
-------------
- When using a system installed zlib library, the shared library is expected to
be found in the system library path with the default HDF5_MODULE_MODE_ZLIB
setting ON.
Setting the HDF5_MODULE_MODE_ZLIB option to OFF, the system installed zlib,
or an alternate installed zlib library, is expected to have a correct
zlib-config.cmake file.
Fixes #5155
- Use pre-installed libaec compression library
The CMake logic for finding the libaec compression library has been
modified for a system-installed version of the library. Two options
must be set;
HDF5_ALLOW_EXTERNAL_SUPPORT:STRING=NO
<LIB_PKG_NAME>_USE_EXTERNAL:BOOL=OFF
where <LIB_PKG_NAME> is one of ZLIB, ZLIBNG, SZIP, PLUGIN.
Note that HDF5_ALLOW_EXTERNAL_SUPPORT:STRING=NO disables building all
plugins and external libraries in-line with the HDF5 library.
In addition, the <LIB_PKG_NAME>_ROOT environment variables must be set,
where <LIB_PKG_NAME> is one of ZLIB, ZLIBNG, SZIP, libaec, PLUGIN.
Note that libaec is the expected name for using the libaec library in
place of original szip.
See INSTALL_CMake.txt for more detailed information.
- Removed the module search find_package for szip library
There is not an szip module file to use, so the find_package only uses
find_package in config mode. The remaining choices are to either build szip
with libaec inline, or find a system installed szip library built with CMake.
-------------
... hdf5-hdf5_1.14.6/release_docs/INSTALL_CMake.txt :
To build HDF5 with the SZIP and ZLIB external libraries you will need to:
...
-------------
devel/zlib exists and the hdf5 Makefile includes:
.include "../../devel/zlib/buildlink3.mk"
but there is no devel/szip
So what would be a good way to have hdf5 include szip?
Home |
Main Index |
Thread Index |
Old Index