Hi,

On Thu Aug 13, 2009 at 09:41:11PM +0200, Konrad Foerstner wrote:
>On Thu Jul 02, 2009 at 10:51:20PM -0700, Henry Precheur wrote:
>>> I have created a repository on bitbucket:
>>> 
>>>   http://bitbucket.org/henry/python-31-openbsd-port/
>>> 
>>> The tarball of the last version is here:
>>>   
>>>   http://bitbucket.org/henry/python-31-openbsd-port/get/tip.gz
>>> 
>>> To test the port:
>>> 
>>>   $ tar zxvf python-31-openbsd-port-tip.gz
>>>   $ mv python-31-openbsd-port /usr/ports/lang/python/3.1
>>> 
>>>   Apply the attached patch to /usr/ports/lang/python/Makefile.inc
>>> 
>>>   $ cd /usr/ports/lang/python && patch -p 0 < Makefile.inc.diff 
>>> 
>>> 
>>> Feedbacks are greatly appreciated!
>
>Manys thank for this port. I just got the current tgz from bitbucket
>and applied your patch. Unfortunately it got this error that looks
>weird to me - not sure if I did something wrong.
>
>"""
>===>  Building package for python-3.1
>Create /usr/ports/packages/i386/all/python-3.1.tgz
>Error in package: 
>/usr/obj/ports/Python-3.1/fake-i386/usr/local/lib/python3.1/distutils/command/wininst-9.0-i386.exe
> does not exist
>===>  Cleaning for python-3.1
>rm -f /usr/ports/packages/i386/all/python-3.1.tgz 
>/usr/ports/packages/i386/ftp/python-3.1.tgz 
>/usr/ports/packages/i386/cdrom/python-3.1.tgz
>*** Error code 1
>
>Stop in /usr/ports/lang/python/3.1 (line 1443 of 
>/usr/ports/infrastructure/mk/bsd.port.mk).
>*** Error code 1
>
>Stop in /usr/ports/lang/python/3.1 (line 1983 of 
>/usr/ports/infrastructure/mk/bsd.port.mk).
>*** Error code 1
>
>Stop in /usr/ports/lang/python/3.1 (line 1473 of 
>/usr/ports/infrastructure/mk/bsd.port.mk).
>"""

Bernd just pointed out to me that the plist was not up to date. This
fixed the problem and python3.1 runs fine now. Many thanks. But I
guess there further polishing necessary as pydoc3.1 does not work
properly due to the fact that it looks for python3 not python3.1:

$ head -n 1 /usr/local/bin/pydoc3.1 
#!/usr/bin/env python3

Not sure what's the best way to solve this properly.

Cheers

Konrad

Reply via email to