ports/140968: x11-toolkits/py-tkinter(devel/pth): py26-tkinter-2.6.4_3 build error with pth.h

Kazuo Dohzono dohzono at axion-software.com
Sat Nov 28 13:20:02 UTC 2009


>Number:         140968
>Category:       ports
>Synopsis:       x11-toolkits/py-tkinter(devel/pth): py26-tkinter-2.6.4_3 build error with pth.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 28 13:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kazuo Dohzono
>Release:        FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD abacus3 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Nov 28 16:55:27 JST 2009    
dohzono at abacus3:/usr/local/tmp/obj/usr/src/sys/GENERIC  i386

>Description:
This may be related with ports/140882, and devel/pth. 

# cd /usr/ports/x11-toolskits/py-tkinter
# make clean all
===>  Cleaning for py26-tkinter-2.6.4_3
===>  Extracting for py26-tkinter-2.6.4_3
=> MD5 Checksum OK for python/Python-2.6.4.tgz.
=> SHA256 Checksum OK for python/Python-2.6.4.tgz.
===>  Patching for py26-tkinter-2.6.4_3
===>   py26-tkinter-2.6.4_3 depends on file: /usr/local/bin/python2.6 - found
===>   py26-tkinter-2.6.4_3 depends on shared library: tk84 - found
===>  Configuring for py26-tkinter-2.6.4_3
running config
===>  Building for py26-tkinter-2.6.4_3
running build
running build_ext
building '_tkinter' extension
creating build
creating build/temp.freebsd-8.0-STABLE-i386-2.6
cc -DNDEBUG -O2 -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000
-fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -DWITH_APPINIT=1
-I/usr/local/include -I/usr/local/include/tcl8.4 -I/usr/local/include/tk8.4
-I/usr/local/include -I/usr/local/include/python2.6 -c _tkinter.c -o
build/temp.freebsd-8.0-STABLE-i386-2.6/_tkinter.o
In file included from _tkinter.c:25:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
error: command 'cc' failed with exit status 1
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-tkinter.
#

>How-To-Repeat:
1) configure python-2.6 as below:

> # This file is auto-generated by 'make config'.
> # No user-servicable parts inside!
> # Options for python26-2.6.2_2
> _OPTIONS_READ=python26-2.6.2_2
> WITH_THREADS=true
> WITHOUT_HUGE_STACK_SIZE=true
> WITHOUT_SEM=true
> WITH_PTH=true
> WITH_UCS4=true
> WITH_PYMALLOC=true
> WITH_IPV6=true
> WITHOUT_FPECTL=true

2) build x11-toolskits/py-tkinter

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list