Get mogstored running
Technology June 20th, 2005
Tonight’s SoC goal was to get mogstored running in the CSIL environment. See if I could get all the code working out of my home directory to run a functioning storage node — even if I don’t have any of the tracker stuff setup yet.
So I cvs download the code, try to run the storage node software, and it complains about missing packages. It’s okay, I expected this. I downloaded Danga’s perlbal library, which acts as a balancing proxy for web stuff. (Think cheap man’s L4+ switch, in perl.) I got it installed to another directory, and mogstored pointing to it when it complained about Linux::AIO missing. I expected this too.
I didn’t expect the latest AIO package not to compile on FC4. (I think it’s a little weird to compile a perl module – maybe I should say make?) A few searches and I found out the headers I need to add to make it ‘make’. I do that.
Then I backpedal a bit and learn about how to adjust the @INC list from the environment, and how to do ‘make install’ install things to the right place when I want that to be under my home directory. For some reason, perlbal can’t find the AIO stuff, even though it’s installed where I think it should be and it’s in the right paths.
Playing around with making mogstored look in the build directories caused another missing module, this one BSD something or other… I’m not sure it was building properly when I tried that, so maybe it’s okay.
And that’s where I’m leaving it tonight. I have a hunch this is failing because I couldn’t just do a ‘make; make test; make install’ and put it on the system. I’ll ask Chuck about it tomorrow and see if I can figure out why it might be failing. If it works on my desktop installed to the global areas, it should work from an alternate directory in my PERL5LIB environment. Not the best start in the world, but it’s something.
About