Wednesday, January 4, 2023

Re: sndfile::sndfile again

Hi,

On 12/28/22 5:15 PM, Larry Doolittle wrote:
> gnuradio gurus -
>
> I just hit a problem with symptoms that precisely match
> https://lists.gnu.org/archive/html/discuss-gnuradio/2020-09/msg00055.html
>
> This is while attempting to build gr-osmosdr, basically the first
> real step in the instructions at
> https://wiki.recessim.com/view/Gr-smart_meters_Setup_Guide
>
> I read Chris Gorman's patch, and it makes sense, but I couldn't find
> a way to apply it to my situation. I'm (attempting to) use gnuradio 3.10.4.0
> as supplied in Debian testing (bookworm). I couldn't find a CMakeLists.txt
> file in that gnuradio install that mentions sndfile.
>
> My closest hit was /usr/lib/x86_64-linux-gnu/cmake/gnuradio/FindSNDFILE.cmake
> which I don't really understand. I tried hacking on it anyway, but never
> found a change that fixed my problem.
>
> Any hints or ideas? Am I stuck installing gnuradio from source?
> Should I file a Debian bug report?
>
> - Larry
>

I know you've already solved your immediate problem, but I think this
over-dependence on libsndfile should be fixed in 3.10.5.0 after this PR:
https://github.com/gnuradio/gnuradio/pull/6178

OOT modules that don't themselves use libsndfile (probably all of them)
will no longer need to install it to build against GR 3.10.5.0, and thus
there would be no need to have Debian packages pull in libsndfile1-dev
as a dependency.

See also the bug report for reference:
https://github.com/gnuradio/gnuradio/issues/6109

Cheers,
Ryan

No comments:

Post a Comment