Opened 3 years ago
Closed 3 years ago
#63114 closed defect (fixed)
gr-iio: build failure due to -DCMAKE_C_STANDARD=89
Reported by: | psiqueira (Paul Siqueira) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gr-iio |
Description
Hello, when I am trying to install the GnuRadio port gr-iio, macports keeps getting hung up during the final stages of running cmake.
I have been working at this for a while already and most recently have done a complete reinstall of macports.
From what I can understand, the source of the problem is that the CMakeCache.txt file has a default of: CMAKE_C_STANDARD:UNINITIALIZED=89, and that that is an invalid value (see below).
I have the latest version of xcode command line tools installed and am running the latest version OS X Big Sur (11.4).
Does anyone know of a way to address this issue?
Change History (5)
comment:1 Changed 3 years ago by psiqueira (Paul Siqueira)
comment:2 Changed 3 years ago by reneeotten (Renee Otten)
Port: | gr-iio added |
---|---|
Summary: | gr-iio cmake -DCMAKE_C_STANDARD=89 → gr-iio: build failure -DCMAKE_C_STANDARD=89 |
presumably that was fixed already with recent commits/changes/ to the cmake
PG. Please try sudo port selfupdate && sudo port clean --all gr-iio && sudo port install gr-iio
; I think that should work...
If that doesn't solve your problem, please attach the full log(s) as the it will tell you in the message.
comment:3 Changed 3 years ago by reneeotten (Renee Otten)
Keywords: | gr-iio CMAKE_C_STANDARD removed |
---|---|
Owner: | set to michaelld |
Status: | new → assigned |
Summary: | gr-iio: build failure -DCMAKE_C_STANDARD=89 → gr-iio: build failure due to -DCMAKE_C_STANDARD=89 |
comment:5 Changed 3 years ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
:info:configure -- The CXX compiler identification is AppleClang 12.0.5.12050022 :info:configure -- The C compiler identification is AppleClang 12.0.5.12050022 :info:configure -- Detecting CXX compiler ABI info :info:configure -- Detecting CXX compiler ABI info - done :info:configure -- Check for working CXX compiler: /usr/bin/clang++ - skipped :info:configure -- Detecting CXX compile features :info:configure -- Detecting CXX compile features - done :info:configure -- Detecting C compiler ABI info :info:configure CMake Error at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-iio/gr-iio/work/build/CMakeFiles/CMakeTmp/CMakeLists.txt:18 (add_executable): :info:configure C_STANDARD is set to invalid value '89'