OS X CPAN Perl module installation issue -


i'm trying install perl module mediawiki::api using cpan on os x:

sudo cpan mediawiki::api                                                        password: reading '/users/qazwsx/.cpan/metadata'   database generated on mon, 13 jul 2015 20:53:32 gmt running install module 'mediawiki::api' running make e/ex/exobuzz/mediawiki-api-0.40.tar.gz checksum /users/qazwsx/.cpan/sources/authors/id/e/ex/exobuzz/mediawiki-api-0.40.tar.gz ok sh: /opt/local/bin/gzip: no such file or directory package seems come without makefile.pl.   (the test -f "/users/qazwsx/.cpan/build/exobuzz-iwzbih/makefile.pl" returned false.)   writing 1 on our own (setting name mediawikiapi)    cpan.pm: building e/ex/exobuzz/mediawiki-api-0.40.tar.gz  writing makefile mediawikiapi writing mymeta.yml , mymeta.json   exobuzz/mediawiki-api-0.40.tar.gz   /usr/bin/make -- ok 'yaml' not installed, not store persistent state running make test no tests defined mediawikiapi extension.   exobuzz/mediawiki-api-0.40.tar.gz   /usr/bin/make test -- ok running make install appending installation info /library/perl/updates/5.18.2/darwin-thread-multi-2level/perllocal.pod   exobuzz/mediawiki-api-0.40.tar.gz   /usr/bin/make install  -- ok 

this step of installing git-mediawiki (see https://github.com/moy/git-mediawiki/wiki/user-manual). however, after installation steps, first git command reports mediawiki::api module isn't available:

git pull can't locate mediawiki/api.pm in @inc (you may need install mediawiki::api module) (@inc contains: /users/qazwsx/workspace-x4430/git/perl /users/qazwsx/workspace-x4430/git/contrib/mw-to-git /library/perl/5.18/darwin-thread-multi-2level /library/perl/5.18 /network/library/perl/5.18/darwin-thread-multi-2level /network/library/perl/5.18 /library/perl/updates/5.18.2/darwin-thread-multi-2level /library/perl/updates/5.18.2 /system/library/perl/5.18/darwin-thread-multi-2level /system/library/perl/5.18 /system/library/perl/extras/5.18/darwin-thread-multi-2level /system/library/perl/extras/5.18 .) @ /usr/local/cellar/git/2.4.1/libexec/git-core/git-remote-mediawiki line 15. begin failed--compilation aborted @ /usr/local/cellar/git/2.4.1/libexec/git-core/git-remote-mediawiki line 15. 

i wonder if installation method perl module correct. 1 thing strikes out odd error

sh: /opt/local/bin/gzip: no such file or directory 

i use homebrew standard paths, gzip binary @ /usr/local/bin/gzip. don't know if or fix it. appears search paths issue don't know how fix it.

there might wrong ~/.cpan, configuration cpan. can try

# re-install cpan brew doctor brew update brew install cpan  # remove or ~/.cpan mv ~/.cpan ~/.cpan.bak  # re-initialize ~/.cpan cpan config  # try installing perl module again sudo cpan install mediawiki::api 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -