test failures during cpan installation

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default test failures during cpan installation

    Hello,

    I'd like to install the current version of bestpractical's request
    tracker ([url]http://www.bestpractical.com/rt/[/url]), which is written in perl.
    The installation skript wants me to install a lot of additional perl
    modules.

    Most of theses modules can be easily installed with the cpan command. In
    cpan's command line interface, I enter something like "install Foo::Bar"

    The problem is that some modules do not install due to some failing
    tests. I get errors like "argument list too long" or "error, no reason
    given", etc. I don't know how to solve such problems, since there's no
    suitable error message, that tells me the reason for the failure.

    I decided to install the modules with "force install Foo::Bar" which
    succeeded. Can I expect that every will work?

    In addition I have a module that cannot be installed due to linking
    problems. It's the GD module. The linker ld says that it "cannot find
    -lXpm", though the file libXpm.so.4 exists in /usr/X11R6/lib and the gcc
    command has something like -L/usr/X11R6/lib in it's argument list.

    rt is a very common request tracker system. I don't understand why the
    installation is such a mess (sorry). A peace of software, that requires
    C programming knowledge for installation and maintenance is not usable.

    Can you help me with the usage of cpan? Is it "normal" that a lot of
    modules can only be installed by forcing the installation, what went
    wrong with the GD module?

    Btw. my os is centos 4.3, which is technically identical to Redhat
    Enterprice 4. My compiler is gcc 3.4.5 and the perl version is 5.8.5

    thanks in advance

    greets Boris
    Boris Glawe Guest

  2. Similar Questions and Discussions

    1. CPAN make test error with XML::Encoding
      I am trying to install XML::Encoding on my Debian woody system -- kernel 2.2.20 and perl 5.6.1. I am getting an error in CPAN and I do not know...
    2. #39974 [NEW]: make test reports failures
      From: mitrashamsa at yahoo dot com Operating system: Linux PHP version: 5.2.0 PHP Bug Type: Compile Failure Bug description:...
    3. How to deal with module installation failures?
      In attempting to install the Regexp module using the CPAN module (i.e., 'perl -MCPAN -e shell'), compilation of the module fails on my system. I've...
    4. library gd-2.0.22 and CPAN installation of GD.pm
      Hello everybody, I want to intall Bioperl with the CPAN of my perl5.8 on Panther (10.3.2) ; to do such a thing I need to install GD module. To...
    5. Newbie: Problems with a CPAN installation
      Hello. I'm trying to install 'LWP:Simple' module on my Linux machine. # perl -MCPAN -e shell cpan> install LWP:Simple Going to read...
  3. #2

    Default Re: test failures during cpan installation

    Hi Boris,

    No your not crazy (yet), your mostly correct.

    Boris Glawe wrote:
    > Hello,
    >
    > I'd like to install the current version of bestpractical's request
    > tracker ([url]http://www.bestpractical.com/rt/[/url]), which is written in perl.
    > The installation skript wants me to install a lot of additional perl
    > modules.
    >
    You just have to keep working through them all, like you're doing.
    > Most of theses modules can be easily installed with the cpan command. In
    > cpan's command line interface, I enter something like "install Foo::Bar"
    >
    cpanp (CPANPLUS) is also an option, but for either of these you should make
    sure that you're configured to automatically follow the prerequisite
    installations, so that everthing gets installed as needed.
    > The problem is that some modules do not install due to some failing
    > tests. I get errors like "argument list too long" or "error, no reason
    > given", etc. I don't know how to solve such problems, since there's no
    > suitable error message, that tells me the reason for the failure.
    >
    Some 'make test' failures are not uncommon, as long as it's not failing "too
    much."
    > I decided to install the modules with "force install Foo::Bar" which
    > succeeded. Can I expect that every will work?
    >
    Excellent question, and you already know the answer, I'm sure. You seem
    quite capable. No guarantee.
    > In addition I have a module that cannot be installed due to linking
    > problems. It's the GD module. The linker ld says that it "cannot find
    > -lXpm", though the file libXpm.so.4 exists in /usr/X11R6/lib and the gcc
    > command has something like -L/usr/X11R6/lib in it's argument list.
    >
    GD just installed for me, and I have FC4 linux, so look elsewhere.
    > rt is a very common request tracker system. I don't understand why the
    > installation is such a mess (sorry). A peace of software, that requires
    > C programming knowledge for installation and maintenance is not usable.
    >
    > Can you help me with the usage of cpan? Is it "normal" that a lot of
    > modules can only be installed by forcing the installation, what went
    > wrong with the GD module?
    >
    If you can identify module problems, then check [url]http://rt.cpan.org/Public[/url]
    for known bugs, or submit a new one.
    > Btw. my os is centos 4.3, which is technically identical to Redhat
    > Enterprice 4. My compiler is gcc 3.4.5 and the perl version is 5.8.5
    >
    > thanks in advance
    >
    > greets Boris
    Write back, if you need to.

    Eric

    Eric R. Meyers Guest

  4. #3

    Default Re: test failures during cpan installation

    "Eric R. Meyers" <ermeyers@adelphia.net> writes:
    > Boris Glawe wrote:
    >
    >> The problem is that some modules do not install due to some failing
    >> tests. I get errors like "argument list too long" or "error, no reason
    >> given", etc. I don't know how to solve such problems, since there's no
    >> suitable error message, that tells me the reason for the failure.
    >>
    > Some 'make test' failures are not uncommon, as long as it's not failing "too
    > much."
    A concrete example of that is the DBI::* modules, when you haven't supplied
    the name of a test database and the login information. The self tests will
    fail because they're unable to connect and run, but that doesn't indicate a
    problem with the modules themselves.

    Ultimately it's a judgement call - you need to review the error messages and
    decide on a case-by-case basis if you think it's safe to them.

    sherm--

    --
    Web Hosting by West Virginians, for West Virginians: [url]http://wv-www.net[/url]
    Cocoa programming in Perl: [url]http://camelbones.sourceforge.net[/url]
    Sherm Pendley Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139