pkgsrc-Users archive

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

Re: missing dependency?



On Jan 6, 2008 12:24 AM, Steven M. Bellovin <smb%cs.columbia.edu@localhost> 
wrote:
> When building a (Python) package that did
>
>         import dbus
>
> it failed. Invoking Python manually showed that py-dbus needed
> py-expat.  Should I simply add it to my package, or is that a bug in
> py-dbus?
>

Based on NEWS file from py-dbus
(http://dbus.freedesktop.org/doc/dbus-python/NEWS) I've removed libxml
buildlink include and package was build successful and I can import it
manually in python without problem. Maybe try this patch:

--- Makefile    3 Sep 2007 10:00:34 -0000       1.9
+++ Makefile    5 Jan 2008 23:34:50 -0000
@@ -24,6 +24,4 @@
 .include "../../lang/python/extension.mk"
 .include "../../sysutils/dbus/buildlink3.mk"
 .include "../../sysutils/dbus-glib/buildlink3.mk"
-# py-libxml2 is only needed at runtime
-.include "../../textproc/py-libxml2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

morr

-- 
Daniel Horecki
http://morr.pl



Home | Main Index | Thread Index | Old Index