Sorry about that - this message wasn't necessarily supposed to go out to everyone. But if anyone has any suggestions, then I'd be glad to hear them.
-----Original Message----- > Date: Wed May 09 02:26:55 EDT 2007 > From: "Jayce Kazuto Doose" <[EMAIL PROTECTED]> > Subject: Re: [PySoy-Dev] Ubuntu building > To: "PySoy Developers" <[email protected]> > > Hey Arc, > > Sorry I haven't responded in a while - it was a bit crazy right before the > last day of classes. Well, the good news is that I successfully updated > to ubuntu 7.04, which doesn't seem to have the problems with freeglut3, > and the other packages, so they are all installed now. It seems like I > successfully installed pyrex from subversion, as well as pysoy, but when I > go into python, and I try to import soy, it says that the module can't be > found. I haven't gone and looked at a good python tutorial yet, but I do > believe that it should at least be finding the soy module. Attached is a > text file with my attempt (I've tried it three times now and always the > same result). Also, now that I have a little bit of a gap before my final > exams begin, what was that good pyrex tutorial that you said you found at > some point? I'm going to start taking a look at that, and some other > things now, as soon as I figure out how to run pysoy. > > Thanks a lot, > > Jayce > > > Ok here's a quick guide to building from Trunk constructed on a fairly > > vanilla > > Ubuntu system. I of course recommend Gentoo for development but some > > people > > aren't so lucky to have a Gentoo box w/ accelerated video card installed. > > > > > > First - don't install Pyrex. Even if you have a package for 0.9.5.1a > > listed. > > ANY older version will not work (bugs have been fixed), plus there is at > > least > > one additional patch needed to get the latest version running (in addition > > to > > the hacks I've been able to make to our code to get around bugs) > > > > Start by installing the following packages: > > subversion > > python-dev > > freeglut3-dev > > libglut3-dev > > libglew-dev > > libopenal-dev > > libalut-dev > > libspeex-dev > > g++ (this is for building ODE, below) > > > > You'll need to get ODE 0.8 installed manually, Ubuntu doesn't seem to > > offer > > a recent-enough version and I'm willing to bet Debian/etc doesn't either: > > Download 0.8 source from http://www.ode.org/ (save to disk) > > From terminal (don't type the #) : > > # unzip Desktop/ode-src-0.8.zip > > # cd ode-0.8 > > # ./configure > > Should have: "Use double precision: no" (slow, not used for games) > > > > # make > > # make install > > > > Since this is not a package it will install to /usr/local - for this > > you'll > > need to add a line to /etc/ld.so.conf so PySoy can find libode: > > # sudo nano /etc/ld.so.conf > > Add "/usr/local/lib" on the last line then control-x to save > > # sudo ldconfig > > > > Now from a terminal (don't type the #): > > # cd > > # svn --username <YourName> co http://svn.pysoy.org/branches/pyrex-soy > > # cd pyrex-soy > > # python setup.py build > > (if it goes well) > > # sudo python setup.py install > > > > You should now have the patched version of Pyrex installed. > > > > Now for Pysoy (still in the terminal): > > # cd > > # svn --username <YourName> co http://svn.pysoy.org/trunk/pysoy > > # cd pysoy > > # python setup.py build > > # cd build > > # ln -s lib* soy > > # nano soy/__init__.py > > > > Lastly, add the following lines to __init__.py (these are temporary only): > > > > from _core import * > > import _imports > > import widgets > > > > (control-x to save) > > > > Run "python" next and "import soy", you should have Pysoy running. > > > > To update PySoy (for new changes): > > # cd ~/pysoy > > # svn update > > # python setup.py build > > > > If you make changes you want to commit AFTER you've tested it: > > # cd ~/pysoy > > # svn commit > > (edit your commit log and save/quit with whatever editor you use) > > > > > > This should work regardless of wether or not you have accelerated video, > > however, you'll want to get that working on your box ASAP since very soon > > the > > mesh code will be in and Pysoy will run VERY slow without it. > > > > _______________________________________________ > > PySoy-Dev mailing list > > [email protected] > > http://www.pysoy.org/mailman/listinfo/pysoy-dev > > _______________________________________________ PySoy-Dev mailing list [email protected] http://www.pysoy.org/mailman/listinfo/pysoy-dev
