Hi Johan, Are you trying to load the module from lib/ ? Better to load it from blib/ , by using the 'blib' module (which is what 'make test' does internally).
-Ken > -----Original Message----- > From: Johan Lindstrom [mailto:[EMAIL PROTECTED] > Sent: Friday, September 03, 2004 10:57 AM > To: [EMAIL PROTECTED] > Subject: Inline modules > > > Hi! > > I have a question about building/developing modules that use Inline. > > I managed to install (kind-of) an inlined module of mine on > win32 (after > these adventures: > http://rt.cpan.org/NoAuth/Bug.html?id=7552). It was an > old module that worked the way I wanted with Inline 0.22 and > Perl 5.6.1, > but now I couldn't get Inline to not recompile the source in > my standalone > release. So I read about installed Inlined modules and it > seeems to be what > I'm after. > > But when I got the module to build I got a little confused. > I'm probably > missing something obvious. > > The FAQ at > <http://search.cpan.org/~ingy/Inline-0.44/Inline-FAQ.pod#Whate ver_happened_to_the_SITE_INSTALL_option?> > says that step seven is: > > "Make sure VERSION matches $Foo::VERSION. This must be a string (not > a number) matching /^\d\.\d\d$/" > > If I don't have a version number, "make test" works ok and it > creates an > _Inline directory to build it in. But having a version number > in the "use > Inline" statement, Inline complains that: > > "The extension 'Game::Decoder::PerlDecode' is not properly > installed in path: > 'lib' > > If this is a CPAN/distributed module, you may need to > reinstall it on your > system." > > It seems like Inline needs to be made aware of the fact that I'm not > _supposed_ to have installed the module yet. Right now I can > comment out > the version when running the tests, but that seems a bit... manual. > > Is there a proper procedure for doing this? > > > /J > -------- ------ ---- --- -- -- -- - - - - - > Johan Lindstr�m Sourcerer @ Boss Casinos johanl AT DarSerMan.com > > Latest bookmark: "TCP Connection Passing" > http://tcpcp.sourceforge.net/ > dmoz: /Computers/Programming/Languages/JavaScript/ 12 > >
