ports/85939: Fix for audio/xmms-imms-1.2a
Grégory Nou
gregorynou at altern.org
Sat Sep 10 10:50:13 UTC 2005
>Number: 85939
>Category: ports
>Synopsis: Fix for audio/xmms-imms-1.2a
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 10 10:50:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Grégory Nou
>Release: Freebsd-7.0-current
>Organization:
>Environment:
FreeBSD * 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Sep 3 11:34:31 CEST 2005 root@*:/usr/obj/usr/src/sys/MYKERNEL i386
>Description:
audio/xmms-imms is marked as broken, and schedulded for deletion.
>How-To-Repeat:
>Fix:
I had to solve three problems :
* /usr/local/lib/libgthread12.so.3: undefined reference to
`pthread_cond_timedwait'
I've googled and have seen other threads concerning this issue,
but the only solution I found don't seem to work for me.
(http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2005-March/055289.html)
This post
(http://lists.freebsd.org/pipermail/freebsd-stable/2004-November/009439.html)
points out nvidia-driver, which I currently have. Is it really
related ?
I finally made some weird hacks and it seems to work :
I've backed libgthread12.so* and I replaced them with
libqthread, set LDFLAGS="-L${LOCALBASE}/lib -L${PTHREAD_LIBS}"
and used gtk-2.0 and glib-2.0 instead of gtk12 and glib12.
Still, I think that libgthread-> libqthread is enough to make it
work(libgthread12 -> libgthread-2.0 did not do the job).
However, I don't really understand what I made : I assumed that
libgthread12 was refering to gtk12or glib12, and as I don't
usually use them, it was not risky. Am I right there ?
* I also experienced linking problems :
I changed manually work/imms-1.2a/vars.mk
LDFLAGS = -L/usr/X11R6/lib `xmms-config --libs` -lc -lm -ltag
to :
LDFLAGS = -L/usr/X11R6/lib `xmms-config --libs` -lc -lm -ltag
-lpcre -lsqlite3
* libtag now installs libtag.so.5, but imms is looking for
libtag.so.4 (would patching the LIB_DEPENDS line in the main
Makefile do the trick ?)
By the way, this version is outdated, the new one is 2.2.1. But patching the new version to make it compile is not as easy as I imagine first.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list