in reply to Re^3: Module Install Troubles
in thread Module Install Troubles

That path to make is my own install of GNU make. I've since switched back to the system supplied make, with no apparent difference.

I've gone through and installed some of the dependencies separately through cpan, some install, some don't. The biggest headache seems to be Test::Exception:

# BEGIN failed--compilation aborted at /otdp1_vol1/home/sgriffit/.cpan/build/Test-Exception-0.27/blib/lib/Test/Exception.pm line 6.
# Compilation failed in require at (eval 2) line 2.
# BEGIN failed--compilation aborted at (eval 2) line 2.

# Failed test 'cannot pass undef to throws_ok'

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^5: Module Install Troubles
by pileofrogs (Priest) on Aug 22, 2008 at 16:01 UTC

    Okay, if I reach a point like this, I usually start tinkering with the build by hand. You can go to the build dir in your cpan dir and find the source all unpacked for you. Then you can run make test with the verbosity turned up and that might help.

    $ make test TEST_VERBOSE=1

    (I think that's the right syntax)

    Another good thing to try is (from the base dir of the unpacked module source)

    $ prove -v -I lib t/TESTNAME

    Where TESTNAME is the name of one of the files in the t/ dir. This lets you test one test at a time, and it turns on the verbosity. Read the man page on prove, it's cool.

    And then poke around in the t/ directory and read the tests that are failing.

    Another thing that can cause problems that are hard to track down is when you install stuff as root with your umask too tight. In English, that means you install stuff and then your non-root account can't read it. If it's a perl dependency, you get the regular lib-not-found error, but if it's some non-perl dependency, you can get the kind of thing you're seeing.

      Hey, thanks, those are good tips.

      I solved my problem, see the O.P.

      -QM
      --
      Quantum Mechanics: The dreams stuff is made of