Home > Archive > PERL Beginners > August 2005 > macperl installation module problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
macperl installation module problem
|
|
| Ben Crane 2005-08-04, 9:01 am |
| Hi all,
Just trying to install the macperl internetconfig
module on Windows 2000 and I have a curious problem.
When trying to convert my pl file to an exe it keeps
asking for a types.pm within macperl...the file
already exists with the mac\ folder under perl\lib? It
seems to be a catch-22. It wants me to install ANOTHER
(additional) copy of types.pm even though there is
already one present.
Anyone had any success with this particular problem?
The error says:
warning: Can't locate MacPerl.pm at
c:\perl\lib\mac\types.pm line 18
but Macperl and types.pm are present in the correct
folder.
Regards
Ben
________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
| |
|
| Hi Ben,
As far as I know you can only run MacPerl on pre-Mac OS X platform. In
Win 2000 OS, I believe you need to install Perl not MacPerl.
--Teresa
Ben Crane wrote:
> Hi all,
>
> Just trying to install the macperl internetconfig
> module on Windows 2000 and I have a curious problem.
> When trying to convert my pl file to an exe it keeps
> asking for a types.pm within macperl...the file
> already exists with the mac\ folder under perl\lib? It
> seems to be a catch-22. It wants me to install ANOTHER
> (additional) copy of types.pm even though there is
> already one present.
>
> Anyone had any success with this particular problem?
>
> The error says:
> warning: Can't locate MacPerl.pm at
> c:\perl\lib\mac\types.pm line 18
>
> but Macperl and types.pm are present in the correct
> folder.
>
> Regards
> Ben
>
> ________________________________________
__________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
| |
|
| Hi Ben,
I was wondering what the other platform is. If it is Mac OS, then I
believe that it will not install programs with a .exe extension. I
believe .exe programs are for Windows only. I am not sufficiently
knowledgeable to tell you whether a Perl program can run independantly
when packaged as a .exe program, if Perl is not installed on the Win
machine. Although if you have Perl included in the .exe install package,
it may deal with your problem.
If your Perl program is a .pl, .cgi, or .pm then as far as I know Perl
or MacPerl needs to be installed: Mac OS X has Perl already installed,
many Linux packages come with Perl already installed, for Windows you
may need to install Perl, for pre-Mac OS X a version of MacPerl is
necessary.
My only other thought is that you may be able to locate the type.pm
module on CPAN that is not for MacPerl but Perl.
HTH,
--Teresa
Ben Crane wrote:
> T R,
>
> Well, that puts me in an awkward situation. I can run
> my perl script on win2000 without any problems, but I
> need it to be executable to run independently on
> another no-perl server. Perl2exe has asked for this
> module to be included...so I'm just trying to get what
> perl2exe wants in order to get the script 2 exec.
>
> The perl2exe version is win ver.
>
> Any ideas?
>
> Ben
>
> ________________________________________
__________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
| |
| Ben Crane 2005-08-05, 8:59 am |
| T R,
Thanx for your advice...I have managed to get hold of
perl2exe creators and they have said that the
MacPerl.pm module isn't needed in my script and that
there is a special comment command that can exclude
unused modules...so at least there is a plan to deal
with this.
Thank you for your help though! Much appreciated
Ben
________________________________________
____________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
|
|
|
|
|