<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks MJ,<br>
<br>
I've managed to get the perl dependencies installed as well as Koha
downloaded and compiled, however it is failing the make test because C4
can't find the other perl modules. Here's a sample from the error
messages I'm getting:<br>
<br>
# Failed test 'use C4::Barcodes::PrinterConfig;'<br>
# at t/Barcodes_PrinterConfig.t line 12.<br>
# Tried to use 'C4::Barcodes::PrinterConfig'.<br>
# Error: Can't locate PDF/API2.pm in @INC (@INC contains:
/home/prcsaca/koha/koha-3.00.00/blib/PERL_MODULE_DIR
/home/prcsaca/koha/koha-3.00.00/blib/arch
/usr/lib/perl5/5.8.8/x86_64-linux /usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux
/usr/lib/perl5/site_perl/5.8.8 /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/5.8.2 /usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at
/home/prcsaca/koha/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Barcodes/PrinterConfig.pm
line 21.<br>
<br>
I think this has something to do with the way I had to install the perl
modules with my webhosting company (Bluehost) -- I had to use their
cPanel to install the modules, which tells me:<br>
<br>
<p> You will need to add <code class="module-path">/home/prcsaca/perl</code>
to the include path. <br>
You can do this by adding the following code to your script: <code></code></p>
<pre>BEGIN {
my $homedir = ( getpwuid($>) )[7];
my @user_include;
foreach my $path (@INC) {
if ( -d $homedir . '/perl' . $path ) {
push @user_include, $homedir . '/perl' . $path;
}
}
unshift @INC, @user_include;
}
</pre>
Now I guess my question is whether anyone knows of a fast way of
dealing with this without having to manually insert that code into
every perl script/module that is packaged with Koha. Or am I completely
off base in thinking that this is the problem... This is starting to
get into areas that I'm not to familiar with...<br>
<br>
Thanks,<br>
<br>
Dwayne Collins<br>
<br>
<br>
MJ Ray wrote:
<blockquote cite="mid:48a07d5d.yrfyBg2HzfUv7Kzt%25mjr@phonecoop.coop"
type="cite">
<pre wrap="">Dwayne Collins <a class="moz-txt-link-rfc2396E" href="mailto:dcollins@prcsa.ca"><dcollins@prcsa.ca></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Bluehost.com). Does anyone have experience in this area and/or know of a
guide to setting up Koha on a shared server (or even better,
specifically on Bluehost?) Everything I've been able to find so far only
seems to deal with a standard install.
</pre>
</blockquote>
<pre wrap=""><!---->
This will need to be a "single" install rather than a "standard"
install, but if you have shell access and a compiler, or a cooperative
sysadmin, it should be possible to install on a shared server. If the
sysadmin won't install Zebra for you, I'd try NoZebra because running
something like zebrasrv as a user isn't ideal, unless someone on the
lists sees a problem with that.
Hope that helps,
</pre>
</blockquote>
<br>
</body>
</html>