Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: Installing modules

by Chuma (Acolyte)
on Jan 29, 2012 at 01:56 UTC ( #950538=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Installing modules
in thread Installing modules

Another one? Okay.

Xcode I have already. I did what you said, and now "perl -v" says that the version has been upgraded. So yay for that! First progress in a long time. On the other hand, Bash now gives an error message in every new window:

-bash: export: `PATH#': not a valid identifier -bash: export: `install_latest_perl_osx.pl': not a valid identifier
So if you know what to do about that, that would also be great.

Now the "make" runs, with only a couple of warnings. When I try "make test", I get a bunch of errors, see below. According to the guide, I should probably not install the module. Anything that can be done to fix this?

If it means that the module is bad, I guess I could just try some other module. I'm guessing there are other modules that make pretty graphics things.
PERL_DL_NONLAZY=1 /Users/Chuma/perl5/perlbrew/perls/perl-5.14.2/bin/pe +rl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/ +arch')" t/*.t t/GD.t ........ Can't load './blib/arch/auto/GD/GD.bundle' for module +GD: dlopen(./blib/arch/auto/GD/GD.bundle, 2): Symbol not found: _gdFo +ntGetGiant Referenced from: /Users/Chuma/Desktop/GD-2.46/blib/arch/auto/GD/GD.b +undle Expected in: dynamic lookup at t/GD.t line 14 Compilation failed in require at t/GD.t line 14. BEGIN failed--compilation aborted at t/GD.t line 14. t/GD.t ........ Dubious, test returned 2 (wstat 512, 0x200) Failed 12/12 subtests t/Polyline.t .. Can't load '/Users/Chuma/Desktop/GD-2.46/blib/arch/aut +o/GD/GD.bundle' for module GD: dlopen(/Users/Chuma/Desktop/GD-2.46/bl +ib/arch/auto/GD/GD.bundle, 2): Symbol not found: _gdFontGetGiant Referenced from: /Users/Chuma/Desktop/GD-2.46/blib/arch/auto/GD/GD.b +undle Expected in: dynamic lookup at /Users/Chuma/Desktop/GD-2.46/blib/lib/GD/Polyline.pm line 45 Compilation failed in require at /Users/Chuma/Desktop/GD-2.46/blib/lib +/GD/Polyline.pm line 45. BEGIN failed--compilation aborted at /Users/Chuma/Desktop/GD-2.46/blib +/lib/GD/Polyline.pm line 45. Compilation failed in require at t/Polyline.t line 10. BEGIN failed--compilation aborted at t/Polyline.t line 10. t/Polyline.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests Test Summary Report ------------------- t/GD.t (Wstat: 512 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 2 Parse errors: Bad plan. You planned 12 tests but ran 1. t/Polyline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=1, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.06 cusr + 0.01 csys = 0.11 CPU) Result: FAIL Failed 2/2 test programs. 1/1 subtests failed. make: *** [test_dynamic] Error 2


Comment on Re^5: Installing modules
Select or Download Code
Re^6: Installing modules
by Khen1950fx (Canon) on Jan 29, 2012 at 03:19 UTC
    The tests fail for me too. What I do is this: First, make sure that you have libgd installed:
    /opt/ActivePerl-5.14/bin/cpan
    Then at the shell prompt:
    cpan> notest install GD
    Try that, then let me know what happens. I've a few tricks up my sleeve:).
      The first command doesn't find the file. It seems that ActivePerl is somewhere else.

      I can try "make install" on the GD thing, but since it says I probably shouldn't, I'm guessing that I probably shouldn't.

      The warnings when I run "make" mention that something is wrong with gdlib:
      ld: warning in /usr/lib/libpng.dylib, file is not of required architecture

      I did install it - it wasn't easy to find, but I found something on
      http://switch.dl.sourceforge.net/project/gmod/Generic%20Genome%20Browser/libgd-MacOSX/20100406/
      so I installed that. Maybe that wasn't good enough. Can I get gdlib from somewhere else?

      Also, the new version is only working for one user. I would like all users to be able to use it.

        You can get libgd here.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950538]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2014-09-18 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (124 votes), past polls