On Tuesday 03 October 2006 10:24, Robert Gresham wrote: > I built and installed SDL_perl from CPAN last night. The Build did not > produce any errors, however, test failed in most of the items. The version > on cpan produce the error (or very similar to) Can't locate a loadable > module for SDL_perl in @INC ( ... ). After this, it said that there was an > error in require and it said something about an error in BEGIN. I am at > work now and do not have the exact errors in front of me. > > I do have all the prerequisits installed. They are installed from Gentoo's > Portage, so it is POSSIBLE that perhaps portage built them without a > feature that is required for SDL_perl. > > I emerged the version of SDL_perl which was one major behind the CPAN > version I believe and it built without fatals. perl -e 'use SDL' executed > fine, however the same command with SDL:App produced the error Can't locate > a loadable module for SDL::(some font package. I don't remember the name > right off). > > 2 questions then, could these errors be related and what information do you > need to help me troubleshoot this? Any help or pointers I recieve would > help me a lot. I plan on posting the exact text of the error message > tonight after I get home, but I got a bit ansy and the thought that someone > might be able to shed some light became too much of a temptation.
Sounds like you don't have SDL_TTFont installed or configured. It'd be nice to have SDL_Perl build separate .so files for each of the optional libraries, so it's not an all-or-nothing compile-time deal, but managing multiple XS files is sort of a hassle. Posting the exact text will definitely help. -- c
