1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
to get going, by default do this:
./configure
make install
this will install cthumb in /usr/bin and some images in /usr/share/images
a ./configure --prefix=<your dir of choice>
should work to put it in your preferred directory.
you need the following perl packages:
HTML, URI, and they themselves need MIME.
you can just download them from some per CPAN
server, install them wherever you want,
and then set your PERL5LIB variable to point there:
bash$ echo $PERL5LIB
/opt/perl-modules/lib/site_perl
bash$ ls -l /opt/perl-modules/lib/site_perl
total 40
drwxr-xr-x 2 root root 4096 Jan 1 1999 HTML
drwxr-xr-x 2 root root 4096 Jan 1 1999 MIME
drwxr-xr-x 3 root root 4096 Jan 1 1999 URI
-r--r--r-- 1 root root 22684 Nov 19 1998 URI.pm
drwxr-xr-x 3 root root 4096 Jan 1 1999 i386-linux
bash$
in have included and also posted a copy of these files in
http://puchol.com/cpg/software/cthumb/
for your download and install pleasure. i like to
install these modules in /opt/perl-modules, thus
i se my PERL5LIB to
/opt/perl-modules/lib/site_perl
the file included is called perl-modules.tgz
(and happens to quadruple the size of the source tarball!)
|