On Thu, 12 Sep 2002, Pierrick wrote:
Hi Pate
Hello Pierrick, I'm forwarding this to the koha list because you'll get far better answers from the list than you would from Rachel and I.
I have reached a bit of an impasses with the install of Koha. I have already sent a message to Rachel but I haven't received anything back yet.
I am trying an installation of Koha on a RedHat 7.2 box. I am doing the manual install so I can monitor (and possibly even understand) what's going on and I've reached a point of impasse:
Please understand that the manual installation is *much* more difficult/error prone than the install script. In the future, we will be deprecating the manual method.
In item 6 - Update your database tables When I issue the command: perl updatedatabase -I /mypathtoC4 I constantly get the following message: "Can't locate C4/Database.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at updatedatabase line 22. BEGIN failed--compilation aborted at updatadatabase line 22"
This error means that your include path doesn't include the C4 directory and the modules that it contains. The best way to deal with this is to add the path to your C4 directory to your include path.
Now Database.pm is located in: /home/downloads/koha-1.2.2/modules/C4 so I issue: perl updatedatabase -I /home/downloads/koha-1.2.2/modules or: perl updatedatabase -I /home/downloads/koha-1.2.2/modules/C4 (both give the same error.) My guess is that I am missing a perl module, but I have loaded: mysql-3.23.41-1 (came with my RedHat disto) perl-DBI-1.18-1 perl-DateManip-5.40 perl-DBD-MySQL-1.2216-4 perl-Set-Scalar-1.17
I actually tried to manually perform the tasks in the script "updatedatabase" (create tables, etc) but I'm not sure about some of the things it actually does...
Any idea?
Then in Item 7, I am not sure which files to copy and where and what the directory structure should be. I assume I should follow the directory structure listed in "Installation without Virtual Hosts"?
That would be the easiest way to do it. -pate
Regards from New Zealand
Pierre
WISYWYG Data pierre@wysiwyg-data.co.nz 64-7-868-9806
On Thu, 12 Sep 2002, Pierrick wrote: [--snip--]
I am trying an installation of Koha on a RedHat 7.2 box. I am doing the manual install so I can monitor (and possibly even understand) what's going on and I've reached a point of impasse:
Pat Eyler wrote:
Please understand that the manual installation is *much* more difficult/error prone than the install script. In the future, we will be deprecating the manual method.
No criticism of the install script, but another option may be to make the manual method easier? I think there are three main problems: [--snip--]
I assume I should follow the directory structure listed in "Installation without Virtual Hosts"?
To RedHat users: 1. IMHO, _many_ RedHat users implicitly think that RedHat style directory structure is the "norm" - for more detail see: http://www.pathname.com/fhs/2.2/ and http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/ref-guide/s1-filesys... To RedHat and other first-time koha users: 2. The default koha virtual host configuration is "unusual" in the sense that there is an implicit assumption that koha will be installed on a dedicated web server(s)... whereas, most koha newbies would probably start by installing an evaluation copy on a shared web server. 3. The default koha (CVS) directory structure is counter-intuitive. By comparison, the directory structure of the release candidates is logical and IMHO far more intuitive no matter what your chosen flavour of OS/distro, or whether you run a shared or stand-alone server. The script is great... but IMHO the more logical default directory structure is the best feature of the script! I have the same problem with CVS structure - I have stuff I'd like to contribute (be it ever so humble :) but find the current CVS system unfathomable from the perspective of an enthusiastic novice. There have been similar threads here within last 6 - 12 months so I won't repeat. Any comments? R.
HI Apologies Pierrick, I hadn't realised that your message was just sent to me, I thought it was too the list. I am not a technical person at all and would just have recommended that you ask your question on list where all the helpful people are. Cheers Rachel
On Thu, 12 Sep 2002, Pierrick wrote:
Hi Pate
Hello Pierrick, I'm forwarding this to the koha list because you'll get far better answers from the list than you would from Rachel and I.
I have reached a bit of an impasses with the install of Koha. I have already sent a message to Rachel but I haven't received anything back yet.
I am trying an installation of Koha on a RedHat 7.2 box. I am doing the manual install so I can monitor (and possibly even understand) what's going on and I've reached a point of impasse:
Please understand that the manual installation is *much* more difficult/error prone than the install script. In the future, we will be deprecating the manual method.
In item 6 - Update your database tables When I issue the command: perl updatedatabase -I /mypathtoC4 I constantly get the following message: "Can't locate C4/Database.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at updatedatabase line 22. BEGIN failed--compilation aborted at updatadatabase line 22"
This error means that your include path doesn't include the C4 directory and the modules that it contains. The best way to deal with this is to add the path to your C4 directory to your include path.
Now Database.pm is located in: /home/downloads/koha-1.2.2/modules/C4 so I issue: perl updatedatabase -I /home/downloads/koha-1.2.2/modules or: perl updatedatabase -I /home/downloads/koha-1.2.2/modules/C4 (both give the same error.) My guess is that I am missing a perl module, but I have loaded: mysql-3.23.41-1 (came with my RedHat disto) perl-DBI-1.18-1 perl-DateManip-5.40 perl-DBD-MySQL-1.2216-4 perl-Set-Scalar-1.17
I actually tried to manually perform the tasks in the script "updatedatabase" (create tables, etc) but I'm not sure about some of the things it actually does...
Any idea?
Then in Item 7, I am not sure which files to copy and where and what the directory structure should be. I assume I should follow the directory structure listed in "Installation without Virtual Hosts"?
That would be the easiest way to do it.
-pate
Regards from New Zealand
Pierre
WISYWYG Data pierre@wysiwyg-data.co.nz 64-7-868-9806
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
_____________________________________________________________ Rachel Hamilton-Williams Katipo Communications WEBMISTRESS ph 021 389 128 or +64 04 934 1285 mailto:rachel@katipo.co.nz PO Box 12487, Wellington http://www.katipo.co.nz New Zealand Koha Open Source Library System http://www.koha.org
participants (3)
-
Pat Eyler -
Rachel Hamilton-Williams -
Roger Buck