On 15-Nov-05, at 12:11 PM, Richard Dice wrote:

I posted a couple of things there yesterday.

Are you 'wunder', then?

That's me!


I was trying to do an
install on perl 5.6, but I ran into a whole bunch of dependancy
issues with some of the modules that CAF requires, so I eventually
gave up on that particular machine.  Is there an established minimum
version of perl required to get everything installed?

If you open up the Build.PL at the top level of the CAF tarball then you'll see most of the modules in the 'requires' block have '0' as the required version number, meaning "I don't care what version you have as long as you have it." Clearly, this is wrong. Any given one of these modules has probably gone through dozens of version releases, and no doubt the 0.01 versions of the
modules aren't sufficient for CAF purposes, or any purpose probably.

But what can Michael and I do? It's not like we have an array of testing machines in our respective basements and build scripts and environments set up
to test every conceivable permutation of CPAN module release *and* an
infinitely-good test harness suite so that we can say "here is the minimum base case required for CAF". (Michael actually gave a talk about this at TPF during
the lightning talks in September.)

Well, maybe I can help out a bit. I've got about 10 machines on my rack that have various OSs and versions of Perl. I can do a bit of testing to see what common problems come up with older versions.


The same goes for Perl. I'm a Perl guy so I keep my Perl up to date, e.g.

I try to do that as well, but when you've got a machine in a production environment, you don't always have that choice. (Or let's say it's not always easy). The machine in question is a Sun Cobalt RAQ 550 that has been running fine for a couple of years, but an upgrade of Perl can break the GUI, crons, all sorts of things if you're not careful. Sun EOLed these machines a long while back, but as long as it does the job I'm reluctant to move the scripts to a new machine. Also, even though I do have an up to date version of Perl running in a different location mod_perl was compiled using v5.6, so that would the version of Perl I'd need to install CAF with. I don't fancy upgrading mod_perl on a live machine for various reasons. So, rather than running CAF under Apache::Registry, I think what I'll do is run it under CGI using the upgraded Perl in the alternate location.

So, I guess what I'm saying is that if there is even one required module that will not work under a certain version of Perl and it's a known issue, it would be helpful to post that.


This is pretty damn new. What is the min version of Perl required? I have no idea. This is what I have on my machine, I only own one computer, and I keep it
up to date.  I imagine Michael is in a similar situation.

We rely on users to provide us with error reports. If something didn't work for you, let us know and we'll include it in the 'require' block in Build.PL.

Getting back to your dependancy issues, what kind of dependancy issues were these? The presence (or lack) of C libraries? (That's a special kind of dependacy issue.) Post your error log from your CPAN module install here and we
can provide insight into how to overcome it, hopefully.

Well, here is a list of modules that don't install:

    CGI::Application::Plugin::AnyTemplate
    CGI::Application::Plugin::ValidateRM
    DBD::SQLite
    Class::DBI
    Apache::Session
    Class::DBI::SQLite
    Class::DBI::AbstractSearch
    CGI::Application::Plugin::LogDispatch
    CGI::Application::Plugin::Config::Context
    Apache::SessionX
    Time::Format

A lot of this seems to lead back to Scalar::List::Utils:

[root Scalar-List-Utils-1.17]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00version.....ok
t/blessed.......ok
t/dualvar.......NOK 8#     Failed test (t/dualvar.t at line 46)
t/dualvar.......NOK 9#     Failed test (t/dualvar.t at line 47)
t/dualvar.......ok 11/11# Looks like you failed 2 tests of 11.
t/dualvar.......dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 8-9
        Failed 2/11 tests, 81.82% okay
t/first.........ok
t/isvstring.....skipped
        all skipped: isvstring requires XS version
t/lln...........ok
t/max...........ok
t/maxstr........ok
t/min...........ok
t/minstr........ok
t/openhan.......ok
t/p_blessed.....ok
t/p_first.......ok
t/p_lln.........ok
t/p_max.........ok
t/p_maxstr......ok
t/p_min.........ok
t/p_minstr......ok
t/p_openhan.....ok
t/p_readonly....ok
t/p_reduce......ok
t/p_refaddr.....ok
t/p_reftype.....ok
t/p_shuffle.....ok
t/p_sum.........ok
t/p_tainted.....ok
t/proto.........ok
t/readonly......ok
t/reduce........ok
t/refaddr.......ok
t/reftype.......ok
t/shuffle.......ok
t/sum...........ok
t/tainted.......ok
t/weak..........ok
        5/22 skipped: Test does not work with perl < 5.8.3
Failed Test Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------ -------
t/dualvar.t    2   512    11    2  18.18%  8-9
1 test and 5 subtests skipped.
Failed 1/35 test scripts, 97.14% okay. 2/313 subtests failed, 99.36% okay.
make: *** [test_dynamic] Error 11

Here's my version info:

[root Scalar-List-Utils-1.17]# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.16c23_v, archname=i386-linux
uname='linux madison.cobalt.com 2.2.16c23_v #1 mon jan 8 19:53:53 pst 2001 i686 unknown ' config_args='-des -Doptimize=-O2 -m486 -fno-strength-reduce - Dcc=gcc -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dprefix=/usr - Darchname=i386-linux -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm - Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Uuselargefiles'
    hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=undef
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
cc='gcc', optimize='-O2 -m486 -fno-strength-reduce', gccversion=2.95.3 20010315 (release)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc-2.2.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='- rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options:
  Built under linux
  Compiled at Mar 21 2001 01:18:47
  @INC:
    /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/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005
    /usr/lib/perl5/site_perl



So, yes, it's over 4 years old... Anyway, it's not a show stopper for me -- I can work around it, but it kind of slowed me down getting started with CAF. :)


Olaf
--
Olaf Alders
[EMAIL PROTECTED]

http://www.vilerichard.com -- pop tunes
http://www.licensemusiconline.com -- music licensing


_______________________________________________
caf mailing list
[email protected]
http://list.lpi.org/cgi-bin/mailman/listinfo/caf

Reply via email to