From: Gary P. <gar...@gm...> - 2010-01-30 18:11:53
|
PPA: Once you've done it three or four times you get used to it. :) I do have to correct my earlier comment. When I first installed the package python-visual, it simply segfaulted on start up. When I installed boost from ppa, it did not segfault, but it did crash. I misinterpreted the error message, though. The current error is the glibmm error mentioned here: https://bugs.launchpad.net/python/+bug/457688 (I had just glanced at the error, saw the letters "gl", and thought it was an OpenGL error.) Is that part of the boost bug? I now have two Ubuntus: my regular OS, and one running in a VM. My regular os is the one where Vpython ran, but the file system became corrupted due to the Mesa/kernel/Radeon bug. I simply don't remember if I installed boost packages, or compiled boost from source. I did not have the PPA boost installed ... I didn't know about that until yesterday. I can't tell by looking at what's installed because I did a complete reinstall of Ubuntu in the meantime, hoping that one or more of my bugs would go away. In the VM Ubuntu I installed the visual-python package, and boost from the PPA. That's the setup that allows me to import visual, but crashes with the glibmm error whenever I try to create a visual object. I have another VM, this one running Mandriva. There's no visual rpm for Mandriva that I'm aware of. I'm in the process of installing the prerequisites for visual from standard Mandriva rpm packages, and then I'll compile visual. I'll also see what progress I can make on the Ubuntu VM. I'll let you know what happens. As you very well know, all this takes time. What you may not know is I have a life. :) I'll get it done before long. -gary PS I'm beginning to wonder whether Ubuntu's policy of forcing out a new release every six months is such a good idea after all. We'll probably get visual running on 9.10 just as 10.04 comes out. On Fri, Jan 29, 2010 at 8:37 PM, Bruce Sherwood <Bru...@nc...>wrote: > Gary, I fought my way through the arcaneness of the ppa machinery (Linux > isn't for the faint of heart). I installed the new Boost 1.38 and 1.40, > and tried 1.40 first, but couldn't compile. So I removed 1.40 and found > I could compile with Boost 1.38 but not link: the message in > src/build.log is > > /usr/bin/ld: cannot find -lboost_python > > even though I can see libboost_python-mt-py26.a, > libboost_python-mt-py26.so, and libboost_python-mt-py26.so.1.38.0 in > /usr/lib, and the package manager thinks they're installed. > > Did you do some additional arcane operation to make the library > findable? What am I missing? > > Bruce Sherwood > > Gary Pajer wrote: > > Someone has made new boost packages for Ubuntu: > > https://launchpad.net/~ajmitch/+archive/ppa<https://launchpad.net/%7Eajmitch/+archive/ppa> > > <https://launchpad.net/%7Eajmitch/+archive/ppa> > > > > I installed them on a Ubuntu 9.10 virtual machine, and Vpython did not > > segfault. Python did crash with a graphics error when I attempted to > > create a sphere, but you may have different results. > > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |