当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 求助,Conky 1.8.0 make 到 Audacious 这里时总是过不去;之前 configure 没有任何问题
帖子发表于 : 2010-07-30 23:16 
头像

注册: 2010-07-30 22:57
帖子: 180
送出感谢: 0 次
接收感谢: 0 次
系统用的是 Lucid,安装了除 compiz-core 以外的全部最近更新

Audacious 版本:
源里的 2.3,dev 包已装(之前有用过自己编译的 2.4 Beta,编译 Conky 时出现的问题和现在的一模一样)
其他依赖关系均满足

./configure 的命令行:
代码:
$ ./configure --prefix=/usr --enable-audacious --enable-curl --enable-rss --enable-weather-xoap --enable-imlib2 --enable-lua-imlib2 --enable-lua-cairo --enable-wlan --enable-nvidia

./configure 的输出:
代码:
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 for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 for objdump... objdump
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... yes
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) 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 whether gcc and cc understand -c and -o together... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for fopencookie... yes
checking for funopen... no
checking for Audacious... yes
checking audacious/audctrl.h usability... yes
checking audacious/audctrl.h presence... yes
checking for audacious/audctrl.h... yes
checking audacious/dbus.h usability... yes
checking audacious/dbus.h presence... yes
checking for audacious/dbus.h... yes
checking glib.h usability... yes
checking glib.h presence... yes
checking for glib.h... yes
checking glib-object.h usability... yes
checking glib-object.h presence... yes
checking for glib-object.h... yes
checking for X11... yes
checking for Imlib2... yes
checking for LUA... no
checking for LUA51... no
checking for LUA51... yes
checking for cairo... yes
checking for cairo_xlib... yes
checking for tolua++... no
checking for tolua++5.1... tolua++5.1
checking for library containing tolua_error... -ltolua++5.1
checking iwlib.h usability... yes
checking iwlib.h presence... yes
checking for iwlib.h... yes
checking for iw_sockets_open in -liw... yes
checking for getnameinfo... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for Xext... yes
checking for XDamage... yes
checking for Xft... yes
checking NVCtrl/NVCtrl.h usability... yes
checking NVCtrl/NVCtrl.h presence... yes
checking for NVCtrl/NVCtrl.h... yes
checking for GLib2... yes
checking for libcurl... yes
checking for libxml2... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for snd_pcm_open in -lasound... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/stat.h... (cached) yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for alsa/asoundlib.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/mount.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for calloc... yes
checking for malloc... yes
checking for free... yes
checking for popen... yes
checking for sysinfo... yes
checking for getloadavg... yes
checking for memrchr... yes
checking for strndup... yes
checking for gethostbyname_r... yes
checking for library containing clock_gettime... -lrt
checking for struct statfs.f_fstypename... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for db2x_xsltproc... no
checking for db2x_manxml... no
checking for xsltproc... xsltproc
checking if /usr/bin/ld accepts -O1... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/build.h
config.status: creating lua/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

conky 1.8.0 configured successfully:

 Installing into:   /usr
 System config dir: ${prefix}/etc
 C compiler flags:   -pthread -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/libmowgli -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12        -I/usr/include/lua5.1       -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -I/usr/include/libxml2   -Wall -W
 Libraries:         -liw  -lncurses -pthread -L/lib -laudcore -lgtk-x11-2.0 -lmcs -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgmodule-2.0 -lmowgli -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lm -lX11   -lImlib2    -llua5.1   -ltolua++5.1   -lXext   -lXdamage -lXfixes   -lXft   -lXNVCtrl -lglib-2.0   -lcurl   -lxml2   -lasound -lrt -ltolua++5.1
 Linker flags:       -Wl,-O1

 * X11:
  X11 support:      yes
  XDamage support:  yes
  XDBE support:     yes
  Xft support:      yes
  ARGB support      yes

 * Music detection:
  Audacious:        yes
  BMPx:             no
  MPD:              yes
  MOC:              yes
  XMMS2:            no

 * General:
  math:             yes
  hddtemp:          yes
  portmon:          yes
  RSS:              yes
  Curl:             yes
  Weather
    METAR:          yes
    XOAP:           yes
  wireless:         yes
  IBM:              no
  nvidia:           yes
  eve-online:       no
  config-output:    yes
  Imlib2:           yes
  ALSA mixer:       yes
  apcupsd:          yes
  I/O stats:        yes

 * Lua (yes) bindings:
  Cairo:            yes
  Imlib2:           yes

make 出错的输出:
代码:
conky-audacious.o: In function `audacious_thread_func':
audacious.c:(.text+0x354): undefined reference to `audacious_remote_is_running'
audacious.c:(.text+0x3a2): undefined reference to `audacious_remote_is_paused'
audacious.c:(.text+0x3d1): undefined reference to `audacious_remote_is_playing'
audacious.c:(.text+0x41e): undefined reference to `audacious_remote_get_playlist_pos'
audacious.c:(.text+0x433): undefined reference to `audacious_remote_get_playlist_title'
audacious.c:(.text+0x47c): undefined reference to `audacious_remote_get_playlist_time'
audacious.c:(.text+0x540): undefined reference to `audacious_remote_get_output_time'
audacious.c:(.text+0x619): undefined reference to `audacious_remote_get_info'
audacious.c:(.text+0x69a): undefined reference to `audacious_remote_get_playlist_file'
audacious.c:(.text+0x6dc): undefined reference to `audacious_remote_get_playlist_length'
audacious.c:(.text+0x737): undefined reference to `audacious_remote_get_main_volume'
collect2: ld returned 1 exit status
make[2]: *** [conky] 错误 1
make[2]:正在离开目录 `/home/colin/下载/Software/conky-1.8.0/src'
make[1]: *** [all] 错误 2
make[1]:正在离开目录 `/home/colin/下载/Software/conky-1.8.0/src'
make: *** [all-recursive] 错误 1

我是实在受不了 Screenlet 的诸多问题才想用 Conky 的,而源里的 Conky 没有打开 Audacious 的编译选项(包括那个所谓的 conky-all 也没有打开);我实在是菜鸟一只,不知有没有大虾能帮忙给答疑解惑一下?不胜感激!


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 求助,Conky 1.8.0 make 到 Audacious 这里时总是过不去;之前 configure 没有
帖子发表于 : 2010-07-31 23:28 
头像

注册: 2010-07-30 22:57
帖子: 180
送出感谢: 0 次
接收感谢: 0 次
刚才看到了个问题类似的编译搜狗云输入法的帖子(注:本人极其讨厌搜狗以及其他类似的商业利益高过一切的货色) ,难道问题还是出在 Audacious 的版本上?得了,源里的那个 Conky 凑合着用吧…… :em18


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 求助,Conky 1.8.0 make 到 Audacious 这里时总是过不去;之前 configure 没有
帖子发表于 : 2010-08-01 1:44 
头像

注册: 2008-03-25 15:49
帖子: 25878
地址: 谁知道?
送出感谢: 8
接收感谢: 10
感觉在conky里显示audacious不划算。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 求助,Conky 1.8.0 make 到 Audacious 这里时总是过不去;之前 configure 没有
帖子发表于 : 2010-08-01 13:26 
头像

注册: 2010-07-30 22:57
帖子: 180
送出感谢: 0 次
接收感谢: 0 次
pocoyo 写道:
感觉在conky里显示audacious不划算。

没办法,用 Screenlet 总会在登录后假死一会儿,此外 Conky 是可以设置成类似 Sidebar 那样最大化不覆盖的(own_window_type panel 加上 alignment middle_right 或 middle_left),所以我就想自己加上 --enable-audacious 编译,不过话说回来这应该也不算什么很大不了的问题,就这样吧……


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 求助,Conky 1.8.0 make 到 Audacious 这里时总是过不去;之前 configure 没有
帖子发表于 : 2010-08-09 20:17 
头像

注册: 2007-03-24 23:45
帖子: 2357
送出感谢: 0 次
接收感谢: 9
链接错误
检查audacious的库文件还有audacious的版本
上audacious论坛求助 :em06


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译