build failure for OSX w/cmake version 3.23.2 #1

Open
opened 6 months ago by Ghost · 1 comments
Ghost commented 6 months ago

cmake .. warns:

CMake Warning (dev):
  Policy CMP0068 is not set: RPATH settings on macOS do not affect
  install_name.  Run "cmake --help-policy CMP0068" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

  For compatibility with older versions of CMake, the install_name fields for
  the following targets are still affected by RPATH settings:

   gnuradio-osmosdr

This warning is for project developers.  Use -Wno-dev to suppress it.

and attempting to make install fails with:

Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/include/osmosdr/api.h
-- Up-to-date: /usr/local/include/osmosdr/pimpl.h
-- Up-to-date: /usr/local/include/osmosdr/ranges.h
-- Up-to-date: /usr/local/include/osmosdr/time_spec.h
-- Up-to-date: /usr/local/include/osmosdr/device.h
-- Up-to-date: /usr/local/include/osmosdr/source.h
-- Up-to-date: /usr/local/include/osmosdr/sink.h
-- Installing: /usr/local/lib/libgnuradio-osmosdr.0.2.0.0.dylib
-- Up-to-date: /usr/local/lib/libgnuradio-osmosdr.0.2.0.dylib
-- Up-to-date: /usr/local/lib/libgnuradio-osmosdr.dylib
-- Up-to-date: /usr/local/lib/cmake/osmosdr/gnuradio-osmosdrTargets.cmake
-- Up-to-date: /usr/local/lib/cmake/osmosdr/gnuradio-osmosdrTargets-release.cmake
-- Up-to-date: /usr/local/lib/cmake/osmosdr/gnuradio-osmosdrConfig.cmake
CMake Error at python/cmake_install.cmake:41 (file):
  file cannot create directory:
  /usr/local/../../../../../../Cellar/gnuradio/3.10.2.0/libexec/venv/lib/python3.9/site-packages/osmosdr.
  Maybe need administrative privileges.
Call Stack (most recent call first):
  cmake_install.cmake:44 (include)


make: *** [install] Error 1
`cmake ..` warns: ``` CMake Warning (dev): Policy CMP0068 is not set: RPATH settings on macOS do not affect install_name. Run "cmake --help-policy CMP0068" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, the install_name fields for the following targets are still affected by RPATH settings: gnuradio-osmosdr This warning is for project developers. Use -Wno-dev to suppress it. ``` and attempting to `make install` fails with: ``` Install the project... -- Install configuration: "Release" -- Up-to-date: /usr/local/include/osmosdr/api.h -- Up-to-date: /usr/local/include/osmosdr/pimpl.h -- Up-to-date: /usr/local/include/osmosdr/ranges.h -- Up-to-date: /usr/local/include/osmosdr/time_spec.h -- Up-to-date: /usr/local/include/osmosdr/device.h -- Up-to-date: /usr/local/include/osmosdr/source.h -- Up-to-date: /usr/local/include/osmosdr/sink.h -- Installing: /usr/local/lib/libgnuradio-osmosdr.0.2.0.0.dylib -- Up-to-date: /usr/local/lib/libgnuradio-osmosdr.0.2.0.dylib -- Up-to-date: /usr/local/lib/libgnuradio-osmosdr.dylib -- Up-to-date: /usr/local/lib/cmake/osmosdr/gnuradio-osmosdrTargets.cmake -- Up-to-date: /usr/local/lib/cmake/osmosdr/gnuradio-osmosdrTargets-release.cmake -- Up-to-date: /usr/local/lib/cmake/osmosdr/gnuradio-osmosdrConfig.cmake CMake Error at python/cmake_install.cmake:41 (file): file cannot create directory: /usr/local/../../../../../../Cellar/gnuradio/3.10.2.0/libexec/venv/lib/python3.9/site-packages/osmosdr. Maybe need administrative privileges. Call Stack (most recent call first): cmake_install.cmake:44 (include) make: *** [install] Error 1 ```
tnt was assigned by laforge 6 months ago
ewild was assigned by laforge 6 months ago
steve-m was assigned by laforge 6 months ago
horizon was assigned by laforge 6 months ago
Owner

There is unfortunately little we can do about it, you're apparently using homebrew/a venv that messes up the paths. None of the developers use osx, so we're unable to help.

There is unfortunately little we can do about it, you're apparently using homebrew/a venv that messes up the paths. None of the developers use osx, so we're unable to help.
Sign in to join this conversation.
No Label
No Milestone
No project
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: sdr/gr-osmosdr#1
Loading…
There is no content yet.