[ic] Install problems

Joachim Leidinger interchange-users@icdevgroup.org
Tue Jul 16 12:23:00 2002


Cliff Addy wrote:
> I'm trying to install 4.8.5 on a FreeBSD 3.x system.  I'm seeing tons of
> errors like
> 
>    "/usr/bin/pod2man:   bad option in paragraph 143 of
>     pod/ic_howto_cvs.pod: ``-k'' should be [CB]<-k>"
> 
> I also see errors such as 
> 
>    "BEGIN failed--compilation aborted at
>     blib/lib/Spreadsheet/WriteExcel/Worksheet.pm line 21."
> 
> and at the end I get 
> 
>    "Bundle summary: The following items seem to have had installation
>     problems: IO::stringy Spreadsheet::WriteExcel"
> 
> Are these critical errors?  How can they be fixed?
> 
> Cliff

First of all, FreeBSD 3.x is too old.
cpan (Module CPAN) is to old too in most common case.
Which Perl Version did you have?

The best way is

1) update FreeBSD and Perl
2) update CPAN Module of perl
3) install IC

or if you have to use the old FreeBSD 3.x,

1) install perl 5.6.1 from ports if you still use Perl 5.005.x
    (it will be installed into /usr/local/bin/... etc. beside of
     the old perl)
2) configure your CPAN of Perl 5.6.1 to use another .build directory
3) use CPAN of Perl 5.6.1 and install the newest CPAN Module
    for example with

#cat /usr/bin/cpan5.6
#!/usr/local/bin/perl

eval 'exec /usr/local/bin/perl  -S $0 ${1+"$@"}'
     if 0; # not running under some shell

use CPAN;
shell;

cpan5.6
install Bundle::CPAN
etc.

I've


BPA:/root[root] #cpan5.6

cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support enabled

cpan> o conf
CPAN::Config options from /usr/local/lib/perl5/5.6.1/CPAN/Config.pm:
     commit             Commit changes to disk
     defaults           Reload defaults from disk
     init               Interactive setting of all options

     build_cache        10
     build_dir          /home/tmp/.cpan561/build
     cache_metadata     1
     cpan_home          /home/tmp/.cpan561
...
etc.


go into the source directory of IC (from tarball)
clean it (make clean)
create a newest Makefile (/usr/local/bin/perl Makefile.PL)
make
make test
make install

I hope, it helps you.

Joachim

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de