Your vendor has not defined SGI::FAM macro new

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

  1. #1

    Default Your vendor has not defined SGI::FAM macro new

    Hi,

    I have Perl 5.8.1 installed on a Fedora Core 1. I installed module SGI::FAM with:

    perl -MCPAN -e'shell'

    using the following commands:

    install Test::Helper
    install SGI::FAM

    Everything went ok (at least I did not see any error messages). The problem is that running for example:

    perl -e'use SGI::FAM; my $fam = new SGI::FAM;'

    returns error message:

    "Your vendor has not defined SGI::FAM macro new at -e line 1"

    What does this mean? How do I fix this?

    -mikko-
    Mikko Kortelainen Guest

  2. Similar Questions and Discussions

    1. Need a vendor of good AI/EPS map files
      Hello, Can anyone recommend a source of stock Illustrator files, especially good detailed US terrain maps? Need them as AI or EPS... FYI, this...
    2. Tamron sp 90 1:1 macro
      I like Tokina better as well, but the Tamron is nothing to sneeze at, should be just as sharp. Alex "Eyron" <odd1@rogers.com> wrote in message...
    3. call VBA macro from ASP
      Kamran Abadehee wrote on 12 jul 2003 in microsoft.public.inetserver.asp.general: A "macro" is part of a programme like MSWord or MSExcel. You...
    4. run query and macro
      I would like to create a command button on the form to run a query and macro (I have a query and macro already).How I do this ? What the VBA...
    5. How to test a hash of arrays for defined/not defined
      "Steve" <ineverlookatthis@yahoo.com> wrote in message news:f0d57f86.0306300420.403e83e7@posting.google.com... I think you want: $chosen =...
  3. #2

    Default Re: Your vendor has not defined SGI::FAM macro new


    On Feb 5, 2004, at 7:43 AM, [email]mikko.kortelainen@hut.fi[/email] wrote:

    Given that Fedora is not Irix, how exactly were
    you planning that integration?
    > Everything went ok (at least I did not see any error messages). The
    > problem is that running for example:
    >
    > perl -e'use SGI::FAM; my $fam = new SGI::FAM;'
    did you try say

    perl -MSGI::FAM -e 'my $fam = new SGI::FAM;'

    > returns error message:
    >
    > "Your vendor has not defined SGI::FAM macro new at -e line 1"
    <http://search.cpan.org/~jglick/SGI-FAM-1.002/lib/SGI/FAM.pm>

    indicates that it is suppose to be aware of it.

    while actually reading it
    <http://search.cpan.org/src/JGLICK/SGI-FAM-1.002/lib/SGI/FAM.pm>

    you will note that

    a. there is no 'new' in the perl code,
    b. hence it goes into the AutoLoader, but
    gets a response back that the 'new' construct is not found
    in the underlying XS code.

    HTH.

    ciao
    drieux

    ---

    Drieux Guest

  4. #3

    Default Re: Your vendor has not defined SGI::FAM macro new

    to, 2004-02-05 kello 20:13, drieux kirjoitti:
    > Given that Fedora is not Irix, how exactly were
    > you planning that integration?
    I don't actually know if it should or not. I've had it working with
    redhat 7.3 in the past, and assumed it would work with Fedora, too. I
    tried "man fam" and it gives me a page with "Silicon Graphics" as the
    author...
    > did you try say
    >
    > perl -MSGI::FAM -e 'my $fam = new SGI::FAM;'
    That one gives the same error.
    > <http://search.cpan.org/~jglick/SGI-FAM-1.002/lib/SGI/FAM.pm>
    >
    > indicates that it is suppose to be aware of it.
    I also copied the example code from
    <http://search.cpan.org/~jglick/SGI-FAM-1.002/lib/SGI/FAM.pm> and tried
    executing it from a file, but the result is still the same.
    > while actually reading it
    > <http://search.cpan.org/src/JGLICK/SGI-FAM-1.002/lib/SGI/FAM.pm>
    >
    > you will note that
    >
    > a. there is no 'new' in the perl code,
    > b. hence it goes into the AutoLoader, but
    > gets a response back that the 'new' construct is not found
    > in the underlying XS code.
    At line 120 I found "sub new {"... Isn't that supposed to handle it? I
    can't really tell, I don't know that much about the inner logic of perl
    modules...

    -mikko-


    Mikko Kortelainen Guest

  5. #4

    Default Re: Your vendor has not defined SGI::FAM macro new

    >
    > On Feb 5, 2004, at 7:43 AM, [email]mikko.kortelainen@hut.fi[/email] wrote:
    >
    > Given that Fedora is not Irix, how exactly were
    > you planning that integration?
    >
    Once upon a time SGI::FAM did work on linux, I have seen it. And fam
    does still run and is used at least by the gnome project. Having said
    that I have seen this error before, and never did solve the problem on
    Solaris or the Linux box I saw it on. I have not tried fedora, but
    aren't really surprised. I am wondering if this is just a backwards
    compatibility breakage wrt newer versions of fam. If I ever get to that
    promise land of having enough time to look at such things I was hoping
    to figure out what the deal was as fam is a pretty cool thing and having
    an interface to it would be nice.
    > > Everything went ok (at least I did not see any error messages). The
    > > problem is that running for example:
    > >
    > > perl -e'use SGI::FAM; my $fam = new SGI::FAM;'
    >
    > did you try say
    >
    > perl -MSGI::FAM -e 'my $fam = new SGI::FAM;'
    >
    >
    > > returns error message:
    > >
    > > "Your vendor has not defined SGI::FAM macro new at -e line 1"
    >
    > <http://search.cpan.org/~jglick/SGI-FAM-1.002/lib/SGI/FAM.pm>
    >
    > indicates that it is suppose to be aware of it.
    >
    > while actually reading it
    > <http://search.cpan.org/src/JGLICK/SGI-FAM-1.002/lib/SGI/FAM.pm>
    >
    > you will note that
    >
    > a. there is no 'new' in the perl code,
    > b. hence it goes into the AutoLoader, but
    > gets a response back that the 'new' construct is not found
    > in the underlying XS code.
    >
    Having noted that I failed to get it to work, I was able to write a
    reasonably similar daemon to fam in Perl using POE (see I can always
    make a message fit it somehow). You should check the archives for my
    previous posts on the SGI::FAM module (I would suggest using google's
    groups search). The actual file watching I didn't try to implement, but
    the drop box functionality was fairly easy to develop....

    [url]http://danconia.org[/url]


    Wiggins D Anconia 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