p5-io-aio needs common/sense.pm?

Andrew Watts ahwatts at gmail.com
Sat Nov 14 20:19:31 PST 2009


I was trying to play with the MogileFS server in MacPorts, and after a
"port selfupdate" and a "sudo port upgrade outdated", mogstored
refused to run:

andrew at drbernice ~ $ mogstored -d
ERROR: IO::AIO not installed, so async IO not available.  Refusing to run
       unless you set the environment variable MOGSTORED_RUN_WITHOUT_AIO=1

But p5-io-aio does seem to be installed:

andrew at drbernice ~ $ port list p5-io-aio
p5-io-aio                      @3.3            perl/p5-io-aio

I tried running a quickie perl script to see why IO::AIO wouldn't load:

andrew at drbernice ~ $ perl -e "use IO::AIO"
Can't locate common/sense.pm in @INC (@INC contains:
/opt/local/lib/perl5/site_perl/5.8.9/darwin-2level
/opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl
/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
/opt/local/lib/perl5/vendor_perl/5.8.9
/opt/local/lib/perl5/vendor_perl
/opt/local/lib/perl5/5.8.9/darwin-2level /opt/local/lib/perl5/5.8.9 .)
at /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/IO/AIO.pm line
191.
BEGIN failed--compilation aborted at
/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/IO/AIO.pm line
191.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

It looks like this package does exist here
(http://search.cpan.org/dist/common-sense/), but I can't find a port
for it.  Is this an oversight or am I just a doofus and doing
something wrong?  I'm not really even a Perl novice, so I'm a little
out of my depth trying to diagnose this.  FWIW, I'm running Leopard.

Thanks,

Andrew Watts
ahwatts at gmail.com


More information about the macports-users mailing list