Date: Sun, 1 Jun 2003 18:42:07 -0400 (EDT) From: Spork <spork@fasttrackmonkey.com> To: freebsd-ports@freebsd.org Subject: faad port and xmms plugin Message-ID: <20030601182923.K321@green.nat.fasttrackmonkey.com>
next in thread | raw e-mail | index | archive | help
Hello, I was quite excited to find something that could play my iTunes-encoded AAC files when I stumbled on the faad port. However I noticed that the port does not install or build the xmms plugin. Trying to build it manually lead to failure. For starters, I adjusted the Makefile to look in the right places for includes: root@green[/usr/ports/audio/faad/work/faad2/plugins/xmms]# cat Makefile libaac-XMMS.so: aac-XMMS.c gcc -shared -o $@ aac-XMMS.c -I/usr/local/include/glib12 -I/usr/local/X11R6/include/gtk12 -I/usr/local/include -I/usr/X11R6/include -lid3 -lz Trying to build gives me the following: root@green[/usr/ports/audio/faad/work/faad2/plugins/xmms]# make gcc -shared -o libaac-XMMS.so aac-XMMS.c -I/usr/local/include/glib12 -I/usr/local/X11R6/include/gtk12 -I/usr/local/include -I/usr/X11R6/include -lid3 -lz aac-XMMS.c: In function `aac_decode_loop': aac-XMMS.c:261: warning: passing arg 4 of `faacDecInit' from incompatible pointer type /usr/libexec/elf/ld: cannot find -lid3 *** Error code 1 I think I can ignore the first warning, but the "-lid3" problem is annoying. ldconfig says I have the library: root@green[/usr/ports/audio/faad/work/faad2/plugins/xmms]# ldconfig -r |grep lid 267:-lid3-3.8.2 => /usr/local/lib/libid3-3.8.so.2 root@green[/usr/local/lib]# ls -al libid3* -rwxr-xr-x 1 root wheel 452882 Jun 1 17:47 libid3-3.8.so.2 -rw-r--r-- 1 root wheel 740596 Jun 1 17:47 libid3.a lrwxr-xr-x 1 root wheel 15 Jun 1 17:47 libid3.so -> libid3-3.8.so.2 Any ideas? Or anything else that may work with xmms? There's a very very old plugin here that looks like even more hassle to de-linux-ify: http://aacplugin.sourceforge.net/ Thanks, Charles
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030601182923.K321>