PyGTK - 1.5.2 not 2.1
Adam 'Vonlia' Seyfarth
adam.seyfarth at home.com
Sun Aug 26 09:42:01 EDT 2001
On Sat, 25 Aug 2001, Ignacio Vazquez-Abrams wrote:
> On Sat, 25 Aug 2001, Adam 'Vonlia' Seyfarth wrote:
>
> > After it didn't work the first time, I immediately recompiled. ie, I
> > did ./configure; make; sudo make install again and it still didn't work.
>
> After poking around, I've determined that you have to change certain variables
> in the Makefile in order to compile it against the Python 2 libs and install
> in the right place.
You don't want to tell me which ones? I guess I'll have to find them
myself...
> > > OTOH, it may be that the PyGTK libraries only exist in your Python 1.5
> > > site-packages directory. Check that, but I suggest the recompile.
> >
> > I imagine that's what it is. Sorry for my ignorance, but how do I check
> > it?
>
> In each version of Python, type the following:
>
> ---
> import os
> print os.path.dirname(os.__file__)
> ---
>
> Add '/site-packages' to both values and check those directories. However, I
> still suggest doing the recompile.
(compile for the 3rd time!? I've already compiled the thing twice
with python2)
OK, after the site-packages searching, I found no match for "*gtk*" in
/usr/local/lib/python2.1/site-packages/
but lots of matches for "*gtk*" in /usr/lib/python1.5/site-packages
Does this mean I copy them over? I'll try that, I don't think it could
hurt anything...
--
Bender [singing]: ``Jimmy crack corn, and I don't care.
Leila crack corn, I still don't care. Bender crack corn,
and Bender is great! Take that you stupid corn.''
-- Futurama
/|| Adam Seyfarth <http://members.home.net/adam.seyfarth/> ||\
/«|| <mailto:cloud at users.sf.net> Geekcode, version 3.12 ||»\
\«|| GU d-- s+: a---- C++ UL+>++ P-- L++ E-- W++ N++ o K- w-- ||»/
\|| O M- V- PE- Y PGP- t 5 X R tv+ b+ DI+ D+ G e-- h! !r !y+ ||/
More information about the Python-list
mailing list