Open sergstesh opened 3 months ago
Sorry! I just added Sound package on a Ubuntu server:
uname -a
Linux ir74 5.15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:50:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
and it installed fine with Julia 1.10.2, except for some warning messages:
│ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
probably because this is a server without a sound card. I don't have any Linux boxes with sound cards in them.
Sound.jl is just a layer on top of PortAudio so please try ]add PortAudio
next.
If that fails then report the issue to that repo after checking the issues there to see if anyone else has the same problems.
Also please look at the advice given here: https://jefffessler.github.io/Sound.jl/dev/#PortAudio-on-Linux
please try ]add PortAudio next
in the snippet of screen output from Julia REPL at the very top one case see:
Precompiling project... ✗ PortAudio
, i.e. PortAudio is added automatically.
Also please look at the advice given here: https://jefffessler.github.io/Sound.jl/dev/#PortAudio-on-Linux
I have just read it. I do not think what is said in the text pointed to by link is relevant. If to very much shorten my report, it would be: "for some reason libavcodec.so.58 instead of readily available libavcodec.so.60 is wanted". What does this particular problem (58 <-> 60) has to do with what's written in https://jefffessler.github.io/Sound.jl/dev/#PortAudio-on-Linux ?
I was trying to be helpful. I will try one last time. I think the ✗
in ✗ PortAudio
means that package install did not go well. Your issue is likely with PortAudio. The link shows that others have also had issues with PortAudio on Linux.
I think the ✗ in ✗ PortAudio means that package install did not go well. Your issue is likely with PortAudio.
If the 'Sound' package is meant to be cross-platform, why do you build it on top of package ('PortAudio') which doesn't work under Linux ?
Looking at https://jefffessler.github.io/Sound.jl/stable/ I do not see a list of supported/unsupported OSes. Could you please update the page to reflect what OSes are supported ?
@sergstesh , PortAudio depends on alsa_plugins, which needs updating. I'm trying to fix it: https://github.com/JuliaPackaging/Yggdrasil/pull/8863, but there is still something preventing it from building. Help will be appreciated.
I am trying to install 'Sound' package using self-built julia-1.10.2 and the installation fails.
Output of 'uname -a':
Linux slaptop 6.5.0-0.deb12.4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1~bpo12+1 (2023-11-23) x86_64 GNU/Linux
.Julia was downloaded from https://github.com/JuliaLang/julia/releases/download/v1.10.2/julia-1.10.2-full.tar.gz , unpacked the usual way, and was built using
nice -n 19 make test 1>make_test.log 2>&1
command line.
Then I made sure that ~/.julia directory doesn't exist and after invoking Julia the usual way (no command line arguments) I tried to install "Sound" package the usual way:
. Installation process ended with the following messages:
. If I exit REPL using the exit() function and try again to install 'Sound', I'm getting the following screen output:
.
However, trying to use the 'Sound' package produces the following:
. In the above long screen output the first actual error message is:
.
Using 'find' command I see:
, .i.e. 'libavcodec.so.60' file exists, but for some reason instead of loading the file which exists 'libasound_module_pcm_a52.so' DLL tries to load the non-existing 'libavcodec.so.58' file - probably en error in dependencies.