User:Wmonroe4/Random notes

From Sirikata Wiki
< User:Wmonroe4
Revision as of 02:36, 6 April 2011 by Wmonroe4 (talk | contribs) (Created page for miscellaneous thoughts, added notes from build)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a page I've made to document miscellaneous thoughts I've had about Meru/Sirikata. These will be very stream-of-consciousness, and may be moved elsewhere and/or organized in a sensible manner later, but no guarantees. If you see anything here that is important and should really be in the main part of the wiki, on the developer list, or emailed to other participants, let me know. If you see anything that's completely stupid, do put a note on the discussion page, or just delete it if it's completely wrong and possibly toxic. (I think other people have the permission to edit this page...)

Building Sirikata on Ubuntu (4/5/2011)

Always remember: the Gates wireless is haunted. Bring an Ethernet cable.

It's a good thing git saves its progress so a wireless interruption doesn't cause the whole clone process to start over.

Q: Why is make depends failing with a bunch of "can't find bzlib.h" errors?

A: Not all the dependencies are installed!

Q: How do I install the dependencies? Is that what full-depends is for?

(Me running around in circles trying to get this option to work)
full-depends should not be prefixed with sudo, even though it enables use of root. It suggests that you use fulldepends (no hyphen), but that's exactly the same thing, except according to the makefiles, the no-hyphen version is deprecated in favor of the hyphen version.
Hmm...full-depends is failing on the chromium build. Gives me a usage message -- maybe there's a typo in the build scripts for 64-bit architectures, or multiprocessor systems, or some such oddity. It's failing in /externals/berkelium/util/build-chromium.sh, called from /dependencies/install (I'm pretty sure).
Oh. That's not how I get the dependencies. Here we go:

A: No, just do the stuff in the section underneath labeled "Linux". All the dependencies are in that list.

OGRE and COLLADA know what's up. They're the only dependencies that are using the full power of all 8 of my hyperthreaded processors to build.

Make the final build using make -j8 to take advantage of parallel processing! (Replace 8 with the number of processors you have on your box. Or just use 8, but the extra threads won't buy you any time if you have less than 8 processors.)

Wow. That final build was surprisingly easy. I guess let's try out the program...