ciao, oggi mi è venuto lo sfizio di ascoltare musica da terminale. Ho fatto qualche ricerca in rete e ho trovato il programma “moc” che vedo va bene per ubuntu. Per Fedora 15 X64 bit con kde cosa posso usare?
Ciao grazie Pietro
ciao, oggi mi è venuto lo sfizio di ascoltare musica da terminale. Ho fatto qualche ricerca in rete e ho trovato il programma “moc” che vedo va bene per ubuntu. Per Fedora 15 X64 bit con kde cosa posso usare?
Ciao grazie Pietro
Puoi usare moc anche su fedora:
http://www.fedoraonline.it/modules/smartsection/item.php?itemid=321
Altrimenti il mio player preferito da terminale è semplicemente mplayer.
Se però hai kde perché usare un programma da terminale per ascoltare musica? Non hai provato amarok?
ciao
Scusami per la pausa feriale.
Si ho provato vari programmi per ascoltare la musica ma come ti dicevo stò cercando di prendere mano con il terminale o konsole per kde e volevo poter installare un programma che mi permetesse di ascoltare musica.
Ho seguito passo passo la guida da te lincata ma alla fine mi da il seguente messaggio non permettendomi di completare l’installazione
[pietro@localhost ~]$ tar xfj moc-2.4.4.tar.bz2
[pietro@localhost ~]$ cd moc-2.4.4
[pietro@localhost moc-2.4.4]$ ./configure
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for a sed that does not truncate output… /bin/sed
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for fgrep… /bin/grep -F
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking whether ln -s works… yes
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking for /usr/bin/ld option to reload object files… -r
checking how to recognize dependent libraries… pass_all
checking for ar… ar
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking how to run the C preprocessor… gcc -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… no
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking which extension is used for runtime loadable modules… .so
checking which variable specifies run-time module search path… LD_LIBRARY_PATH
checking for the default library search path… /lib /usr/lib /usr/lib64/atlas /usr/lib64/llvm /usr/lib64/mysql /usr/lib64/xulrunner-2
checking for library containing dlopen… -ldl
checking for dlerror… yes
checking for shl_load… no
checking for shl_load in -ldld… no
checking for dld_link in -ldld… no
checking for _ prefix in compiled symbols… no
checking whether deplibs are loaded by dlopen… yes
checking for argz.h… yes
checking for error_t… yes
checking for argz_add… yes
checking for argz_append… yes
checking for argz_count… yes
checking for argz_create_sep… yes
checking for argz_insert… yes
checking for argz_next… yes
checking for argz_stringify… yes
checking if argz actually works… yes
checking whether libtool supports -dlopen/-dlpreopen… yes
checking for ltdl.h… no
checking where to find libltdl headers… -I${top_srcdir}/libltdl
checking where to find libltdl library… ${top_builddir}/libltdl/libltdlc.la
checking for unistd.h… (cached) yes
checking for dl.h… no
checking for sys/dl.h… no
checking for dld.h… no
checking for mach-o/dyld.h… no
checking for dirent.h… yes
checking for closedir… yes
checking for opendir… yes
checking for readdir… yes
checking for strlcat… no
checking for strlcpy… no
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for style of include used by make… GNU
checking dependency style of gcc… gcc3
checking host system type… (cached) x86_64-unknown-linux-gnu
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ISO C89… (cached) none needed
checking for a BSD-compatible install… /usr/bin/install -c
checking for gawk… (cached) gawk
checking for ANSI C header files… (cached) yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking for string.h… (cached) yes
checking for strings.h… (cached) yes
checking sys/param.h usability… yes
checking sys/param.h presence… yes
checking for sys/param.h… yes
checking for unistd.h… (cached) yes
checking sys/un.h usability… yes
checking sys/un.h presence… yes
checking for sys/un.h… yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… yes
checking for sys/types.h… (cached) yes
checking signal.h usability… yes
checking signal.h presence… yes
checking for signal.h… yes
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking sys/wait.h usability… yes
checking sys/wait.h presence… yes
checking for sys/wait.h… yes
checking sys/ioctl.h usability… yes
checking sys/ioctl.h presence… yes
checking for sys/ioctl.h… yes
checking time.h usability… yes
checking time.h presence… yes
checking for time.h… yes
checking errno.h usability… yes
checking errno.h presence… yes
checking for errno.h… yes
checking for sys/stat.h… (cached) yes
checking assert.h usability… yes
checking assert.h presence… yes
checking for assert.h… yes
checking locale.h usability… yes
checking locale.h presence… yes
checking for locale.h… yes
checking wchar.h usability… yes
checking wchar.h presence… yes
checking for wchar.h… yes
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking for inttypes.h… (cached) yes
checking limits.h usability… yes
checking limits.h presence… yes
checking for limits.h… yes
checking for stdint.h… (cached) yes
checking for sched_get_priority_max… yes
checking langinfo.h usability… yes
checking langinfo.h presence… yes
checking for langinfo.h… yes
checking nl_types.h usability… yes
checking nl_types.h presence… yes
checking for nl_types.h… yes
checking for nl_langinfo… yes
checking for nl_langinfo(CODESET)… yes
checking whether byte ordering is bigendian… no
checking iconv.h usability… yes
checking iconv.h presence… yes
checking for iconv.h… yes
checking for iconv_open()… yes
checking for an ANSI C-conforming const… yes
checking for inline… inline
checking for off_t… yes
checking for size_t… yes
checking for lrintf… yes
checking CFLAGS for gcc -Wall… -Wall
checking CFLAGS for gcc -W… -W
checking for sin… no
checking for sin in -lm… yes
checking sys/soundcard.h usability… yes
checking sys/soundcard.h presence… yes
checking for sys/soundcard.h… yes
checking soundcard.h usability… no
checking soundcard.h presence… no
checking for soundcard.h… no
checking for _oss_ioctl in -lossaudio… no
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for ALSA… no
checking for JACK… no
checking CFLAGS for gcc -g… -g
checking for stdlib.h… (cached) yes
checking for GNU libc compatible malloc… yes
checking whether lstat dereferences a symlink specified with a trailing slash… yes
checking whether stat accepts an empty string… no
checking for getcwd… yes
checking for memmove… yes
checking for strcasecmp… yes
checking for strdup… yes
checking for strerror… yes
checking for strncasecmp… yes
checking for strrchr… yes
checking for socket… yes
checking for gettimeofday… yes
checking for getenv… yes
checking for fork… yes
checking for setsid… yes
checking for kill… yes
checking for bind… yes
checking for listen… yes
checking for accept… yes
checking for time… yes
checking for connect… yes
checking for unlink… yes
checking for send… yes
checking for recv… yes
checking for select… yes
checking for strftime… yes
checking for localtime_r… yes
checking for mbsrtowcs… yes
checking for mbstowcs… yes
checking for execvp… yes
checking for wcswidth… yes
checking for strcasestr… yes
checking for strerror_r… yes
checking for dirent.h that defines DIR… yes
checking for library containing opendir… none required
checking for the pthreads library -lpthreads… no
checking whether pthreads work without any flags… no
checking whether pthreads work with -Kthread… no
checking whether pthreads work with -kthread… no
checking for the pthreads library -llthread… no
checking whether pthreads work with -pthread… yes
checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads… no
checking for cc_r… gcc
checking for stdlib.h… (cached) yes
checking for unistd.h… (cached) yes
checking for getpagesize… yes
checking for working mmap… yes
checking for working ncursesw… yes
checking ncursesw/curses.h usability… yes
checking ncursesw/curses.h presence… yes
checking for ncursesw/curses.h… yes
checking for getopt_long… yes
checking getopt.h usability… yes
checking getopt.h presence… yes
checking for getopt.h… yes
checking for mad_stream_init in -lmad… yes
checking mad.h usability… yes
checking mad.h presence… yes
checking for mad.h… yes
checking for gzopen in -lz… no
configure: error: You need zlib for libid3tag to play mp3, check the README file.
[pietro@localhost moc-2.4.4]$ make
make: *** Nessun obiettivo specificato e nessun makefile trovato. Stop.
[pietro@localhost moc-2.4.4]$
Ciao grazie da Pietro
Sembra ti manchi qualcosa nel compilatore “make”,hai installate le librerie di sviluppo?
# yum groupinstall "Strumenti di sviluppo" "Librerie di sviluppo"
Prova anche ad installare libid3tag
Ok essere certi di avere installato tutti gli strumenti di sviluppo…ma secondo me non occorre installare tutte le librerie di sviluppo, osserviamo bene l’output del ./configure:
[quote]
configure: error: You need zlib for libid3tag to play mp3, check the README file.[/quote]
Prova prima a dare solo:
# yum groupinstall "Strumenti di sviluppo"
# yum install zlib-devel
ho fatto un passo avanti installando yum install zlib-devel
ma adesso sono fermo di nuovo
questi è l’output
[pietro@localhost ~]$ tar xfj moc-2.4.4.tar.bz2
[pietro@localhost ~]$ cd moc-2.4.4
[pietro@localhost moc-2.4.4]$ ./configure
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for a sed that does not truncate output… /bin/sed
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for fgrep… /bin/grep -F
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking whether ln -s works… yes
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking for /usr/bin/ld option to reload object files… -r
checking how to recognize dependent libraries… pass_all
checking for ar… ar
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking how to run the C preprocessor… gcc -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… no
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking which extension is used for runtime loadable modules… .so
checking which variable specifies run-time module search path… LD_LIBRARY_PATH
checking for the default library search path… /lib /usr/lib /usr/lib64/atlas /usr/lib64/llvm /usr/lib64/mysql /usr/lib64/xulrunner-2
checking for library containing dlopen… -ldl
checking for dlerror… yes
checking for shl_load… no
checking for shl_load in -ldld… no
checking for dld_link in -ldld… no
checking for _ prefix in compiled symbols… no
checking whether deplibs are loaded by dlopen… yes
checking for argz.h… yes
checking for error_t… yes
checking for argz_add… yes
checking for argz_append… yes
checking for argz_count… yes
checking for argz_create_sep… yes
checking for argz_insert… yes
checking for argz_next… yes
checking for argz_stringify… yes
checking if argz actually works… yes
checking whether libtool supports -dlopen/-dlpreopen… yes
checking for ltdl.h… no
checking where to find libltdl headers… -I${top_srcdir}/libltdl
checking where to find libltdl library… ${top_builddir}/libltdl/libltdlc.la
checking for unistd.h… (cached) yes
checking for dl.h… no
checking for sys/dl.h… no
checking for dld.h… no
checking for mach-o/dyld.h… no
checking for dirent.h… yes
checking for closedir… yes
checking for opendir… yes
checking for readdir… yes
checking for strlcat… no
checking for strlcpy… no
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for style of include used by make… GNU
checking dependency style of gcc… gcc3
checking host system type… (cached) x86_64-unknown-linux-gnu
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ISO C89… (cached) none needed
checking for a BSD-compatible install… /usr/bin/install -c
checking for gawk… (cached) gawk
checking for ANSI C header files… (cached) yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking for string.h… (cached) yes
checking for strings.h… (cached) yes
checking sys/param.h usability… yes
checking sys/param.h presence… yes
checking for sys/param.h… yes
checking for unistd.h… (cached) yes
checking sys/un.h usability… yes
checking sys/un.h presence… yes
checking for sys/un.h… yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… yes
checking for sys/types.h… (cached) yes
checking signal.h usability… yes
checking signal.h presence… yes
checking for signal.h… yes
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking sys/wait.h usability… yes
checking sys/wait.h presence… yes
checking for sys/wait.h… yes
checking sys/ioctl.h usability… yes
checking sys/ioctl.h presence… yes
checking for sys/ioctl.h… yes
checking time.h usability… yes
checking time.h presence… yes
checking for time.h… yes
checking errno.h usability… yes
checking errno.h presence… yes
checking for errno.h… yes
checking for sys/stat.h… (cached) yes
checking assert.h usability… yes
checking assert.h presence… yes
checking for assert.h… yes
checking locale.h usability… yes
checking locale.h presence… yes
checking for locale.h… yes
checking wchar.h usability… yes
checking wchar.h presence… yes
checking for wchar.h… yes
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking for inttypes.h… (cached) yes
checking limits.h usability… yes
checking limits.h presence… yes
checking for limits.h… yes
checking for stdint.h… (cached) yes
checking for sched_get_priority_max… yes
checking langinfo.h usability… yes
checking langinfo.h presence… yes
checking for langinfo.h… yes
checking nl_types.h usability… yes
checking nl_types.h presence… yes
checking for nl_types.h… yes
checking for nl_langinfo… yes
checking for nl_langinfo(CODESET)… yes
checking whether byte ordering is bigendian… no
checking iconv.h usability… yes
checking iconv.h presence… yes
checking for iconv.h… yes
checking for iconv_open()… yes
checking for an ANSI C-conforming const… yes
checking for inline… inline
checking for off_t… yes
checking for size_t… yes
checking for lrintf… yes
checking CFLAGS for gcc -Wall… -Wall
checking CFLAGS for gcc -W… -W
checking for sin… no
checking for sin in -lm… yes
checking sys/soundcard.h usability… yes
checking sys/soundcard.h presence… yes
checking for sys/soundcard.h… yes
checking soundcard.h usability… no
checking soundcard.h presence… no
checking for soundcard.h… no
checking for _oss_ioctl in -lossaudio… no
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for ALSA… no
checking for JACK… no
checking CFLAGS for gcc -g… -g
checking for stdlib.h… (cached) yes
checking for GNU libc compatible malloc… yes
checking whether lstat dereferences a symlink specified with a trailing slash… yes
checking whether stat accepts an empty string… no
checking for getcwd… yes
checking for memmove… yes
checking for strcasecmp… yes
checking for strdup… yes
checking for strerror… yes
checking for strncasecmp… yes
checking for strrchr… yes
checking for socket… yes
checking for gettimeofday… yes
checking for getenv… yes
checking for fork… yes
checking for setsid… yes
checking for kill… yes
checking for bind… yes
checking for listen… yes
checking for accept… yes
checking for time… yes
checking for connect… yes
checking for unlink… yes
checking for send… yes
checking for recv… yes
checking for select… yes
checking for strftime… yes
checking for localtime_r… yes
checking for mbsrtowcs… yes
checking for mbstowcs… yes
checking for execvp… yes
checking for wcswidth… yes
checking for strcasestr… yes
checking for strerror_r… yes
checking for dirent.h that defines DIR… yes
checking for library containing opendir… none required
checking for the pthreads library -lpthreads… no
checking whether pthreads work without any flags… no
checking whether pthreads work with -Kthread… no
checking whether pthreads work with -kthread… no
checking for the pthreads library -llthread… no
checking whether pthreads work with -pthread… yes
checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads… no
checking for cc_r… gcc
checking for stdlib.h… (cached) yes
checking for unistd.h… (cached) yes
checking for getpagesize… yes
checking for working mmap… yes
checking for working ncursesw… yes
checking ncursesw/curses.h usability… yes
checking ncursesw/curses.h presence… yes
checking for ncursesw/curses.h… yes
checking for getopt_long… yes
checking getopt.h usability… yes
checking getopt.h presence… yes
checking for getopt.h… yes
checking for mad_stream_init in -lmad… yes
checking mad.h usability… yes
checking mad.h presence… yes
checking for mad.h… yes
checking for gzopen in -lz… yes
checking for id3_file_open in -lid3tag… yes
checking id3tag.h usability… yes
checking id3tag.h presence… yes
checking for id3tag.h… yes
checking librcc.h usability… no
checking librcc.h presence… no
checking for librcc.h… no
checking mpcdec/mpcdec.h usability… yes
checking mpcdec/mpcdec.h presence… yes
checking for mpcdec/mpcdec.h… yes
checking for taglib-config… yes
checking taglib version… 1.7.0, OK
checking tag_c.h usability… yes
checking tag_c.h presence… yes
checking for tag_c.h… yes
checking for OGG_VORBIS… yes
checking for LIBFLAC… yes
checking for sndfile… yes
checking for ffmpeg-config… no
checking for libavformat… yes
checking ffmpeg/avformat.h usability… no
checking ffmpeg/avformat.h presence… no
checking for ffmpeg/avformat.h… no
checking libavformat/avformat.h usability… no
checking libavformat/avformat.h presence… no
checking for libavformat/avformat.h… no
checking for speex… yes
checking for samplerate… yes
checking for curl-config… yes
checking libcurl version… 7.21.3, OK
configure: creating ./config.status
config.status: creating Makefile
config.status: creating themes/Makefile
config.status: creating decoder_plugins/Makefile
config.status: creating decoder_plugins/mp3/Makefile
config.status: creating decoder_plugins/vorbis/Makefile
config.status: creating decoder_plugins/flac/Makefile
config.status: creating decoder_plugins/sndfile/Makefile
config.status: creating decoder_plugins/speex/Makefile
config.status: creating decoder_plugins/musepack/Makefile
config.status: creating decoder_plugins/ffmpeg/Makefile
config.status: creating moc.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands
config.status: executing depfiles commands
=== configuring in libltdl (/home/pietro/moc-2.4.4/libltdl)
configure: running /bin/sh ./configure ‘–prefix=/usr/local’ ‘–enable-ltdl-convenience’ --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking for style of include used by make… GNU
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking dependency style of gcc… gcc3
checking for a sed that does not truncate output… /bin/sed
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for fgrep… /bin/grep -F
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking whether ln -s works… yes
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking for /usr/bin/ld option to reload object files… -r
checking how to recognize dependent libraries… pass_all
checking for ar… ar
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking how to run the C preprocessor… gcc -E
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… no
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking for shl_load… no
checking for shl_load in -ldld… no
checking for dlopen… no
checking for dlopen in -ldl… yes
checking whether a program can dlopen itself… yes
checking whether a statically linked program can dlopen itself… yes
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking which extension is used for runtime loadable modules… .so
checking which variable specifies run-time module search path… LD_LIBRARY_PATH
checking for the default library search path… /lib /usr/lib /usr/lib64/atlas /usr/lib64/llvm /usr/lib64/mysql /usr/lib64/xulrunner-2
checking for library containing dlopen… -ldl
checking for dlerror… yes
checking for shl_load… (cached) no
checking for shl_load in -ldld… (cached) no
checking for dld_link in -ldld… no
checking for _ prefix in compiled symbols… no
checking whether deplibs are loaded by dlopen… yes
checking for argz.h… yes
checking for error_t… yes
checking for argz_add… yes
checking for argz_append… yes
checking for argz_count… yes
checking for argz_create_sep… yes
checking for argz_insert… yes
checking for argz_next… yes
checking for argz_stringify… yes
checking if argz actually works… yes
checking whether libtool supports -dlopen/-dlpreopen… yes
checking for unistd.h… (cached) yes
checking for dl.h… no
checking for sys/dl.h… no
checking for dld.h… no
checking for mach-o/dyld.h… no
checking for dirent.h… yes
checking for closedir… yes
checking for opendir… yes
checking for readdir… yes
checking for strlcat… no
checking for strlcpy… no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
MOC will be compiled with:
Decoder plugins: mp3 musepack vorbis flac sndfile ffmpeg speex
OSS: yes
ALSA: no
JACK: no
DEBUG: yes
RCC: no
Network streams: yes
Resampling: yes
WARNING: since MOC version 2 the executable file name was changed to mocp!
Please remove old moc binary if you have installed an older version.
[pietro@localhost moc-2.4.4]$
ciao pietro
Non occorreva ci dessi tutto l’output…
Perché mai sei fermo? Ha fatto la configurazione dei sorgenti, ora li devi compilare.
Segui la guida che ti avevo suggerito.
P.S. forse che però sia il caso di installare le librerie di alsa per potersi interfacciare al sistema alsa invece che oss?
Ciao, mi sono spiegato male adesso l’installazione è andata a buon fine ma quando cerco di avviare il programma mi da il seguente output
[pietro@localhost ~]$ mocp
Running the server…
Trying OSS…
FATAL_ERROR: No valid sound driver
FATAL_ERROR: Server exited
[pietro@localhost ~]$
ciao pietro.
Dall’interno della directory sorgente:
[code]$ su
password
$ make clean all
$ su -c ‘yum install alsa-lib-devel ffmpeg-devel’
$ ./configure
$ make
$ su
password
[/code]
CVD era meglio installare anche le librerie per alsa
Dovrebbe richiederle automaticamente come dipendenza.
PS
Che significa CVD ?
Non necessariamente, il file di configurazione dei sorgenti ricerca i software installati e configura il tutto secondo i parametri indicati dall’utente.
Nel suo caso non ha trovato i pacchetti di sviluppo per alsa e così ha configurato i sorgenti in modo da non usarli e passare all’utilizzo di oss.
CVD: come volevasi dimostrare.
Ciao
ciao, non voglio rompere ma alla fine di tutto quando cerco di far partire mocp mi da il seguente messaggio
[pietro@localhost ~]$ mocp
FATAL_ERROR: The terminal is too small after resizeing.
[pietro@localhost ~]$
ciao pietro
Ciao, ho risolto con una breve ricerca su google, il messaggio significa che la finestra del mio terminale era troppo piccola. Ingrandendola funziona perfettamente.
Per evitare di prire una grande finestra di terminale uso Yakuake installato di default su kde
Vi ringrazio per la pazienza dimostrata, ma mi sono messo a studiare i vari comandi da terminale che mi hanno sempre affascinato ed è per questo motivo che mi faceva piacere ascoltare la musica da terminale. A volte le cose mi sembrano semplici ma alla fine devo sempre ricorrere al Vostro Aiuto.
Vi ringrazio e saluto Pietro
Risolto?
per quello che mi riguarda si.
Ciao Pietro