do you have anything in $PERL_MM_OPT or $PERL_MB_OPT?
2011-11-24 32842, 2011
ianmcorvidae
understanding that I don't really know what I'm doing, but I can try to help decipher what's going on, hopefully :l
2011-11-24 32808, 2011
navap_
I just made a copy of musicbrainz-server into a new user's home folder and successfully ranmusicbrainz_server.pl without any .cpan* folders for that user
2011-11-24 32847, 2011
navap_
I don't use local::lib
2011-11-24 32838, 2011
martian
ianmcorvidae: I appear to have no perl related envvars
2011-11-24 32840, 2011
martian
I'm going to just go ahead and smash things now
2011-11-24 32845, 2011
ianmcorvidae
heh
2011-11-24 32825, 2011
ianmcorvidae
anyway clearly the issue here is that dependencies aren't, in fact, being installed
2011-11-24 32810, 2011
martian
all things related to this should be in either ~/.cpanplus ~/.cpan or ~/musicbrainz-server/ right?
2011-11-24 32841, 2011
ianmcorvidae
hard to say; I suspect Module::Build/ExtUtils::MakeMaker are installing to a site_perl directory
2011-11-24 32804, 2011
ianmcorvidae
which you can find by way of: perl '-V:.*site.*'
2011-11-24 32835, 2011
ianmcorvidae
still not really sure where the issue here lies, although perhaps something is getting screwed up by something system-installed
which is not necessarily a recommendation, note, but :P
2011-11-24 32814, 2011
martian
"2. Make sure the proper environment variables for local::lib are set (PERL5LIB, PERL_MM_OPT, MODULEBUILDRC, and PATH)" I don't know what this means, and I don't care :x
2011-11-24 32852, 2011
ianmcorvidae
MODULEBUILDRC is now PERL_MB_OPT; local::lib, when set up, sets those in order to customize where things get installed
2011-11-24 32814, 2011
kepstin
hmm. when I set up the musicbrainz server on my debian box, I ended up installing most of the modules via the system package manager, then manually installing the remaining ones using cpan as root.
2011-11-24 32837, 2011
kepstin
probably not the recommended way to do it, and I haven't even got the webserver running yet to see if it works :)
2011-11-24 32858, 2011
martian
I bet installing SAP is simpler than this ;)
2011-11-24 32801, 2011
ianmcorvidae
the "recommended" way to do it doesn't really exist :P
2011-11-24 32824, 2011
ianmcorvidae
if nothing else, it's probably got actual documentation
2011-11-24 32840, 2011
ianmcorvidae
martian: anyway, since I know you've been working on this for something like 12 hours, my non-technical recommendation would be to let it rest for now, regather your sanity, and try again tomorrow after figuring out what actually went wrong (and, hopefully, how to work around it)
2011-11-24 32830, 2011
ianmcorvidae
the next steps, whenever you want to take them, will be figuring out a.) what you already have installed, via CPAN or package managers or whatever, and where these things are installed (and under what permissions); b.) trying to figure out why the tests are failing when you're trying to install things with make installdeps; and c.) putting together a plan as to how to get all the perl modules you need installed
2011-11-24 32837, 2011
STalKer-X joined the channel
2011-11-24 32834, 2011
martian
ianmcorvidae: you are right =D
2011-11-24 32837, 2011
ianmcorvidae
options for c.) are something like: try to install from package managers, filling in gaps from CPAN (like kepstin did); or try to purge everything you don't need for other stuff on your system, then use local::lib and install everything from CPAN to a user-specific directory (thus sandboxing the mb-server stuff away from your system stuff)
2011-11-24 32840, 2011
martian smash
2011-11-24 32803, 2011
kepstin did that in a container anyways, so there was nothing else on the system to worry about :)
2011-11-24 32812, 2011
ianmcorvidae
ah. well, that would help :)
2011-11-24 32841, 2011
ianmcorvidae
when I was doing this I tried to do the first one, it broke everything perl-related on my system, then I basically purged everything and reinstalled only the bare minimum I needed for things like irssi
2011-11-24 32845, 2011
ianmcorvidae
and then I took the second route :P
2011-11-24 32854, 2011
martian
Yeah, I got frustrated because of some issues with the distributed virtualbox and so I just started installing all this on my workstation ... I should probably jam it all in a new vbox
2011-11-24 32825, 2011
ianmcorvidae looks at INSTALL, to see if maybe I can find some conceptual-level explanations to help make debugging broken installs work
2011-11-24 32859, 2011
kepstin
all you really need is just modules X,Y,Z installed somewhere in your perl library path
2011-11-24 32804, 2011
kepstin
nothing more complicated than that.
2011-11-24 32810, 2011
ianmcorvidae
yeah, INSTALL doesn't say that :P
2011-11-24 32842, 2011
kepstin read the makefile install scripts to determine which modules, then installed them manually.
2011-11-24 32800, 2011
ianmcorvidae
yeah, I just used 'cpanm .' which functionally does that for you :)
2011-11-24 32859, 2011
hawke_
ahhh....pies are out of the oven.
2011-11-24 32848, 2011
derwin
the pie is a truth
2011-11-24 32827, 2011
hawke_
Currently off-topic, but just to put in my 2 cents: I don't mind the concept of streaming music, except that it basically comes down to changing services constantly since all the players are really basic, horrible, or both.
2011-11-24 32854, 2011
hawke_
And since changing services involves uploading my entire music library (at least for Google and Amazon, and probably others)... how about no.
2011-11-24 32806, 2011
hawke_
Tomahawk is the only interesting streaming audio thing I've seen so far.
2011-11-24 32812, 2011
derwin
hawke_: subsonic?
2011-11-24 32858, 2011
hawke_
hmmm
2011-11-24 32802, 2011
hawke_
haven't seen that one before
2011-11-24 32827, 2011
derwin
it has sorta weird license terms for a gpl thing...
2011-11-24 32841, 2011
derwin
but is very useful for "make my actualy media library available in various contexts"
2011-11-24 32803, 2011
hawke_
Interesting.
2011-11-24 32818, 2011
hawke_
Like I said though, tomahawk is probably the most interesting thing I've seen
2011-11-24 32825, 2011
hawke_
I like the sharing-with-others concept
2011-11-24 32835, 2011
hawke_
even though everyone else has terrible taste in music. :-D
2011-11-24 32836, 2011
derwin
I've used last.fm very effectively for new music discovery
2011-11-24 32846, 2011
derwin
I was interested in "play music for your chatroom
2011-11-24 32854, 2011
derwin
but the first one was facebook only
2011-11-24 32854, 2011
hawke_
last.fm did an amazing job finding stuff for awhile
2011-11-24 32802, 2011
hawke_
but I think I've burned it out of stuff that I actually like
ianmcorvidae: XML-LibXML-Debugging >> "This key is not certified with a trusted signature", "make test had returned bad status, won't install without force"
2011-11-24 32859, 2011
martian
damn you perl!!!
2011-11-24 32801, 2011
ianmcorvidae
heh
2011-11-24 32818, 2011
ianmcorvidae
well, I guess find the force flag
2011-11-24 32804, 2011
martian
yep, that done did it and... waiting...
2011-11-24 32843, 2011
martian
and it appears to be working. I can only guess that the above mentioned module was updated TODAY only to mess with my head :)
2011-11-24 32852, 2011
ianmcorvidae
hah
2011-11-24 32803, 2011
martian
it's a big conspiracy against me
2011-11-24 32813, 2011
martian
Catalyst::Plugin::AutoRestart failed compilation. This is just crap.
2011-11-24 32837, 2011
CallerNo6 joined the channel
2011-11-24 32821, 2011
DarkerAudit joined the channel
2011-11-24 32809, 2011
Leftmost joined the channel
2011-11-24 32831, 2011
luks
I wish I had more time and motivation to work on this MB-based last.fm clone + personal music locker service
2011-11-24 32825, 2011
martian
I love how perl makes you sit there and confirm each module install
2011-11-24 32838, 2011
luks
use cpanm, not cpan
2011-11-24 32806, 2011
luks
just wondering, how are you planning to use the server?
2011-11-24 32807, 2011
martian
oh, I was talking to ianmcorvidae earlier about that. I have a rather large stash of music on a communal ampache install that I am using beets to clean up and would like to speed up the process...
2011-11-24 32823, 2011
martian
and I've been working on my own ampache-like app that tries to tie in closer to MB and would like to also make the initial testing and development faster as well as have a mirror server that could be available for others to use
2011-11-24 32808, 2011
luks
you will probably need to install the lucene search server as well then
2011-11-24 32829, 2011
ianmcorvidae
and won't that be fun
2011-11-24 32853, 2011
martian
is lucene utilized by the web service?
2011-11-24 32805, 2011
luks
MB should really provide the compiled .war file
2011-11-24 32812, 2011
luks
martian: yes
2011-11-24 32839, 2011
martian
luks: egads. man, maybe I should just give up :)
2011-11-24 32814, 2011
martian
Catalyst::Plugin::AutoRestart is failing to install, other deps I've had to force because of signature mismatches or whatever perl calls it.
2011-11-24 32827, 2011
martian
while I agree with your earlier sentiment that the install process should be documented well enough that anyone can install all this stuff, the reality of it is that a complete and ready to go mbserver virtualbox image is a much easier way to get people on to their own mirrors... unless you feel that multiple mirrors are not necessary
2011-11-24 32825, 2011
luks
no, I didn't want it to be documented
2011-11-24 32833, 2011
luks
I wanted to have a script that will do all the work
2011-11-24 32848, 2011
martian
well, that's nice too ;)
2011-11-24 32847, 2011
luks
because the VM will necessarily get out of date very soon
2011-11-24 32842, 2011
martian
I'm a little brain fried at this point and hence a little whiney, but I find the hardest part of this is getting perl sorted out. I don't think I have ever experienced a condition in which installing a perl module required by something or another DIDN'T fail and open a can of worms
2011-11-24 32849, 2011
luks
you can't imagine how many times I've been there :)
2011-11-24 32826, 2011
martian
rewrite the whole thing in ASP :-P
2011-11-24 32837, 2011
luks
I even starting writing other software that helps me run a MB mirror, just to lessen the pain
2011-11-24 32849, 2011
luks is not a MB developer
2011-11-24 32818, 2011
martian
oh? I thought you were the head developer.
2011-11-24 32840, 2011
ianmcorvidae
no, that's ocharles/warp
2011-11-24 32848, 2011
ianmcorvidae
er, the two of them are the main developers
2011-11-24 32856, 2011
ianmcorvidae
there isn't really a single "head" developer, I guess :)
2011-11-24 32820, 2011
Ismael joined the channel
2011-11-24 32818, 2011
olaf_ joined the channel
2011-11-24 32844, 2011
ijabz joined the channel
2011-11-24 32847, 2011
luks
martian: btw, you should lucky that cpan works for you at all :)