From nobody@FreeBSD.org  Sun Aug 19 08:20:34 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 83EA016A41A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 Aug 2007 08:20:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 5A39E13C46B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 Aug 2007 08:20:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l7J8KYfe026816
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 Aug 2007 08:20:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l7J8KYHk026815;
	Sun, 19 Aug 2007 08:20:34 GMT
	(envelope-from nobody)
Message-Id: <200708190820.l7J8KYHk026815@www.freebsd.org>
Date: Sun, 19 Aug 2007 08:20:34 GMT
From: Laszlo Nagy <gandalf@shopzeus.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: py-tkinter fails to compile
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         115618
>Category:       ports
>Synopsis:       x11-toolkits/py-tkinter: py-tkinter fails to compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 19 08:30:01 GMT 2007
>Closed-Date:    Sun Aug 19 14:57:35 GMT 2007
>Last-Modified:  Sun Aug 19 14:57:35 GMT 2007
>Originator:     Laszlo Nagy
>Release:        6.2-RELEASE
>Organization:
shopzeus.com
>Environment:
FreeBSD designaproduct.biz 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #4: Sat Feb 17 12:28:51 EST 2007     gandalf@designaproduct.biz:/usr/obj/usr/src/sys/DESIGNAPRODUCT  i386

>Description:
I just updated the ports tree with portsnap, and while compiling py-tkinter I got this compile error:

===>  Building for py25-tkinter-2.5.1_2
running build
running build_ext
building '_tkinter' extension
cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -march=pentium4 -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -O2 -fno-strict-aliasing -pipe -march=pentium4 -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.5 -c _tkinter.c -o build/temp.freebsd-6.2-RELEASE-p1-i386-2.5/_tkinter.o
In file included from _tkinter.c:67:
/usr/local/include/tk8.4/tk.h:83:23: X11/Xlib.h: No such file or directory
In file included from _tkinter.c:67:
/usr/local/include/tk8.4/tk.h:559: error: syntax error before "Window"
/usr/local/include/tk8.4/tk.h:559: error: `Window' declared as function returning a function
/usr/local/include/tk8.4/tk.h:559: warning: parameter names (without types) in function declaration
/usr/local/include/tk8.4/tk.h:562: error: syntax error before "XEvent"
/usr/local/include/tk8.4/tk.h:571: error: syntax error before "Tk_ClassCreateProc"
/usr/local/include/tk8.4/tk.h:665: error: syntax error before "Bool"
/usr/local/include/tk8.4/tk.h:667: error: field `event' declared as a function
/usr/local/include/tk8.4/tk.h:668: error: field `root' declared as a function
/usr/local/include/tk8.4/tk.h:669: error: field `subwindow' declared as a function
/usr/local/include/tk8.4/tk.h:670: error: syntax error before "Time"
/usr/local/include/tk8.4/tk.h:675: error: syntax error before "Bool"
/usr/local/include/tk8.4/tk.h:681: error: syntax error before "Bool"
/usr/local/include/tk8.4/tk.h:683: error: field `window' declared as a function
/usr/local/include/tk8.4/tk.h:758: error: syntax error before "Display"
/usr/local/include/tk8.4/tk.h:761: error: syntax error before "Visual"


Looks like a dependency problem (Xlib.h not found?).

>How-To-Repeat:
Try to install py-tkinter without Xorg installed
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-ports-bugs 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sun Aug 19 09:49:03 UTC 2007 
Responsible-Changed-Why:  
This is a ports issue -> reassign to the ports team. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115618 

From: Laszlo Nagy <gandalf@shopzeus.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/115618: py-tkinter fails to compile
Date: Sun, 19 Aug 2007 11:39:12 +0200

 Looks like it was my own local problem. Sorry. :-(
Responsible-Changed-From-To: freebsd-ports-bugs->mm 
Responsible-Changed-By: mm 
Responsible-Changed-When: Sun Aug 19 14:38:42 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115618 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Aug 19 14:56:53 UTC 2007 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115618 
>Unformatted:
