From owner-freebsd-ports@FreeBSD.ORG Sun Sep 7 19:25:52 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 619E616A4BF for ; Sun, 7 Sep 2003 19:25:52 -0700 (PDT) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78E4243FE1 for ; Sun, 7 Sep 2003 19:25:51 -0700 (PDT) (envelope-from frank@exit.com) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.12.9/8.12.6) with ESMTP id h882OuFH000592; Sun, 7 Sep 2003 19:24:56 -0700 (PDT) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.12.9/8.12.6) with ESMTP id h882PnYo015363; Sun, 7 Sep 2003 19:25:49 -0700 (PDT) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.12.9/8.12.9/Submit) id h882Pnhs015362; Sun, 7 Sep 2003 19:25:49 -0700 (PDT) From: Frank Mayhar Message-Id: <200309080225.h882Pnhs015362@realtime.exit.com> In-Reply-To: <1062986698.375.14.camel@localhost> To: akriel Date: Sun, 7 Sep 2003 19:25:49 -0700 (PDT) X-Copyright0: Copyright 2003 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: ports@freebsd.org Subject: Re: /usr/ports/graphics/py-opengl. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: frank@exit.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 02:25:52 -0000 akriel wrote: [ There is text before PGP section. ] > Upon trying to install BITtorrent wich depends on py-opengl I came up > with the following error but instad of python2.2 it was saying 2.3 for > versions. > > > copying build/Togl-1.5-tk8.4/Togl.so -> > /usr/local/lib/python2.2/site-packages/OpenGL/Tk/freebsd4-tk8.4 > running "pkg_mkIndex > /usr/local/lib/python2.2/site-packages/OpenGL/Tk/freebsd4-tk8.4 Togl.so" > /usr/local/bin/tclsh8.4 > /usr/ports/graphics/py-opengl/work/PyOpenGL-2.0.0.44/register.tcl > successful loading of Togl.so > can't read "::tcl::direct": no such variable > while executing > "if { !$::tcl::direct } { > tclLog "commands provided were $cmds" > }" > (procedure "pkg_mkIndex" line 281) > invoked from within > "pkg_mkIndex -verbose > /usr/local/lib/python2.2/site-packages/OpenGL/Tk/freebsd4-tk8.4 Togl.so" > (file > "/usr/ports/graphics/py-opengl/work/PyOpenGL-2.0.0.44/register.tcl" line > 1) > *** Error code 1 > > Stop in /usr/ports/graphics/py-opengl. > > I then edited makefile to see if using python 2.2 would work and it got > the above error I have had many people from #freebsd on freenode attempt > to correct this with me with no sucsess any help is apreciated. You're using the wrong version of tcl. When I ran into this, I had multiple versions of tcl installed; removing all but the latest solved the problem. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/