Dear Koha Users, I updated my koha stopwords but when I tried to run "misc/rebuildnonmarc.pl" thatś what happened [root@localhost misc]# perl rebuildnonmarc.pl Can't locate C4/Context.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi /usr/lib/perl5/5.8.6 .) at rebuildnonmarc.pl line 10. BEGIN failed--compilation aborted at rebuildnonmarc.pl line 10. then I tried to get it with the way I know, so I did : [root@localhost ~]# perl -MCPAN -e 'install "C4::Context"' CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Tue, 08 Aug 2006 13:29:49 GMT CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://ftp.is.co.za/programming/perl/CPAN/authors/01mailrc.txt.gz Going to read /root/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok Fetching with LWP: ftp://ftp.is.co.za/programming/perl/CPAN/modules/02packages.details.txt.gz Going to read /root/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Sat, 12 Aug 2006 13:34:38 GMT There's a new CPAN.pm version (v1.87) available! [Current version is v1.7601] You might want to try install Bundle::CPAN reload cpan without quitting the current session. It should be a seamless upgrade while we are running... Fetching with LWP: ftp://ftp.is.co.za/programming/perl/CPAN/modules/03modlist.data.gz Going to read /root/.cpan/sources/modules/03modlist.data.gz Going to write /root/.cpan/Metadata Warning: Cannot install C4::Context, don't know what it is. Try the command i /C4::Context/ now what should I do!!!!!!!! _________________________________________________________________ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
On Mon, Aug 14, 2006 at 01:11:54PM +0000, the undead wrote:
Dear Koha Users, I updated my koha stopwords but when I tried to run "misc/rebuildnonmarc.pl"
thatś what happened
Try doing: $ export KOHA_CONF=/path/to/koha.conf then run $ misc/rebuildnonmarc.pl Hope that helps. Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
On Mon, Aug 14, 2006 at 05:55:49AM -0700, Joshua Ferraro said:
On Mon, Aug 14, 2006 at 01:11:54PM +0000, the undead wrote:
Dear Koha Users, I updated my koha stopwords but when I tried to run "misc/rebuildnonmarc.pl"
thatś what happened
Try doing:
$ export KOHA_CONF=/path/to/koha.conf
then run
$ misc/rebuildnonmarc.pl
What you will to do is perl -I /path/to/koha/modules misc/rebuildnonmarc.pl eg perl -I /usr/local/koha/intranet/modules misc/rebuildnonmarc.pl (plus the export part Joshua suggests above) Chris -- Chris Cormack Programmer 027 4500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
Dear Mr. Joshua Ferraro, Chris Cormack and Koha users, I executed these two commands [root@localhost ~]# export KOHA_CONF=/etc/koha.conf [root@localhost ~]# perl -I /usr/local/koha/intranet/modules/misc/rebuildnonmarc.pl but it have been 30 min. and the second one is still working and i see no information or any thing so, what is happening
On Mon, Aug 14, 2006 at 05:55:49AM -0700, Joshua Ferraro said:
On Mon, Aug 14, 2006 at 01:11:54PM +0000, the undead wrote:
Dear Koha Users, I updated my koha stopwords but when I tried to run "misc/rebuildnonmarc.pl"
thatś what happened
Try doing:
$ export KOHA_CONF=/path/to/koha.conf
then run
$ misc/rebuildnonmarc.pl
What you will to do is
perl -I /path/to/koha/modules misc/rebuildnonmarc.pl
eg perl -I /usr/local/koha/intranet/modules misc/rebuildnonmarc.pl
(plus the export part Joshua suggests above)
Chris
-- Chris Cormack Programmer 027 4500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
On Tue, Aug 15, 2006 at 05:42:20AM +0000, the undead said:
Dear Mr. Joshua Ferraro, Chris Cormack and Koha users, I executed these two commands [root@localhost ~]# export KOHA_CONF=/etc/koha.conf [root@localhost ~]# perl -I /usr/local/koha/intranet/modules/misc/rebuildnonmarc.pl but it have been 30 min. and the second one is still working and i see no information or any thing so, what is happening
Ahh you have run the wrong command its perl -I /usr/local/koha/intranet/modules ./misc/rebuildnonmarc.pl Chris -- Chris Cormack Programmer 027 4500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
Ok Heres the full command, assuming you arent in the scripts dir perl -I /usr/local/koha/intranet/modules /usr/local/koha/intranet/scripts/misc/rebuildnonmarc.pl Chris -- Chris Cormack Programmer 027 4500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
participants (3)
-
Chris Cormack -
Joshua Ferraro -
the undead