From: Eve K. <e....@sh...> - 2002-09-16 03:18:11
|
I have just installed VPython (and Python2.2) and tried to run one of the demos. Each one results in the following error. I have Mesa v3.4.2-7 installed. Can anyone tell me how I can fix this problem? Traceback (innermost last) File "/usr/local/bin/VPython/Programs/Demos/helix.py", line 1, in ? from visual import * ImportError: /usr/lib/libgtkgl.so.5: undefined symbol: glXUseXFont -- ekotyk |
From: Bruce S. <bas...@un...> - 2002-09-16 19:16:23
|
Presumably this is on Linux? Is there anyone among the VPython users that knows anything about Mesa? I gather it is supposed to be an alternative to OpenGL, but the overview at the Mesa web site implies that one should not expect it to work the same. Since the VPython Visual module interfaces to OpenGL, not Mesa, is there any reason to think that it should work with Mesa? Bruce Sherwood ----- Original Message ----- From: "Eve Kotyk" <e....@sh...> To: <vis...@li...> Sent: Sunday, September 15, 2002 11:17 PM Subject: [Visualpython-users] libgtkgl.so.5 error > I have just installed VPython (and Python2.2) and tried to run one of > the demos. Each one results in the following error. I have Mesa > v3.4.2-7 installed. Can anyone tell me how I can fix this problem? > > Traceback (innermost last) > File "/usr/local/bin/VPython/Programs/Demos/helix.py", line 1, in ? > from visual import * > ImportError: /usr/lib/libgtkgl.so.5: undefined symbol: glXUseXFont > > -- > > ekotyk > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Eve K. <e....@sh...> - 2002-09-17 02:01:20
|
On Mon, 16 Sep 2002 15:20:22 -0400 Bruce Sherwood <bas...@un...> wrote: > Presumably this is on Linux? Is there anyone among the VPython users > that knows anything about Mesa? I gather it is supposed to be an > alternative to OpenGL, but the overview at the Mesa web site implies > that one should not expect it to work the same. Since the VPython > Visual module interfaces to OpenGL, not Mesa, is there any reason to > think that it should work with Mesa? Redhat Linux v7.2, kernel v 2.4, XFree86 v 4 Perhaps mentioning that I had Mesa installed is a red herring. That aside. How can I solve my problem? Eve > > Bruce Sherwood > > ----- Original Message ----- > From: "Eve Kotyk" <e....@sh...> > To: <vis...@li...> > Sent: Sunday, September 15, 2002 11:17 PM > Subject: [Visualpython-users] libgtkgl.so.5 error > > > > I have just installed VPython (and Python2.2) and tried to run one > > of the demos. Each one results in the following error. I have Mesa > > v3.4.2-7 installed. Can anyone tell me how I can fix this problem? > > > > Traceback (innermost last) > > File "/usr/local/bin/VPython/Programs/Demos/helix.py", line 1, in > > ? from visual import * > > ImportError: /usr/lib/libgtkgl.so.5: undefined symbol: glXUseXFont > > > > -- > > > > ekotyk > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > -- ekotyk http://members.shaw.ca/e.kotyk/virtualstudio.htm |
From: Andrew M. <mor...@ph...> - 2002-09-17 16:43:51
|
Eve... What version of gtkglarea do you have? I am using gtkglarea-1.2.1-1, you probably have something newer. Try downgrading to gtkglarea-1.2.1-1 and see what happens. (Unless downgrading breaks important dependencies that you need.) Andrew On Mon, 2002-09-16 at 22:00, Eve Kotyk wrote: > On Mon, 16 Sep 2002 15:20:22 -0400 > Bruce Sherwood <bas...@un...> wrote: >=20 > > Presumably this is on Linux? Is there anyone among the VPython users > > that knows anything about Mesa? I gather it is supposed to be an > > alternative to OpenGL, but the overview at the Mesa web site implies > > that one should not expect it to work the same. Since the VPython > > Visual module interfaces to OpenGL, not Mesa, is there any reason to > > think that it should work with Mesa? >=20 > Redhat Linux v7.2, kernel v 2.4, XFree86 v 4 >=20 > Perhaps mentioning that I had Mesa installed is a red herring. =20 > That aside. How can I solve my problem? >=20 > Eve > >=20 > > Bruce Sherwood > >=20 > > ----- Original Message ----- > > From: "Eve Kotyk" <e....@sh...> > > To: <vis...@li...> > > Sent: Sunday, September 15, 2002 11:17 PM > > Subject: [Visualpython-users] libgtkgl.so.5 error > >=20 > >=20 > > > I have just installed VPython (and Python2.2) and tried to run one > > > of the demos. Each one results in the following error. I have Mesa > > > v3.4.2-7 installed. Can anyone tell me how I can fix this problem? > > > > > > Traceback (innermost last) > > > File "/usr/local/bin/VPython/Programs/Demos/helix.py", line 1, in > > > ? from visual import * > > > ImportError: /usr/lib/libgtkgl.so.5: undefined symbol: glXUseXFont > > > > > > -- > > > > > > ekotyk > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Visualpython-users mailing list > > > Vis...@li... > > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > >=20 >=20 >=20 > --=20 >=20 > ekotyk >=20 > http://members.shaw.ca/e.kotyk/virtualstudio.htm >=20 >=20 > ------------------------------------------------------- > Sponsored by: AMD - Your access to the experts on Hammer Technology!=20 > Open Source & Linux Developers, register now for the AMD Developer=20 > Symposium. Code: EX8664 http://www.developwithamd.com/developerlab > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users >=20 >=20 |
From: Eve K. <e....@sh...> - 2002-09-17 23:14:41
|
On Tue, 17 Sep 2002 11:44:55 -0400 Andrew Morrison <mor...@ph...> wrote: > > Eve... > > What version of gtkglarea do you have? I am using gtkglarea-1.2.1-1, > you probably have something newer. Yes I have what came with VPython which is: /usr/local/bin/VPython/gtkglarea-1.2.2-10.i386.rpm Try downgrading to gtkglarea-1.2.1-1 I'll try it. E > and see what happens. (Unless downgrading breaks important > dependencies that you need.) > > Andrew > > On Mon, 2002-09-16 at 22:00, Eve Kotyk wrote: > > On Mon, 16 Sep 2002 15:20:22 -0400 > > Bruce Sherwood <bas...@un...> wrote: > > > > > Presumably this is on Linux? Is there anyone among the VPython > > > users that knows anything about Mesa? I gather it is supposed to > > > be an alternative to OpenGL, but the overview at the Mesa web site > > > implies that one should not expect it to work the same. Since the > > > VPython Visual module interfaces to OpenGL, not Mesa, is there any > > > reason to think that it should work with Mesa? > > > > Redhat Linux v7.2, kernel v 2.4, XFree86 v 4 > > > > Perhaps mentioning that I had Mesa installed is a red herring. > > That aside. How can I solve my problem? > > > > Eve > > > > > > Bruce Sherwood > > > > > > ----- Original Message ----- > > > From: "Eve Kotyk" <e....@sh...> > > > To: <vis...@li...> > > > Sent: Sunday, September 15, 2002 11:17 PM > > > Subject: [Visualpython-users] libgtkgl.so.5 error > > > > > > > > > > I have just installed VPython (and Python2.2) and tried to run > > > > one of the demos. Each one results in the following error. I > > > > have Mesa v3.4.2-7 installed. Can anyone tell me how I can fix > > > > this problem? > > > > > > > > Traceback (innermost last) > > > > File "/usr/local/bin/VPython/Programs/Demos/helix.py", line > > > > 1, in? from visual import * > > > > ImportError: /usr/lib/libgtkgl.so.5: undefined symbol: > > > > glXUseXFont > > > > > > > > -- > > > > > > > > ekotyk > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Visualpython-users mailing list > > > > Vis...@li... > > > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > > > > > > > > > > -- > > > > ekotyk > > > > http://members.shaw.ca/e.kotyk/virtualstudio.htm > > > > > > ------------------------------------------------------- > > Sponsored by: AMD - Your access to the experts on Hammer Technology! > > Open Source & Linux Developers, register now for the AMD Developer > > Symposium. Code: EX8664 http://www.developwithamd.com/developerlab > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > > > -- ekotyk http://members.shaw.ca/e.kotyk/virtualstudio.htm |
From: Andy D. <dou...@la...> - 2002-09-17 16:54:26
|
On Mon, 16 Sep 2002, Eve Kotyk wrote: > Redhat Linux v7.2, kernel v 2.4, XFree86 v 4 > > > > I have just installed VPython (and Python2.2) and tried to run one > > > of the demos. Each one results in the following error. I have Mesa > > > v3.4.2-7 installed. Can anyone tell me how I can fix this problem? > > > > > > Traceback (innermost last) > > > File "/usr/local/bin/VPython/Programs/Demos/helix.py", line 1, in > > > ? from visual import * > > > ImportError: /usr/lib/libgtkgl.so.5: undefined symbol: glXUseXFont I don't have a RedHat system, so packaging details could differ, but my libgtkgl.so.5 doesn't have a glXUseXFont symbol anywhere in it. You might have to run nm --dynamic on your various libraries in /usr/lib/*.so to find out who (if anyone) defines that symbol. It may be that you simply need another library added in to the link command. -- Andy Dougherty dou...@la... Dept. of Physics Lafayette College, Easton PA 18042 |
From: Andy D. <dou...@la...> - 2002-09-17 16:52:40
|
On Mon, 16 Sep 2002, Bruce Sherwood wrote: > Presumably this is on Linux? Is there anyone among the VPython users that > knows anything about Mesa? I gather it is supposed to be an alternative to > OpenGL, but the overview at the Mesa web site implies that one should not > expect it to work the same. Since the VPython Visual module interfaces to > OpenGL, not Mesa, is there any reason to think that it should work with > Mesa? It'll probably work on Mesa. I have gotten it to work somewhat with Mesa, but frame refreshes are erratic. It's not clear if this is a separate threading issue or a Mesa issue or what. I plan to try re-installing with a 2.4.x kernel and see what I get. The Mesa folks have traditionally been quite careful to respect SGI's copyright and trademark claims on OpenGL, and to be quite clear that Mesa is not an offical OpenGL product. I think that attitude comes through clearly in the overviews and other documentation that comes with Mesa. Sometimes too clearly, but they really do want to be careful and explicit and not mislead anyone. That said, they work very very hard to make it compatible with OpenGL, so I'd expect it to work. Andy Dougherty dou...@la... Dept. of Physics Lafayette College, Easton PA 18042 |
From: Bruce S. <bas...@un...> - 2002-09-18 01:47:06
|
This is very odd, though. Others who have used the VPython installer for RedHat 7.2 (with gtkglarea-1.2.2-10.i385.rpm) have not reported a problem with this. Bruce Sherwood ----- Original Message ----- From: "Eve Kotyk" <e....@sh...> To: "Andrew Morrison" <mor...@ph...> Cc: <bas...@un...>; <vis...@li...> Sent: Tuesday, September 17, 2002 7:14 PM Subject: Re: [Visualpython-users] libgtkgl.so.5 error On Tue, 17 Sep 2002 11:44:55 -0400 Andrew Morrison <mor...@ph...> wrote: > > Eve... > > What version of gtkglarea do you have? I am using gtkglarea-1.2.1-1, > you probably have something newer. Yes I have what came with VPython which is: /usr/local/bin/VPython/gtkglarea-1.2.2-10.i386.rpm Try downgrading to gtkglarea-1.2.1-1 I'll try it. |
From: Andrew M. <mor...@ph...> - 2002-09-18 02:30:11
|
On Tue, 2002-09-17 at 21:16, Bruce Sherwood wrote: > This is very odd, though. Others who have used the VPython installer for > RedHat 7.2 (with gtkglarea-1.2.2-10.i385.rpm) have not reported a problem > with this. >=20 > Bruce Sherwood >=20 The error included in the original message seemed to indicate that somethin= g was trying to use glXUseXFont from libgtkgl.so.5, but was failing. (I don't ac= tually know if I'm right, I'm just guessing.) I couldn't figure out where glXUseX= Font comes from, but I know I have it, because I can bring up the man page. :-) Maybe instead of gtkglarea being the problem, it is a library rpm or dev rp= m that needs to be installed. Just grasping at straws, though...I don't actaully *read* source code. (ha= ha...) Andrew |
From: Andy D. <dou...@la...> - 2002-09-18 12:32:11
|
On Tue, 17 Sep 2002, Andrew Morrison wrote: > Maybe instead of gtkglarea being the problem, it is a library rpm or > dev rpm that needs to be installed. This sounds quite possible. Libraries often come in either run-time versions of development versions. The development version is what's needed to actually compile something, like Vpython. Could you look and see if there's a RedHat mesa-dev package (or something like that) that needs to be installed? -- Andy Dougherty dou...@la... Dept. of Physics Lafayette College, Easton PA 18042 |
From: Eve K. <e....@sh...> - 2002-09-18 12:55:59
|
On Wed, 18 Sep 2002 08:31:35 -0400 (EDT) Andy Dougherty <dou...@la...> wrote: > On Tue, 17 Sep 2002, Andrew Morrison wrote: > > > Maybe instead of gtkglarea being the problem, it is a library rpm or > > dev rpm that needs to be installed. > > This sounds quite possible. Libraries often come in either run-time > versions of development versions. The development version is what's > needed to actually compile something, like Vpython. > > Could you look and see if there's a RedHat mesa-dev package (or > something like that) that needs to be installed? I did an rpm -q for Mesa-devel-3.4.2.7 and it is installed. > -- ekotyk |
From: Andy D. <dou...@la...> - 2002-09-18 15:22:02
|
On Wed, 18 Sep 2002, Eve Kotyk wrote: > I did an rpm -q for Mesa-devel-3.4.2.7 and it is installed. Hmm. On my Debian/Linux system, glXUseXFont is defined in /usr/lib/libGL.so, which is provided by mesa. Running nm --dynamic /usr/lib/libGL.so | grep glXUseXFont yields 0016b99c T Fake_glXUseXFont 001687d8 T glXUseXFont What do you get? My mesa-dev package identifies itself as mesag-dev version 3.4.2.1-4 (where the -4 is a debian-specific packaging indicator). Hmm. I wonder if for some reason your mesa installation didn't provide /usr/lib/libGL.so ? (Perhaps because the system was reserving that name for a "true" OpenGL library?) -- Andy Dougherty dou...@la... Dept. of Physics Lafayette College, Easton PA 18042 |
From: Eve K. <e....@sh...> - 2002-09-19 00:29:37
|
On Wed, 18 Sep 2002 11:22:58 -0400 (EDT) Andy Dougherty <dou...@la...> wrote: > On Wed, 18 Sep 2002, Eve Kotyk wrote: > > > I did an rpm -q for Mesa-devel-3.4.2.7 and it is installed. > > Hmm. On my Debian/Linux system, glXUseXFont is defined in > /usr/lib/libGL.so, which is provided by mesa. > Running > nm --dynamic /usr/lib/libGL.so | grep glXUseXFont > yields > > 0016b99c T Fake_glXUseXFont > 001687d8 T glXUseXFont You are right I do not have /usr/lib/libGL.so. I do have /usr/lib/libGL.so.1 And the output of nm --dynamic /usr/lib/libGL.so.1 | grep glXUseXFont is: 001acb9c T DRI_glXUseXFont 001582f4 T Fake_glXUseXFont 001558d0 T glXUseXFont Sorry to be so lame, but what can I do about this now? I tried installing OpenGL but it conflicts with my current setup and I recall installing Mesa as a requirement for something else. -- ekotyk |