[Python-bugs-list] [ python-Bugs-739424 ] Python2.3b1 install problems on Linux
SourceForge.net
noreply@sourceforge.net
Sun, 18 May 2003 05:10:00 -0700
Bugs item #739424, was opened at 2003-05-18 05:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=739424&group_id=5470
Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: David MacQuigg (macquigg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python2.3b1 install problems on Linux
Initial Comment:
I'm running Red Hat Linux 8.0, patches fully up to date, with the latest tcl/tk packages installed.
Python2.2.1 is running fine, including Tkinter and IDLE. Followed the standard install procedure for
Python-2.3.b1 tarball, and Tkinter is now broken. Can't install IDLE.
./configure and make ran OK.
~/Python-2.3b1> make test
227 tests OK
26 skipped
1 unexpected skip on linux2: test_bz2
No module named bz2
~/Python-2.3b1> make install
...
building '_tkinter' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_APPINIT=1 -I/usr/X11R6/include -I.
-I/home/macquigg/Python-2.3b1/./Include -I/usr/local/include -I/home/macquigg/Python-2.3b1/Include
-I/home/macquigg/Python-2.3b1 -c /home/macquigg/Python-2.3b1/Modules/_tkinter.c -o
build/temp.linux-i686-2.3/_tkinter.o
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from /home/macquigg/Python-2.3b1/Modules/_tkinter.c:71:
/usr/include/tk.h:83:29: X11/Xlib.h: No such file or directory
In file included from /home/macquigg/Python-2.3b1/Modules/_tkinter.c:71:
/usr/include/tk.h:581: parse error before "Bool"
/usr/include/tk.h:583: parse error before "event"
/usr/include/tk.h:584: parse error before "root"
/usr/include/tk.h:585: parse error before "subwindow"
/usr/include/tk.h:586: parse error before "time"
/usr/include/tk.h:586: `time' redeclared as different kind of symbol
/usr/include/time.h:184: previous declaration of `time'
/usr/include/tk.h:591: parse error before "same_screen"
/usr/include/tk.h:597: parse error before "Bool"
... many more of these parse errors ...
==> Cannot find "Xlib.h" anywhere under
/usr/include, /usr/X11R6, or in the Python-2.3b1 distribution.
As far as I know, the X11 files have not been altered. Python 2.2.1 still runs OK.
Here are the versions on the tcl/tk packages recently downloaded from RedHat.
-rw-rw-r-- 1 macquigg macquigg 1570466 May 10 11:36 tcl-8.3.3-74.i386.rpm
-rw-rw-r-- 1 macquigg macquigg 460160 May 10 13:47 tix-8.2.0b1-74.i386.rpm
-rw-rw-r-- 1 macquigg macquigg 1390929 May 10 11:40 tk-8.3.3-74.i386.rpm
-rw-rw-r-- 1 macquigg macquigg 265427 Apr 25 04:54 tkinter-2.2.1-17.i386.rpm
More details in the attached logfile. I'll try to keep this configuration together for debugging.
- Dave
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=739424&group_id=5470