i386/115618: py-tkinter fails to compile
Laszlo Nagy
gandalf at shopzeus.com
Sun Aug 19 01:30:02 PDT 2007
>Number: 115618
>Category: i386
>Synopsis: py-tkinter fails to compile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-i386
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 19 08:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-i386
mailing list