Ask a Question related to PERL Beginners, Design and Development.
-
Mikko Kortelainen #1
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
-
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... -
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... -
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... -
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... -
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 =... -
Drieux #2
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?
did you try say> 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;'
perl -MSGI::FAM -e 'my $fam = new SGI::FAM;'
<http://search.cpan.org/~jglick/SGI-FAM-1.002/lib/SGI/FAM.pm>> returns error message:
>
> "Your vendor has not defined SGI::FAM macro new at -e line 1"
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
-
Mikko Kortelainen #3
Re: Your vendor has not defined SGI::FAM macro new
to, 2004-02-05 kello 20:13, drieux kirjoitti:
I don't actually know if it should or not. I've had it working with> Given that Fedora is not Irix, how exactly were
> you planning that integration?
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...
That one gives the same error.> did you try say
>
> perl -MSGI::FAM -e 'my $fam = new SGI::FAM;'
I also copied the example code from> <http://search.cpan.org/~jglick/SGI-FAM-1.002/lib/SGI/FAM.pm>
>
> indicates that it is suppose to be aware of it.
<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.
At line 120 I found "sub new {"... Isn't that supposed to handle it? I> 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.
can't really tell, I don't know that much about the inner logic of perl
modules...
-mikko-
Mikko Kortelainen Guest
-
Wiggins D Anconia #4
Re: Your vendor has not defined SGI::FAM macro new
>
Once upon a time SGI::FAM did work on linux, I have seen it. And fam> 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?
>
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.
Having noted that I failed to get it to work, I was able to write a>> > 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.
>
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



Reply With Quote

