vbrtrmn has asked for the wisdom of the Perl Monks concerning the following question:

Good evening monks, please let me bother you with another question.

I am attempting and failing at getting Acrobat::FDF to work on my server. Their install instructions seem straight forward, but seem a bit out of date.

You're supposed to copy FDF.pm to /usr/lib/perl5/5.6.1/Acrobat/ and fdf.so to /usr/lib/perl5/5.6.1/i386-linux/auto/Acrobat/FDF/, easy enough. Too bad, when I try to use Acrobat::FDF I get:

Can't locate loadable object for module Acrobat::FDF in @INC (@INC con +tains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/ +perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/ +lib/perl5/site_perl .) at /usr/lib/perl5/5.6.1/Acrobat/FDF.pm line 72 +1 Compilation failed in require at libs.pl line 3. BEGIN failed--compilation aborted at libs.pl line 3.

Can anyone give me some insight as to how I'm messing up?

Thanks
--
paul

Replies are listed 'Best First'.
Re: Acrobat::FDF
by BrowserUk (Patriarch) on Nov 17, 2002 at 21:33 UTC

    I suspect that if you place fdf.so in

    /usr/lib/perl5/5.6.1/auto/Acrobat/FDF/

    as you put fdf.pm in /usr/lib/perl5/5.6.1/Acrobat/

    Or if you left fdf.so where it is and moved fdf.pm to

    /usr/lib/perl5/5.6.1/i386-linux/Acrobat/

    that might solve your problem.


    Okay you lot, get your wings on the left, halos on the right. It's one size fits all, and "No!", you can't have a different color.
    Pick up your cloud down the end and "Yes" if you get allocated a grey one they are a bit damp under foot, but someone has to get them.
    Get used to the wings fast cos its an 8 hour day...unless the Govenor calls for a cyclone or hurricane, in which case 16 hour shifts are mandatory.
    Just be grateful that you arrived just as the tornado season finished. Them buggers are real work.

      Each of those seem to return about the same results.

      Stupid Adobe


      --
      paul
Re: Acrobat::FDF
by PodMaster (Abbot) on Nov 18, 2002 at 08:08 UTC
    use ExtUtils::Installed; my ($inst) = ExtUtils::Installed->new(); print grep /auto/, $inst->directories("Acrobat::FDF");
    On my machine, and most default installs, all *.dll's should should go under $Config{sitearch}/auto/Distribution/Name, so Distrubution-Name can find it, or $Config{scriptdir}, so every perl module can find it.

    ____________________________________________________
    ** The Third rule of perl club is a statement of fact: pod is sexy.