pysol breakage on FreeBSD

Cory Bajus corybajus at yahoo.ca
Sat Aug 30 17:35:46 PDT 2003


 --- "Sergey A. Osokin" <osa at FreeBSD.org> wrote:
> On Fri, Aug 29, 2003 at 02:40:13PM -0400, Cory Bajus
> wrote:
> > On Sat, 2003-08-09 at 00:36, Adam McLaurin wrote:
> > > /usr/local/bin/pysol: could not find the file
> > 'pysol_23.pyc' !
> > 
> > A workaround for this problem is define
> PYTHON_VERSION
> > when doing the build:
> > 
> > make PYTHON_VERSION=python2.2 install clean
> > 
> > This should probably be added to the Makefile, at
> > least until a 2.3 compiled version of pysol
> becomes
> > available.
> 
> AFAIK its not true, because games/pysol depends from
> x11-toolkits/py-tkinter, aka lang/python (aka
> python2.3).
> For resolve issue with pysol I think we must create
> something like x11-toolkits/py-tkinter22 for 
> python2.2
> and then fix dependences for games/pysol.
> 

That should not be necessary - having PYTHON_VERSION
defined makes pysol depend on
/usr/local/lib/python2.2/site-packages/_tkinter.so aka
py22-tkinter (thanks to the magic of bsd.python.mk). 
The same port (x11-toolkits/py-tkinter) can be used to
build a 2.2 or 2.3 version of this toolkit - you can
even have both installed at the same time.

Cory.

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


More information about the freebsd-ports mailing list