pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Linux: gtk2+ faild too



On Fri, 05 Oct 2007 16:15:25 +0900, Aleksey Cheusov <cheusov%tut.by@localhost> 
wrote:

> http://mova.org/~cheusov/pub/pkgsrc-pbulk/Debian-etch/current/log//20070928.1243/gtk2+-2.12.0nb1/build.log
>>>
>>> It whould be great if somebody fix gtk2+.
>>
>> Patch file patch/patch-aa and pthread SUBST_CLASS in Makefile are still
>> needed?
>> PTHREAD_AUTO_VARS=yes does not handle this?
>
> The problem was that "file" utility was not installed.
> So, now this package is compiled sucessfully.

Fundamentally, patch-aa is not necessary any longer.

On my NetBSD-4.0_RC1:
in ${WRKDIR}/gtk+-2.12.0/gdk-pixbuf/Makefile:

GLIB_LIBS = -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgobject-2.0 
-lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
....(snip)
LDADDS = libgdk_pixbuf-$(GTK_API_VERSION).la $(GLIB_LIBS)
....(snip)
gdk_pixbuf_query_loaders_LDADD = $(LDADDS)  -pthread


Then, no need the patch for adding '-pthread' to gdk_pixbuf_query_loaders_LDADD.
LDADDS already includes '-pthread'.
If certain platform needs this patch, should not patch here,
fix gthread-2.0.pc instead.
-- 
"Of course I love NetBSD":-)
OBATA Akio / obata%lins.jp@localhost




Home | Main Index | Thread Index | Old Index