[ pyopengl-Bugs-1623486 ] _tkinter.TclError: no display name error during build

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #1623486, was opened at 2006-12-28 20:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1623486&group_id=5988

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: build
Group: v2.0.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tim Wegener (twegener)
Assigned to: Nobody/Anonymous (nobody)
Summary: _tkinter.TclError: no display name error during build

Initial Comment:
When doing 'python setup.py bdist_rpm' the build fails with the following output:

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.63631
+ umask 022
+ cd /data/home/tim/homegrown_rpms/PyOpenGL-2.0.1.09/build/bdist.linux-i686/rpm/BUILD
+ cd PyOpenGL-2.0.1.09
+ LANG=C
+ export LANG
+ unset DISPLAY
+ env 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' python setup.py build
Traceback (most recent call last):
  File "setup.py", line 44, in ?
    from setup.togl_setup import install, build_togl
  File "/data/home/tim/homegrown_rpms/PyOpenGL-2.0.1.09/build/bdist.linux-i686/rpm/BUILD/PyOpenGL-2.0.1.09/setup/togl_setup.py", line 27, in ?
    tk = Tkinter.Tk()
  File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1569, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
error: Bad exit status from /var/tmp/rpm-tmp.63631 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.63631 (%build)
error: command 'rpmbuild' failed with exit status 1


Version info:
PyOpenGL-2.0.1.09
python-2.4.4-1.fc6
tkinter-2.4.4-1.fc6
Fedora 6


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1623486&group_id=5988

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.