From: Eric A. <Ay...@ma...> - 2010-05-28 22:14:33
|
I'm going through the same problems with 10.04: apt-get install python-visual by itself appears to work but any attempts to create any visual objects crash python with a random assortment of gtkgl/opengl errors. Here's the method I've found that works: apt-get install libboost-python-dev libboost-signals-dev libboost-thread-dev apt-get install libgtkglextmm-x11-1.2-0 libgtkglextmm-x11-1.2-dev apt-get install gtkgl-dev apt-get install python-gtkglext1 apt-get install python-visual Some of that may be redundant, and the order may or may not be important; but I am now reasonably certain that on a fresh 64-bit install of 10.04 on a Core2Duo, those commands in that order will give me a working sphere(). They give me vpython 5.12, which I know is not the latest version but after the absurd amount of time I've blown on this problem I really don't care whether it's the latest or not! -ea -- --- ----- ------- ----------- ------------- Dr. Eric Ayars Associate Professor of Physics California State University, Chico ay...@ma... On May 24, 2010, at 9:44 PM, Bruce Sherwood wrote: > I did a clean install of Ubuntu 10.04 on a Windows machine and tried to > compile Visual. I'm stuck in the configure phase and wonder whether > someone can help me get unstuck. > > gtkglextmm depends on gtkmm-2.4, which the configure machinery finds > okay (/usr/lib/libgtkmm-2.4) despite there being nothing in > /usr/lib/pkgconfig about gtkmm-2.4. > > gtkglextmm also depends on gdkglextmm, which in turn depends on > gdkmm-2.4, which the configure machinery claims doesn't exist despite > the existence of /usr/lib/libgdkmm-2.4 (as with gtkmm, there's nothing > about gdkmm in /usr/lib/pkgconfig). > > So my question is, how does the configure machinery find > /usr/lib/libgtkmm-2.4 but not /usr/lib/libgdkmm-2.4? And what should I > do to compile the latest source? > > Whoever packaged the working python-visual package for Ubuntu 10.04 > presumably didn't have my problem, or got around it somehow. When I > examine the Ubuntu source used to create the package, I don't see any > difference in the configure machinery. > > Bruce > > P.S. I should comment that some auxiliary files, such as the cactus > photo in stonehenge.py, are missing from the Ubuntu package. That's my > fault; I discovered only rather recently that the make procedure for > Linux didn't include a couple of these auxiliary files. > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |