- 論壇徽章:
- 0
|
大家好,我想在centos7下源碼安裝mocp播放軟件 遇到插件錯誤 還請大家指點一二:
下載 libmad和libid3tag,然后分別執(zhí)行
configuer
make
make install
注意,如果編譯時出現“cc1: error: unrecognized command line option
"-fforce-mem”錯誤,則在編譯libmad前將根目錄下的Makefile中“--fforce-mem”去掉
然后在moc官網下載moc 2.4.4穩(wěn)定版,編譯 安裝 日志在后邊貼出。
安裝完成后運行 mocp時出現- Can't load plugin libmp3_decoder: file not found
- FATAL_ERROR: No decoder plugins have been loaded
復制代碼 debug下- [root@localhost moc-2.4.4]# mocp -D
- Loading plugins from /usr/local/lib/moc/decoder_plugins...
- Loading plugin libmp3_decoder...
- Can't load plugin libmp3_decoder: file not found
- FATAL_ERROR: No decoder plugins have been loaded!
復制代碼 查看相關文件確實存在:- [root@localhost moc-2.4.4]# find /usr/local/lib/moc
- /usr/local/lib/moc
- /usr/local/lib/moc/decoder_plugins
- /usr/local/lib/moc/decoder_plugins/libmp3_decoder.so
- /usr/local/lib/moc/decoder_plugins/libmp3_decoder.la
- /usr/local/lib/moc/decoder_plugins/libmp3_decoder.a
復制代碼 編譯moc日志:安裝日志:- [root@localhost moc-2.4.4]# cat moc_install_log
- Making install in themes
- make[1]: Entering directory `/home/ayu/Downloads/moc-2.4.4/themes'
- make[2]: Entering directory `/home/ayu/Downloads/moc-2.4.4/themes'
- make[2]: Nothing to be done for `install-exec-am'.
- test -z "/usr/local/share/moc/themes" || mkdir -p -- "/usr/local/share/moc/themes"
- /usr/bin/install -c -m 644 'transparent-background' '/usr/local/share/moc/themes/transparent-background'
- /usr/bin/install -c -m 644 'example_theme' '/usr/local/share/moc/themes/example_theme'
- /usr/bin/install -c -m 644 'nightly_theme' '/usr/local/share/moc/themes/nightly_theme'
- /usr/bin/install -c -m 644 'green_theme' '/usr/local/share/moc/themes/green_theme'
- /usr/bin/install -c -m 644 'yellow_red_theme' '/usr/local/share/moc/themes/yellow_red_theme'
- /usr/bin/install -c -m 644 'black_theme' '/usr/local/share/moc/themes/black_theme'
- /usr/bin/install -c -m 644 'moca_theme' '/usr/local/share/moc/themes/moca_theme'
- /usr/bin/install -c -m 644 'red_theme' '/usr/local/share/moc/themes/red_theme'
- /usr/bin/install -c -m 644 'darkdot_theme' '/usr/local/share/moc/themes/darkdot_theme'
- make[2]: Leaving directory `/home/ayu/Downloads/moc-2.4.4/themes'
- make[1]: Leaving directory `/home/ayu/Downloads/moc-2.4.4/themes'
- Making install in decoder_plugins
- make[1]: Entering directory `/home/ayu/Downloads/moc-2.4.4/decoder_plugins'
- Making install in mp3
- make[2]: Entering directory `/home/ayu/Downloads/moc-2.4.4/decoder_plugins/mp3'
- make[3]: Entering directory `/home/ayu/Downloads/moc-2.4.4/decoder_plugins/mp3'
- test -z "/usr/local/lib/moc/decoder_plugins" || mkdir -p -- "/usr/local/lib/moc/decoder_plugins"
- /bin/sh ../../libtool --mode=install /usr/bin/install -c 'libmp3_decoder.la' '/usr/local/lib/moc/decoder_plugins/libmp3_decoder.la'
- libtool: install: /usr/bin/install -c .libs/libmp3_decoder.so /usr/local/lib/moc/decoder_plugins/libmp3_decoder.so
- libtool: install: /usr/bin/install -c .libs/libmp3_decoder.lai /usr/local/lib/moc/decoder_plugins/libmp3_decoder.la
- libtool: install: /usr/bin/install -c .libs/libmp3_decoder.a /usr/local/lib/moc/decoder_plugins/libmp3_decoder.a
- libtool: install: chmod 644 /usr/local/lib/moc/decoder_plugins/libmp3_decoder.a
- libtool: install: ranlib /usr/local/lib/moc/decoder_plugins/libmp3_decoder.a
- libtool: finish: PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/ayu/bin:/sbin" ldconfig -n /usr/local/lib/moc/decoder_plugins
- ----------------------------------------------------------------------
- Libraries have been installed in:
- /usr/local/lib/moc/decoder_plugins
- If you ever happen to want to link against installed libraries
- in a given directory, LIBDIR, you must either use libtool, and
- specify the full pathname of the library, or use the `-LLIBDIR'
- flag during linking and do at least one of the following:
- - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
- during execution
- - add LIBDIR to the `LD_RUN_PATH' environment variable
- during linking
- - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- - have your system administrator add LIBDIR to `/etc/ld.so.conf'
- See any operating system documentation about shared libraries for
- more information, such as the ld(1) and ld.so(8) manual pages.
- ----------------------------------------------------------------------
- make[3]: Nothing to be done for `install-data-am'.
- make[3]: Leaving directory `/home/ayu/Downloads/moc-2.4.4/decoder_plugins/mp3'
- make[2]: Leaving directory `/home/ayu/Downloads/moc-2.4.4/decoder_plugins/mp3'
- make[2]: Entering directory `/home/ayu/Downloads/moc-2.4.4/decoder_plugins'
- make[3]: Entering directory `/home/ayu/Downloads/moc-2.4.4/decoder_plugins'
- make[3]: Nothing to be done for `install-exec-am'.
- make[3]: Nothing to be done for `install-data-am'.
- make[3]: Leaving directory `/home/ayu/Downloads/moc-2.4.4/decoder_plugins'
- make[2]: Leaving directory `/home/ayu/Downloads/moc-2.4.4/decoder_plugins'
- make[1]: Leaving directory `/home/ayu/Downloads/moc-2.4.4/decoder_plugins'
- Making install in libltdl
- make[1]: Entering directory `/home/ayu/Downloads/moc-2.4.4/libltdl'
- make install-am
- make[2]: Entering directory `/home/ayu/Downloads/moc-2.4.4/libltdl'
- make[3]: Entering directory `/home/ayu/Downloads/moc-2.4.4/libltdl'
- test -z "/usr/local/lib" || /usr/bin/mkdir -p "/usr/local/lib"
- test -z "/usr/local/include" || /usr/bin/mkdir -p "/usr/local/include"
- test -z "" || /usr/bin/mkdir -p ""
- make[3]: Leaving directory `/home/ayu/Downloads/moc-2.4.4/libltdl'
- make[2]: Leaving directory `/home/ayu/Downloads/moc-2.4.4/libltdl'
- make[1]: Leaving directory `/home/ayu/Downloads/moc-2.4.4/libltdl'
- make[1]: Entering directory `/home/ayu/Downloads/moc-2.4.4'
- make[2]: Entering directory `/home/ayu/Downloads/moc-2.4.4'
- test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
- /bin/sh ./libtool --mode=install /usr/bin/install -c 'mocp' '/usr/local/bin/mocp'
- libtool: install: /usr/bin/install -c mocp /usr/local/bin/mocp
- test -z "/usr/local/share/doc/moc" || mkdir -p -- "/usr/local/share/doc/moc"
- /usr/bin/install -c -m 644 'config.example' '/usr/local/share/doc/moc/config.example'
- /usr/bin/install -c -m 644 'THANKS' '/usr/local/share/doc/moc/THANKS'
- /usr/bin/install -c -m 644 'README' '/usr/local/share/doc/moc/README'
- /usr/bin/install -c -m 644 'keymap.example' '/usr/local/share/doc/moc/keymap.example'
- test -z "/usr/local/share/man/man1" || mkdir -p -- "/usr/local/share/man/man1"
- /usr/bin/install -c -m 644 './mocp.1' '/usr/local/share/man/man1/mocp.1'
- make[2]: Leaving directory `/home/ayu/Downloads/moc-2.4.4'
- make[1]: Leaving directory `/home/ayu/Downloads/moc-2.4.4'
復制代碼 附件為源碼包
moc-2.4.4.tar.bz2
(683.32 KB, 下載次數: 14)
2015-05-12 08:10 上傳
點擊文件名下載附件
libmad-0.15.1b.tar.gz
(490.6 KB, 下載次數: 13)
2015-05-12 08:10 上傳
點擊文件名下載附件
libid3tag-0.15.1b.tar.gz
(330.22 KB, 下載次數: 12)
2015-05-12 08:10 上傳
點擊文件名下載附件
|
|