I did a pull from git today and I keep getting this error: Can't locate Crypt/Eksblowfish/Bcrypt.pm in @INC (@INC contains: /home/nengard/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/nengard/kohaclone/Koha/AuthUtils.pm line 21. BEGIN failed--compilation aborted at /home/nengard/kohaclone/Koha/AuthUtils.pm line 21. Compilation failed in require at /home/nengard/kohaclone/C4/Auth.pm line 32. BEGIN failed--compilation aborted at /home/nengard/kohaclone/C4/Auth.pm line 32. Compilation failed in require at /home/nengard/kohaclone/mainpage.pl line 25. BEGIN failed--compilation aborted at /home/nengard/kohaclone/mainpage.pl line 25. I installed the following in the order listed (per bug 9611): Crypt::Eksblowfish::Bcrypt Crypt::Random::Source But still get the same error. What am I missing? Thanks Nicole
On Fri, Oct 11, 2013 at 10:09:24AM -0500, Nicole Engard wrote:
I did a pull from git today and I keep getting this error:
Can't locate Crypt/Eksblowfish/Bcrypt.pm in @INC (@INC contains: /home/nengard/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/nengard/kohaclone/Koha/AuthUtils.pm line 21. BEGIN failed--compilation aborted at /home/nengard/kohaclone/Koha/AuthUtils.pm line 21. Compilation failed in require at /home/nengard/kohaclone/C4/Auth.pm line 32. BEGIN failed--compilation aborted at /home/nengard/kohaclone/C4/Auth.pm line 32. Compilation failed in require at /home/nengard/kohaclone/mainpage.pl line 25. BEGIN failed--compilation aborted at /home/nengard/kohaclone/mainpage.pl line 25.
Are you setting something thats overriding perl's @INC if you run perl -V it should show you perl's values on a debian system I see @INC: /home/koha/koha /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl and PERL5LIB will have your local additions The error says that Bcrypt.pm can't be found in this directory list, you can use find to try and locate it and that may also be a clue Colin -- Colin Campbell Chief Software Engineer, PTFS Europe Limited Content Management and Library Solutions +44 (0) 800 756 6803 (phone) +44 (0) 7759 633626 (mobile) colin.campbell@ptfs-europe.com skype: colin_campbell2 http://www.ptfs-europe.com
On Fri, Oct 11, 2013 at 10:49 AM, Colin Campbell < colin.campbell@ptfs-europe.com> wrote:
Are you setting something thats overriding perl's @INC if you run perl -V it should show you perl's values on a debian system I see @INC: /home/koha/koha /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl and PERL5LIB will have your local additions
The error says that Bcrypt.pm can't be found in this directory list, you can use find to try and locate it and that may also be a clue
I don't know much (or anything) about debian - I just know the few commands I need to manage Koha. I don't think I have anything out of the normal in my install - since I haven't had a problem like this with other modules in the past. Here's what I get: @INC: /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.4 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 Unless you wanted the entire thing that perl -V produced ... I can send that too. Do you see a clue? Nicole
Greetings, When I got a similar error, I did a: $ sudo apt-get install libcrypt-eksblowfish-perl libclass-mix-perl Okay, I did the libclass-mix-perl seperately when it complained the dependency wasn't going to install, but this should suffice to keep going. You may also need to grab libcrypt-cbc-perl as well. I happened to already be using that for my custom login code. Hope this helps. GPML, Mark Tompsett
op 14-10-13 05:40, Nicole Engard schreef:
sudo apt-get install libcrypt-eksblowfish-perl libclass-mix-perl That did it!! Thanks Mark.
If you have the koha-community Debian repos installed, then there is a package "koha-perldeps" that will provide and keep fairly up to date all the packages needed to run Koha in a development environment. Robin.
It worked. Thanks. $ sudo apt-get install libcrypt-eksblowfish-perl libclass-mix-perl -- View this message in context: http://koha.1045719.n5.nabble.com/Can-t-upgrade-Koha-tp5774275p5819053.html Sent from the Koha-general mailing list archive at Nabble.com.
nengard wrote
I don't know much (or anything) about debian - I just know the few commands I need to manage Koha. I don't think I have anything out of the normal in my install - since I haven't had a problem like this with other modules in the past. Here's what I get:
@INC: /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.4 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12
Unless you wanted the entire thing that perl -V produced ... I can send that too.
Do you see a clue?
This looks much like OS X 10.8 (Mountain Lion) install of Perl. Are you running a SSH session from a Debian or Mac OS X system mixing up the intended result? -- View this message in context: http://koha.1045719.n5.nabble.com/Can-t-upgrade-Koha-tp5774275p5774328.html Sent from the Koha-general mailing list archive at Nabble.com.
Oops! That was me running that on my Mac and not on Koha :) Built under linux Compiled at Jan 7 2011 12:15:46 %ENV: PERL5LIB="/home/nengard/kohaclone" @INC: /home/nengard/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl On Sun, Oct 13, 2013 at 12:06 AM, Victor Pang <victorp@netmedia.com.sg>wrote:
nengard wrote
I don't know much (or anything) about debian - I just know the few commands I need to manage Koha. I don't think I have anything out of the normal in my install - since I haven't had a problem like this with other modules in the past. Here's what I get:
@INC: /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.4 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12
Unless you wanted the entire thing that perl -V produced ... I can send that too.
Do you see a clue?
This looks much like OS X 10.8 (Mountain Lion) install of Perl. Are you running a SSH session from a Debian or Mac OS X system mixing up the intended result?
-- View this message in context: http://koha.1045719.n5.nabble.com/Can-t-upgrade-Koha-tp5774275p5774328.html Sent from the Koha-general mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (6)
-
Colin Campbell -
littleboss -
Mark Tompsett -
Nicole Engard -
Robin Sheat -
Victor Pang