Discussion:
cmus on os x
a.l.e
2010-12-17 13:04:03 UTC
Permalink
hi

i'm trying to compile and install cmus 2.3.3

i modified config.mk and changed all paths to /usr/local/cmus instead of
/usr/local/

when running cmus, now i get the error

/usr/local/cmus/bin/cmus
/usr/local/cmus/bin/cmus: Error: couldn't open directory
`/usr/local/lib/cmus/ip': No such file or directory
/usr/local/cmus/bin/cmus: Error: couldn't open directory
`/usr/local/lib/cmus/op': No such file or directory

if i

/usr/local/lib $ sudo ln -s /usr/local/cmus/lib/cmus .

then i get the error

/usr/local/cmus/bin/cmus: loading /usr/local/share/cmus/rc: No such file
or directory

if i then

/usr/local/share $ sudo ln -s /usr/local/cmus/share/cmus .

cmus starts but i can't type any chars. not evening :q to quit nor 1-5
to switch view.

ctrl-z sends it in the background (and so i can get back to the command
prompt) but ctrl-c brings up the warning that i should use :quit to exit
cmus.


now:

- shouldn't cmus also work from /usr/local/cmus/bin?

- any idea why, then i can't type any char?


ciao
a.l.e
Gregory Petrosyan
2010-12-17 18:09:12 UTC
Permalink
Post by a.l.e
hi
i'm trying to compile and install cmus 2.3.3
i modified config.mk and changed all paths to /usr/local/cmus instead of
/usr/local/
Hmm, can you please try to "./configure --prefix=YOUR_PREFIX" instead
(more options can be found in "./configure --help")? You are not
supposed to modify config.mk directly.

                Gregory
Gregory Petrosyan
2010-12-17 18:26:39 UTC
Permalink
[please don't forget to CC cmus-devel]
hi gregory,
Post by Gregory Petrosyan
Post by a.l.e
i'm trying to compile and install cmus 2.3.3
i modified config.mk and changed all paths to /usr/local/cmus instead of
/usr/local/
Hmm, can you please try to "./configure --prefix=YOUR_PREFIX" instead
(more options can be found in "./configure --help")? You are not
supposed to modify config.mk directly.
$ ./configure --prefix=/usr/local/cmus
unrecognized option `--prefix=/usr/local/cmus'
and this even if
$ ./configure --help
Usage ./configure [-f FILE] [OPTION=VALUE]...
 -f FILE         Read OPTION=VALUE list from FILE (sh script)
 prefix          Installation prefix    [/usr/local]
$ ./configure prefix=/usr/local/cmus
works...
cmus gets correctly installed in /usr/local/cmus/bin/cmus and does start
from there without needing any symlink.
but i still can't do anything since the keys are not working
and
/usr/local/cmus/bin/cmus 2>error.txt
leaves an empty error.txt file
Can you "./configure DEBUG=2" and look into ~/cmus-debug.txt file?

Does cmus work for you on OS X if installed normally? It certainly does for me.

                Gregory
a.l.e
2010-12-17 18:32:10 UTC
Permalink
hi gregory
Post by Gregory Petrosyan
Can you "./configure DEBUG=2" and look into ~/cmus-debug.txt file?
main: charset = 'UTF-8'
player_init: using real-time scheduling
player_init: setting priority to 47
player_set_op: selecting first initialized op
init_plugin: initialized pcm for ao
TIMER: worker job: 0.000049
TIMER: worker job: 0.000016
init_curses: Number of supported colors: 8
init_curses: ts: 0 fs: 0
Post by Gregory Petrosyan
Does cmus work for you on OS X if installed normally? It certainly does for me.
you mean: installed in /usr/local/ ?

i have not tried and i prefer not to try...


btw, os x 10.4 here and the unix-like environment comes from fink


ciao
a.l.e
a.l.e
2010-12-17 19:15:25 UTC
Permalink
hi

and this is the result of the ./configure

ciao
a.l.e


./configure prefix=/usr/local/cmus DEBUG=2
checking for program gcc... /usr/bin/gcc
checking for CFLAGS -std=gnu99 -pipe -Wall -Wshadow -Wcast-align
-Wpointer-arith -Wwrite-strings -Wundef -Wmissing-prototypes
-Wredundant-decls -Wextra -Wno-sign-compare... yes
checking for CFLAGS -Wdeclaration-after-statement... yes
checking for CFLAGS -Wold-style-definition... yes
checking for CFLAGS -Wno-pointer-sign... yes
checking for CFLAGS -Werror-implicit-function-declaration... yes
checking for CFLAGS -Wno-unused-parameter... yes
checking if CC can generate dependency information... yes
checking byte order... little-endian
checking for DL_LIBS (-ldl -Wl,--export-dynamic)... no
checking for DL_LIBS (-Wl,--export-dynamic)... no
checking for DL_LIBS (-ldl)... yes
checking for PTHREAD_LIBS (-lpthread)... yes
checking for realtime scheduling... yes
checking for NCURSES_LIBS (-lncursesw)... yes
checking for working ncurses setup... yes
checking for function resizeterm... yes
checking for function use_default_colors... yes
checking for ICONV_LIBS (-liconv)... yes
checking for FLAC_LIBS (-lFLAC -lm)... yes
checking for program pkg-config... /sw/bin/pkg-config
checking for MAD_LIBS (pkg-config)... no
checking for MAD_LIBS (-lmad -lm)... no
checking for MODPLUG_LIBS (pkg-config)... no
checking for MODPLUG_LIBS (-lmodplug -lstdc++ -lm)... no
checking for header <mpc/mpcdec.h>... no
checking for MPC_LIBS (-lmpcdec)... no
checking for VORBIS_LIBS (pkg-config)... -L/sw/lib -lvorbisfile -lvorbis
-lm -logg
checking for VORBIS_CFLAGS (pkg-config)... -I/sw/include
checking for WAVPACK_LIBS (pkg-config)... no
checking for WAVPACK_LIBS (-lwavpack)... no
checking for header <mp4v2/mp4v2.h>... no
checking for header <neaacdec.h>... no
checking for header <neaacdec.h>... no
checking for FFMPEG_LIBS (pkg-config)... no
*** Package libavformat was not found in the pkg-config search path.
*** Perhaps you should add the directory containing `libavformat.pc'
*** to the PKG_CONFIG_PATH environment variable
*** No package 'libavformat' found
checking for PULSE_LIBS (pkg-config)... no
*** Package libpulse was not found in the pkg-config search path.
*** Perhaps you should add the directory containing `libpulse.pc'
*** to the PKG_CONFIG_PATH environment variable
*** No package 'libpulse' found
checking for ALSA_LIBS (pkg-config)... no
*** Package alsa was not found in the pkg-config search path.
*** Perhaps you should add the directory containing `alsa.pc'
*** to the PKG_CONFIG_PATH environment variable
*** No package 'alsa' found
checking for AO_LIBS (pkg-config)... -L/sw/lib -lao
checking for AO_CFLAGS (pkg-config)... -I/sw/include
checking for program artsc-config... no
checking for header <sys/soundcard.h>... no
checking for header <sys/audioio.h>... no
creating config/datadir.h
creating config/libdir.h
creating config/debug.h
creating config/tremor.h
creating config/mpc.h
creating config/mp4.h
creating config/curses.h
creating config.mk
a.l.e
2010-12-18 07:16:19 UTC
Permalink
hi

may it be, that cmus does not find any sound system?

sound is definitively working on this mac, but cmus may need some
headers when compiling...

any idea?

ciao
a.l.e
Post by a.l.e
hi
and this is the result of the ./configure
ciao
a.l.e
./configure prefix=/usr/local/cmus DEBUG=2
checking for program gcc... /usr/bin/gcc
checking for CFLAGS -std=gnu99 -pipe -Wall -Wshadow -Wcast-align
-Wpointer-arith -Wwrite-strings -Wundef -Wmissing-prototypes
-Wredundant-decls -Wextra -Wno-sign-compare... yes
checking for CFLAGS -Wdeclaration-after-statement... yes
checking for CFLAGS -Wold-style-definition... yes
checking for CFLAGS -Wno-pointer-sign... yes
checking for CFLAGS -Werror-implicit-function-declaration... yes
checking for CFLAGS -Wno-unused-parameter... yes
checking if CC can generate dependency information... yes
checking byte order... little-endian
checking for DL_LIBS (-ldl -Wl,--export-dynamic)... no
checking for DL_LIBS (-Wl,--export-dynamic)... no
checking for DL_LIBS (-ldl)... yes
checking for PTHREAD_LIBS (-lpthread)... yes
checking for realtime scheduling... yes
checking for NCURSES_LIBS (-lncursesw)... yes
checking for working ncurses setup... yes
checking for function resizeterm... yes
checking for function use_default_colors... yes
checking for ICONV_LIBS (-liconv)... yes
checking for FLAC_LIBS (-lFLAC -lm)... yes
checking for program pkg-config... /sw/bin/pkg-config
checking for MAD_LIBS (pkg-config)... no
checking for MAD_LIBS (-lmad -lm)... no
checking for MODPLUG_LIBS (pkg-config)... no
checking for MODPLUG_LIBS (-lmodplug -lstdc++ -lm)... no
checking for header <mpc/mpcdec.h>... no
checking for MPC_LIBS (-lmpcdec)... no
checking for VORBIS_LIBS (pkg-config)... -L/sw/lib -lvorbisfile
-lvorbis -lm -logg
checking for VORBIS_CFLAGS (pkg-config)... -I/sw/include
checking for WAVPACK_LIBS (pkg-config)... no
checking for WAVPACK_LIBS (-lwavpack)... no
checking for header <mp4v2/mp4v2.h>... no
checking for header <neaacdec.h>... no
checking for header <neaacdec.h>... no
checking for FFMPEG_LIBS (pkg-config)... no
*** Package libavformat was not found in the pkg-config search path.
*** Perhaps you should add the directory containing `libavformat.pc'
*** to the PKG_CONFIG_PATH environment variable
*** No package 'libavformat' found
checking for PULSE_LIBS (pkg-config)... no
*** Package libpulse was not found in the pkg-config search path.
*** Perhaps you should add the directory containing `libpulse.pc'
*** to the PKG_CONFIG_PATH environment variable
*** No package 'libpulse' found
checking for ALSA_LIBS (pkg-config)... no
*** Package alsa was not found in the pkg-config search path.
*** Perhaps you should add the directory containing `alsa.pc'
*** to the PKG_CONFIG_PATH environment variable
*** No package 'alsa' found
checking for AO_LIBS (pkg-config)... -L/sw/lib -lao
checking for AO_CFLAGS (pkg-config)... -I/sw/include
checking for program artsc-config... no
checking for header <sys/soundcard.h>... no
checking for header <sys/audioio.h>... no
creating config/datadir.h
creating config/libdir.h
creating config/debug.h
creating config/tremor.h
creating config/mpc.h
creating config/mp4.h
creating config/curses.h
creating config.mk
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
Gregory Petrosyan
2010-12-20 08:23:21 UTC
Permalink
Post by a.l.e
hi
may it be, that cmus does not find any sound system?
sound is definitively working on this mac, but cmus may need some headers
when compiling...
any idea?
Loading...