From: rod h. <rh...@St...> - 2002-07-07 17:25:03
|
To list: I will start with a general explanation and provide more details later if needed. 1. I am compiling on Mandrake 8.1 2. Python 2.2, Idle-Fork, and Numeric are installed and functioning 3. Two problems arise with installing VPython a. the gtkglarea.rpm installation process (from the install script) says it is already installed and then spits out a long list of database errors - then the script continues to compilation of cvisual. b. the compilation of cvisual always ends in a seg fault - usually in vthread.h. What I have tried so far- 1) using the gtkglarea libs from the Mandrake disks and commenting out the rpm process from the install script. 2) commenting out the offending lines in the include files that generate seg faults Neither work. Are there any suggestions? Thanks, Rod |
From: Andrew M. <mor...@ph...> - 2002-07-08 13:56:36
|
On Sun, 2002-07-07 at 13:24, rod holland wrote: > To list: >=20 > I will start with a general explanation and provide more details later if > needed. >=20 > 1. I am compiling on Mandrake 8.1 > 2. Python 2.2, Idle-Fork, and Numeric are installed and functioning > 3. Two problems arise with installing VPython > a. the gtkglarea.rpm installation process (from the install script) says > it is already installed and then spits out a long list of database error= s > - then the script continues to compilation of cvisual. > b. the compilation of cvisual always ends in a seg fault - usually in > vthread.h. >=20 > What I have tried so far- > 1) using the gtkglarea libs from the Mandrake disks and commenting out th= e > rpm process from the install script. > 2) commenting out the offending lines in the include files that generate > seg faults >=20 > Neither work. Are there any suggestions? >=20 > Thanks, >=20 > Rod >=20 I have also had this problem. I can't offer a solution, but I can add that using the gtkglarea rpm from red-carpet (ximian) does not work, either. Tried uninstalling w/ red-carpet to allow the install script to do its thing, also to no avail. Rpm database seems to be intact, as I tried --rebuilddb and met same end result. Andrew =20 |
From: Bruce S. <bas...@un...> - 2002-07-08 14:32:12
|
You've probably seen this note ("additional info" on the Linux download page), but just in case you missed it, here's a comment on getting VPython to work on Debian. The VPython installation procedure should work on most versions of Red Hat Linux, and it may work in other Linux environments as well. If not, Andy Dougherty offers the following useful information. Other packages you may need are commonly, but not universally, installed on many Linux systems. I can tell you that on my Debian system, I also needed to add glib, gtk+, and some sort of OpenGL library. You may need to check that you have the development versions of the libraries. [1] VPython includes gtkglarea, but if you can't use the supplied i386 rpm [2] you may also need to install gtkglarea from source. If so, I'd recommend using the slightly-newer gtkglarea-1.2.3 -- it worked marginally better for me. Where you get OpenGL may depend, in part, on which X server you're using. I'm currently trying Mesa as an OpenGL replacement, but with mixed success. The Visual window only seems to be updated occasionally; with the same program under Windows, the updating is nearly continuous. Hope this helps, Andy Dougherty Dept. of Physics Lafayette College Easton PA 18042 [1] For some libraries, some Linux distributions sometimes ship both runtime and development versions. You need the development version if you want to compile. [2] e.g. if you don't have an rpm command, or if if you're running on a different architecture, such as an Alpha or SPARC. |
From: Andy D. <dou...@la...> - 2002-07-08 14:52:50
|
On Sun, 7 Jul 2002, rod holland wrote: > To list: > > I will start with a general explanation and provide more details later if > needed. > > 1. I am compiling on Mandrake 8.1 > 2. Python 2.2, Idle-Fork, and Numeric are installed and functioning > 3. Two problems arise with installing VPython > a. the gtkglarea.rpm installation process (from the install script) says > it is already installed and then spits out a long list of database errors Here, I can't help, since I'm unfamiliar with rpm packages and the associated errors. > - then the script continues to compilation of cvisual. > b. the compilation of cvisual always ends in a seg fault - usually in > vthread.h. Could you send more specific info -- perhaps the last few lines of a build log? > 2) commenting out the offending lines in the include files that generate > seg faults > > Neither work. Are there any suggestions? What are the offending lines? What process is segfaulting -- is it Python, gcc, ld, ... ? -- Andy Dougherty dou...@la... Dept. of Physics Lafayette College, Easton PA 18042 |