Skip to content

Make install cannot write to plugin directory #2381

@gsjaardema

Description

@gsjaardema

Using main

When running make install, I get the following:

CMake Error at plugins/cmake_install.cmake:54 (file):
  file INSTALL cannot make directory "/usr/local/hdf5/lib/plugin": No such
  file or directory.
Call Stack (most recent call first):
  cmake_install.cmake:94 (include)

This is using an HDF5 that I build and install in a non /usr/local/hdf5 area. However, in my HDF5 installs, I do not install any plugins, so I don't change the plugin directory from the default (Not sure why HDF5 build does not put the plugin directory path in my install path...)

Now, when I use that HDF5 library, netCDF tries to install its plugins into that same directory, but I don't have write access to that directory and it doesn't even exist...

The fix on my side is to probably specify the hdf5 plugin directory during the build of HDF5, but there is also an issue on netCDF side that if the plugin directory is not writeable by the person running the build, there will be a failure... Not sure of the correct fix, just reporting an issue...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions