Repository navigation
mocp - no valid sound driver #244
Description
Activity
Thanks, I'll take a look at enabling jack support.
I've uploaded a test package with jack enabled, could you just check it works ok?
Run this to install it:
$ pkg_add -U https://us-east.manta.joyent.com/pkgsrc/public/test-packages/moc-2.5.2nb6.tgzThanks.
Reacted by Meilenstein- added a commit that references this issue
on Mar 17, 2020 Hello.
sorry for my late answer.
I tried your packages but it seems it doesn't work.$ pkgin list | grep moc moc-2.5.2nb6 Curses based console audio playerI start jack like when I used macports before:
jackd -d coreaudio &then I try to start moc
$ mocp -R jack Running the server... FATAL_ERROR: No valid sound driver! FATAL_ERROR: Server exited!In addition, it seems that moc is not compiled with jack
Apr 4 12:13:35.202582: main.c:804 main(): This is Music On Console (revision Unversioned directory) Apr 4 12:13:35.202962: main.c:810 main(): Configured: '--without-oss' '--without-rcc' '--without-timidity' '--without-musepack' '--without-alsa' '--without-ffmpeg' '--without-jack' '--without-modplug' '--without-samplerate' '--without-sidplay2' '--without-speex' '--without-wavpack' '--prefix=/opt/pkg' '--build=x86_64-apple-darwin18' '--host=x86_64-apple-darwin18' '--mandir=/opt/pkg/share/man' '--enable-option-checking=yes' 'build_alias=x86_64-apple-darwin18' 'host_alias=x86_64-apple-darwin18' 'CC=clang' 'CFLAGS=-pipe -pipe -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/faad2 -I/opt/pkg/include/db4 -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include/ncurses' 'LDFLAGS=-L/opt/pkg/lib -L/usr/lib' 'LIBS=' 'CPPFLAGS=-I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/faad2 -I/opt/pkg/include/db4 -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include/ncurses' 'CXX=clang++' 'CXXFLAGS=-pipe -pipe -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/faad2 -I/opt/pkg/include/db4 -D_XOPEN_SOURCE_EXTENDED=1 -I/opt/pkg/include/ncurses' 'PKG_CONFIG=/Users/pbulk/build/audio/moc/work/.tools/bin/pkg-config'```Strange. I installed your package again and now it works ... !!
Thanks a lot!!Hey.
I did an upgrade with pkgin yesterday and now the unpatched version is "back again"Apr 17 11:14:20.865990: main.c:804 main(): This is Music On Console (revision Unversioned directory) Apr 17 11:14:20.866377: main.c:810 main(): Configured: '--without-oss' '--without-rcc' '--without-timidity' '--without-musepack' '--without-alsa' '--without-ffmpeg' '--without-jack' '--without-modplug' '--without-samplerate' '--without-sidplay2' '--without-speex' '--without-wavpack'```Yeh, I only enabled the option in the test package that I uploaded, the main repository is still using the default options. I'll enable the option now and it will show up in the next build.
Reacted by MeilensteinOk the version in the repository is now built with jack enabled. I also enabled jack by default across a bunch of other packes.
Reacted by Meilenstein- added a commit that references this issue
on Oct 19, 2020 76 remaining items
- added 2 commits that reference this issue
on May 14, 2026 - added 2 commits that reference this issue
on May 19, 2026 - added a commit that references this issue
on Jun 1, 2026 - added a commit that references this issue
on Jun 23, 2026 - added a commit that references this issue
on Aug 31, 2026 - added a commit that references this issue
on Sep 13, 2026
Hello,
I try to switch from macports to pkgsrc on my Mac OS X 10.15 with all applications.
Now I have the problem, that the music on console (mocp) isn't compiled with jack.
For my understanding, the programm needs jack as sound driver.
With the other sounddrivers "null" and "sndio" the programm starts but I have no sound.