Professional Web Applications Themes

Image::EXIF fails make test - PERL Modules

I try to install Image::EXIF via CPAN but it fails during "make test". This is the output I get after the compilation (which succeds without a single warning): ---------------------------------------------------------------------- Running make test PERL_DL_NONLAZY=1 /usr/pkg/bin/perl -Iblib/arch -Iblib/lib -I/usr/pkg/lib/perl5/5.6.1/i386-netbsd -I/usr/pkg/lib/perl5/5.6.1 test.pl 1..1 Can't load 'blib/arch/auto/Image/EXIF/EXIF.so' for module Image::EXIF: /root/.cpan/build/Image-EXIF-0.98.3/blib/arch/auto/Image/EXIF/EXIF.so: Undefined PLT symbol "gpsprop" (symnum = 150) at /usr/pkg/lib/perl5/5.6.1/i386-netbsd/DynaLoader.pm line 206. at test.pl line 10 Compilation failed in require at test.pl line 10. BEGIN failed--compilation aborted at test.pl line 10. *** Error code 255 Stop. make: stopped in /root/.cpan/build/Image-EXIF-0.98.3 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, ...

  1. #1

    Default Image::EXIF fails make test

    I try to install Image::EXIF via CPAN but it fails during "make test".
    This is the output I get after the compilation (which succeds without
    a single warning):

    ----------------------------------------------------------------------
    Running make test
    PERL_DL_NONLAZY=1 /usr/pkg/bin/perl -Iblib/arch -Iblib/lib
    -I/usr/pkg/lib/perl5/5.6.1/i386-netbsd -I/usr/pkg/lib/perl5/5.6.1
    test.pl
    1..1
    Can't load 'blib/arch/auto/Image/EXIF/EXIF.so' for module Image::EXIF:
    /root/.cpan/build/Image-EXIF-0.98.3/blib/arch/auto/Image/EXIF/EXIF.so:
    Undefined PLT symbol "gpsprop" (symnum = 150) at
    /usr/pkg/lib/perl5/5.6.1/i386-netbsd/DynaLoader.pm line 206.
    at test.pl line 10
    Compilation failed in require at test.pl line 10.
    BEGIN failed--compilation aborted at test.pl line 10.
    *** Error code 255

    Stop.
    make: stopped in /root/.cpan/build/Image-EXIF-0.98.3
    /usr/bin/make test -- NOT OK
    Running make install
    make test had returned bad status, won't install without force
    ----------------------------------------------------------------------

    Could there be any dependencies I'm unaware of?

    How would I go by installing it using "force" and would that
    be very stupid of me? :-)


    --
    boran
    Boran Guest

  2. #2

    Default Re: Image::EXIF fails make test

    Boran wrote:
    > Can't load 'blib/arch/auto/Image/EXIF/EXIF.so' for module Image::EXIF:
    > /root/.cpan/build/Image-EXIF-0.98.3/blib/arch/auto/Image/EXIF/EXIF.so:
    > Undefined PLT symbol "gpsprop" (symnum = 150) at
    > /usr/pkg/lib/perl5/5.6.1/i386-netbsd/DynaLoader.pm line 206.
    > at test.pl line 10
    > Compilation failed in require at test.pl line 10.
    > BEGIN failed--compilation aborted at test.pl line 10.
    > *** Error code 255
    >
    > Stop.
    > make: stopped in /root/.cpan/build/Image-EXIF-0.98.3
    > /usr/bin/make test -- NOT OK
    > Running make install
    > make test had returned bad status, won't install without force
    > ----------------------------------------------------------------------
    >
    > Could there be any dependencies I'm unaware of?
    There's certainly something that can't be found that's needed for
    EXIF.so to load successfully.
    The README suggests that you might need 'exiftags' available from:
    [url]http://johnst.org/sw/exiftags/[/url]

    Cheers,
    Rob

    --
    To reply by email u have to take out the u in kalinaubears.

    Sisyphus Guest

  3. #3

    Default Re: Image::EXIF fails make test

    Sisyphus <kalinaubearsiinet.net.au> wrote:
    > Boran wrote:
    >> Can't load 'blib/arch/auto/Image/EXIF/EXIF.so' for module Image::EXIF:
    >> /root/.cpan/build/Image-EXIF-0.98.3/blib/arch/auto/Image/EXIF/EXIF.so:
    >> Undefined PLT symbol "gpsprop" (symnum = 150) at
    >> /usr/pkg/lib/perl5/5.6.1/i386-netbsd/DynaLoader.pm line 206.
    [ snip ]
    > There's certainly something that can't be found that's needed for
    > EXIF.so to load successfully.
    > The README suggests that you might need 'exiftags' available from:
    > [url]http://johnst.org/sw/exiftags/[/url]
    I have installed it separately and since I can't get Image::EXIF, that
    is what I use instead. I wanted to write my program without calling
    external programs, but it really doesn't matter other than it would
    feel nicer.

    What I haven't told you is that I'm running an non-stable NetBSD
    version which might be the cause of my problems. I give up for now.
    :-)

    Thank you the help!!


    --
    boran
    Boran Guest

  4. #4

    Default Re: Image::EXIF fails make test

    Boran wrote:
    > Sisyphus <kalinaubearsiinet.net.au> wrote:
    >
    >>Boran wrote:
    >
    >
    >>>Can't load 'blib/arch/auto/Image/EXIF/EXIF.so' for module Image::EXIF:
    >>>/root/.cpan/build/Image-EXIF-0.98.3/blib/arch/auto/Image/EXIF/EXIF.so:
    >>>Undefined PLT symbol "gpsprop" (symnum = 150) at
    >>>/usr/pkg/lib/perl5/5.6.1/i386-netbsd/DynaLoader.pm line 206.
    >
    > [ snip ]
    >
    >>There's certainly something that can't be found that's needed for
    >>EXIF.so to load successfully.
    >>The README suggests that you might need 'exiftags' available from:
    >>[url]http://johnst.org/sw/exiftags/[/url]
    >
    >
    > I have installed it separately and since I can't get Image::EXIF, that
    > is what I use instead. I wanted to write my program without calling
    > external programs, but it really doesn't matter other than it would
    > feel nicer.
    >
    > What I haven't told you is that I'm running an non-stable NetBSD
    > version which might be the cause of my problems. I give up for now.
    > :-)
    >
    Presumably 'exiftags' contains a shared lib (.so) that Image::EXIF needs
    to access. And perhaps that 'exiftags' shared lib is simply not being
    found. The solution might be as simple as setting an environment
    variable, or relocating the shared lib ..... but I struggle to
    understand the operating systems I *do* use, let alone the ones I don't :-)

    Cheers,
    Rob

    --
    To reply by email u have to take out the u in kalinaubears.

    Sisyphus Guest

  5. #5

    Default Re: Image::EXIF fails make test

    Sisyphus <kalinaubearsiinet.net.au> wrote:
    > Boran wrote:
    >> What I haven't told you is that I'm running an non-stable NetBSD
    >> version which might be the cause of my problems. I give up for now.
    >> :-)
    > Presumably 'exiftags' contains a shared lib (.so) that Image::EXIF needs
    > to access. And perhaps that 'exiftags' shared lib is simply not being
    > found. The solution might be as simple as setting an environment
    > variable, or relocating the shared lib ..... but I struggle to
    > understand the operating systems I *do* use, let alone the ones I don't :-)
    I also like to understand the operating systems I use, but I think it's
    wise to use a workaround if the searching takes too much time from the
    actual work needed to be done.

    I don't think I lack the basic knowledge of my operating systems in
    general, but I'm not too confident in solving problems related to
    installing modules via the CPAN shell.

    My next step will be to learn more about the CPAN shell. Mayby the
    equivalent of "make clean && make update" on all installed modules
    would do the trick.

    The program exiftags works like a charm and all it's libraries are found
    in /usr/lib where they are supposed to be. The user environment is aware
    of this.

    Thank you once more for your help.


    --
    boran
    Boran Guest

  6. #6

    Default Re: Image::EXIF fails make test

    Boran <boranvmlinux.org> wrote in message news:<btco36$5q8s3$1ID-171956.news.uni-berlin.de>...
    > I try to install Image::EXIF via CPAN but it fails during "make test".
    Why do you need Image::EXIF?
    All EXIF informations may also be extracted with Image::Info.
    > Could there be any dependencies I'm unaware of?
    Image::Info has no dependencies to any libraries.

    Regards
    Martin

    see also:
    Mapivi - free image viewer with EXIF support written in Perl/Tk
    [url]http://mapivi.de.vu[/url]
    Martin Herrmann Guest

  7. #7

    Default Re: Image::EXIF fails make test

    Martin Herrmann <mrh1gmx.net> wrote:
    > Boran <boranvmlinux.org> wrote in message news:<btco36$5q8s3$1ID-171956.news.uni-berlin.de>...
    >> I try to install Image::EXIF via CPAN but it fails during "make test".
    > Why do you need Image::EXIF?
    > All EXIF informations may also be extracted with Image::Info.
    I didn't know this. I'll try and install that one instead.
    >> Could there be any dependencies I'm unaware of?
    > Image::Info has no dependencies to any libraries.
    Mayby it's of no great importance really, but I must say that the
    independence of external programs is what makes me want to run CPAN-
    modules in the first place. I prefer Image::Info over Image::EXIF
    based only on that.



    --
    boran
    Boran Guest

  8. #8

    Default Re: Image::EXIF fails make test

    Quick question: I'm also trying to get info from JPEG and RAM EXIF info. In
    looking at CPAN image::Info, I see that it ps the EXIF info from JPEG
    but from what I can tell, it does not expose those variables. Will it
    expose creation date etc.?

    Thanks.

    -Ed

    "Boran" <boranvmlinux.org> wrote in message
    news:bulgkg$jbd5n$1ID-171956.news.uni-berlin.de...
    > Martin Herrmann <mrh1gmx.net> wrote:
    > > Boran <boranvmlinux.org> wrote in message
    news:<btco36$5q8s3$1ID-171956.news.uni-berlin.de>...
    >
    > >> I try to install Image::EXIF via CPAN but it fails during "make test".
    > > Why do you need Image::EXIF?
    > > All EXIF informations may also be extracted with Image::Info.
    >
    > I didn't know this. I'll try and install that one instead.
    >
    > >> Could there be any dependencies I'm unaware of?
    > > Image::Info has no dependencies to any libraries.
    >
    > Mayby it's of no great importance really, but I must say that the
    > independence of external programs is what makes me want to run CPAN-
    > modules in the first place. I prefer Image::Info over Image::EXIF
    > based only on that.
    >
    >
    >
    > --
    > boran

    Ed Landau Guest

  9. #9

    Default Re: Image::EXIF fails make test

    (please don't top-post - edit appropriately the message to which you
    are responding, and write your own content below the original -- or
    when commenting to multiple sections of the original message,
    intermixed with relevant parts of the original)

    "Ed Landau" <aunst8_2000> said:
    >Quick question: I'm also trying to get info from JPEG and RAM EXIF info. In
    >looking at CPAN image::Info, I see that it ps the EXIF info from JPEG
    >but from what I can tell, it does not expose those variables. Will it
    >expose creation date etc.?
    Apparently you're looking for something like:

    #! /usr/bin/perl -w
    use strict;

    use Image::Info qw/image_info/;

    my $info=image_info("filename.jpg");

    print $info->{DateTime},"\n";

    --
    Wolf a.k.a. Juha Laiho Espoo, Finland
    (GC 3.0) GIT d- s+: a C++ ULSH++++$ P++ L+++ E- W+$ N++ !K w !O !M V
    PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
    "...cancel my subscription to the resurrection!" (Jim Morrison)
    Juha Laiho Guest

  10. #10

    Default Re: Image::EXIF fails make test

    > "Ed Landau" <aunst8_2000> said:
    > >Quick question: I'm also trying to get info from JPEG and RAM EXIF info.
    In
    > >looking at CPAN image::Info, I see that it ps the EXIF info from JPEG
    > >but from what I can tell, it does not expose those variables. Will it
    > >expose creation date etc.?
    >
    > Apparently you're looking for something like:
    > #! /usr/bin/perl -w
    > use strict;
    > use Image::Info qw/image_info/;
    > my $info=image_info("filename.jpg");
    > print $info->{DateTime},"\n";
    > Wolf a.k.a. Juha Laiho Espoo, Finland

    Thanks Juha: Do you know of a module which will also p the EXIF info
    from RAW images such as those that my Canon Digital SLR writes?

    Thanks.

    -Ed
    P.S. Why don't you like top-posting? It saves scrolling :)


    Ed Landau Guest

  11. #11

    Default Re: Image::EXIF fails make test

    Ed Landau <aunst8_2000> wrote:
    > P.S. Why don't you like top-posting? It saves scrolling :)
    A. No.
    Q. Does top-posting make sense?

    ;-)







    --
    boran
    Boran Guest

  12. #12

    Default Re: Image::EXIF fails make test

    "Ed Landau" <aunst8_2000> said:
    >Do you know of a module which will also p the EXIF info
    >from RAW images such as those that my Canon Digital SLR writes?
    I have no idea what the image format there would be like; I have
    a Canon 35mm SLR myself, and have been looking at the digital SLRs
    for a while now, but haven't been able to afford one yet (not even
    with the current prices).
    >P.S. Why don't you like top-posting? It saves scrolling :)
    This traditional way of formatting messages keeps typically discussion
    context better together. So, easier for someone to start reading in
    mid-thread, and also easier for myself so that I don't need to memorize
    what the discussion was - by reading the message I pretty much get the
    relevant context in an order that is sensible to read.

    Also keeping messages in sensible lengths works better this way. Now,
    for example, if someone with more topical information on the Canon RAW
    format and especially processing it with Perl, writes a followup to this
    message, it'll be easy for him to just snip off all this text about
    posting styles. So, for someone reading just that article, the article
    will be "100% content".
    --
    Wolf a.k.a. Juha Laiho Espoo, Finland
    (GC 3.0) GIT d- s+: a C++ ULSH++++$ P++ L+++ E- W+$ N++ !K w !O !M V
    PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
    "...cancel my subscription to the resurrection!" (Jim Morrison)
    Juha Laiho Guest

Similar Threads

  1. make test fails for XML::PR
    By jguad98@hotmail.com in forum PERL Modules
    Replies: 1
    Last Post: August 26th, 09:29 AM
  2. DBD::ODBC make test fails in HPUX11.11
    By U R in forum PERL Modules
    Replies: 0
    Last Post: July 21st, 11:58 AM
  3. make test fails for HTML::Tree
    By Jon Clare in forum PERL Modules
    Replies: 0
    Last Post: September 26th, 07:26 AM
  4. Replies: 0
    Last Post: September 24th, 02:30 AM
  5. make test fails for IO::Interface
    By Dan in forum PERL Modules
    Replies: 0
    Last Post: August 4th, 07:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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