[Koha] Newbie Query

david david at regionalservers.com
Tue Jul 24 21:23:33 NZST 2007


I really really want to set up a test/evaluation koha. Really. I do.
I have a ubuntu box, pretty much basic ubuntu server 7.04 LAMP.
I followed the basic instructions, and ran perl installer.pl, which tells me I
need to install some perl packages - fine, no problem, so off I go ...
remaining list of packages to install is :
export LC_ALL=C

perl -MCPAN -e 'install "Date::Calc"'

perl -MCPAN -e 'install "ZOOM"'

perl -MCPAN -e 'install "You will need PDF::API2 for barcode generator"'

perl -MCPAN -e 'install "You will need GD::Barcode for the new barcode
generator"'

perl -MCPAN -e 'install "You will need Data::Random for the new barcode
generator"'

perl -MCPAN -e 'install "You will need PDF::Reuse::Barcode for the new
barcode generator"'

perl -MCPAN -e 'install "You will need Net::LDAP if you want to authentify
patrons through a LDAP"'


So - doing the Date::Calc entry :
first it suggests I might want to upgrade to newer CPAN from v1.7602 to v1.9102
with install Bundle::CPAN then reload cpan, but I continue ... I get blah blah
blah, then Checking if your kit is complete...
Looks good
Warning: prerequisite Bit::Vector 6.4 not found.
...
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
 so I say yes
and the install for bit::vector starts:
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module Bit::Vector
Running make for S/ST/STBEY/Bit-Vector-6.4.tar.gz
Checksum for
/home/regional/.cpan/sources/authors/id/S/ST/STBEY/Bit-Vector-6.4.tar.gz ok
Bit-Vector-6.4/
Bit-Vector-6.4/examples/
Bit-Vector-6.4/examples/benchmk2.pl
 ...
Bit-Vector-6.4/Artistic.txt
Bit-Vector-6.4/README.txt
Removing previously used /home/regional/.cpan/build/Bit-Vector-6.4

  CPAN.pm: Going to build S/ST/STBEY/Bit-Vector-6.4.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Bit::Vector
Writing patchlevel.h for /usr/bin/perl (5.008008)
cp lib/Bit/Vector/Overload.pm blib/lib/Bit/Vector/Overload.pm
cp Vector.pm blib/lib/Bit/Vector.pm
cp Vector.pod blib/lib/Bit/Vector.pod
cp lib/Bit/Vector/String.pod blib/lib/Bit/Vector/String.pod
cp lib/Bit/Vector/Overload.pod blib/lib/Bit/Vector/Overload.pod
cp lib/Bit/Vector/String.pm blib/lib/Bit/Vector/String.pm
cc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"6.4\" -DXS_VERSION=\"6.4\" -fPIC
"-I/usr/lib/perl/5.8/CORE"   BitVector.c
BitVector.c:8:80: error: stdlib.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from BitVector.c:9:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No
such file or directory
BitVector.c:10:80: error: string.h: No such file or directory
BitVector.c:11:80: error: ctype.h: No such file or directory
BitVector.c: In function âBitVector_Errorâ:
BitVector.c:508: error: âNULLâ undeclared (first use in this function)
BitVector.c:508: error: (Each undeclared identifier is reported only once
BitVector.c:508: error: for each function it appears in.)
 then loads and loads of compiler errors.

It looks like I'm missing some dev stuff.

Any advice please ?




More information about the Koha mailing list