faad port and xmms plugin
Spork
spork at fasttrackmonkey.com
Sun Jun 1 15:42:10 PDT 2003
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 at 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 at 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 at 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 at 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
More information about the freebsd-ports
mailing list