vte widget port and Python extensions

ali aafshar at gmail.com
Wed Aug 31 14:27:58 GMT 2005


On 29/08/05 04:51:16, Joe Marcus Clarke wrote:
> On Sat, 2005-08-27 at 12:14 +0000, ali wrote:
> > Hi,
> >
> > Thank-you for maintaining this port. I recently had a slight problem
> 
> > installing the Python extensions.
> >
> > I set the --enable-python configure argument in the Makefile, and
> made
> > the port and installed it. Unfortunately the Python extension cannot
> be
> > used because Python can't find the library.
> >
> > The Python extension was installed to:
> >
> > /usr/X11R6/lib/python2.4/site-packages/gtk-2.0/vtemodule.so
> >
> > where the other GTK2 C Python extensions are installed to:
> >
> > /usr/local/lib/python2.4/site-packages/gtk-2.0/
> >
> > and moving the file to that location allows Python to find it.
> >
> > (I guess there may be a reason to put this in the /usr/X11R6 tree
> > instead of the /usr/local tree.)
> >
> > I would love to fix this and send you a patch but I am very
> > inexperienced with ports and BSD, I shall do anything I can to help
> 
> > though.
> 
> In order for the extensions to work, the port will need to be hacked
> to
> install the Python bits under LOCALBASE (much the way net/gaim
> installs
> its Perl bits).  You could probably use gaim as sort of a model.

Well, I have found where the variable is set, and I have a working  
Makefile that uses the WITH_PYTHON variable to decide whether to  
compile the Python extensions. I am an utter newbie in these things, so  
my apologies if something is wrong.

I have attached a patch for the Makefile.

Yours,

Ali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vte_python_extensions_port.diff
Type: text/x-patch
Size: 502 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20050831/e8e1a4f6/vte_python_extensions_port.bin


More information about the freebsd-gnome mailing list