Skip Menu |

This queue is for tickets about the Cache-FastMmap CPAN distribution.

Report information
The Basics
Id: 69522
Status: resolved
Priority: 0/
Queue: Cache-FastMmap

People
Owner: Nobody in particular
Requestors: WMCKEE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.37
Fixed in: (no value)



Subject: Libraries building into wrong blib path
Hi Rob, While trying to build Cache::FastMmap for Snow Leopard x86_64, I came across an odd problem. The libraries are being built in Cache/blib instead of blib. Although 'make' runs successfully, the 'make test' command fails with errors such as the following: "Error: Can't locate loadable object for module Cache::FastMmap::CImpl in @INC..." With some help on irc, I took the step of copying the Cache/blib directory into the ./blib. While 'make test' still fails, I can successfully install the package with 'make install' and can run the following: perl -MCache::FastMmap -le 'print $Cache::FastMmap::VERSION' Which returns '1.37'. It's quite odd behavior which claes on irc #perl-help suggests is due to a newer version of ExtUtils::MakeMaker ("it works with 6.30_01 on one of my machines but not with 6.55_02 nor 6.57_05"). Sorry I can't offer more feedback or a patch. Hopefully this report will help track down the build problems with this module. I'm running ExtUtils::MakeMaker v6.42. This module also fails on my Ubuntu box with v6.56 of ExtUtils::MakeMaker. William -- Knowmad Technologies http://www.knowmad.com
OK, I ran into one more issue with the build. The Cache/FastMmap.pm file needed to be manually copied into blib before running 'make install'. So here's the full list of what I needed to do to complete this install: perl Makefile.PL make rm -rf blib/ mv Cache/blib ./ cp Cache/FastMmap.pm blib/lib/Cache/ make install HTH, William
I completely broken the build process and didn't realise it. I've simplified the whole structure and released 1.39 that should fix this.