|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days. |
04-12-2004, 04:15 AM
|
Sarnak
|
|
Join Date: Nov 2002
Posts: 96
|
|
LOL, well, don't know what I did different but I tried it again and it worked this time, so disregard the last post (unless you see an error you want to post about - might be useful to understand the errors of my ways).
|
07-14-2004, 05:27 AM
|
Sarnak
|
|
Join Date: Nov 2002
Posts: 96
|
|
God, it's been three months and I'm messing with this stuff again...
Everything seems to be working right except when installing IO::Scalar it gives me an error. This is an exact printout of my actions:
Then I get this error when loading load5zones.bat:
Quote:
[Status] Loading embedded perl
[Status] Error initializing perlembed: failed to install plugin printhook, do yo
u lack IO::Scalar?
[Status] Fatal error initializing perl: failed to install plugin printhook, do y
ou lack IO::Scalar?
|
Any ideas on what I'm doing wrong? I've made sure I don't have any other versions of perl on my machine (I had an older one and deleted it). I reinstalled IO::Scalar a few times to make sure that was not the problem (deleted the .cpan folder and started from scratch.
Could it be a problem with where I have the perl folder located? the .cpan folder is in C://.cpan and the perl folder is in C://games/perl.
Thanks for any help ahead of time...
|
|
|
|
|
|
|
07-14-2004, 07:56 AM
|
Fire Beetle
|
|
Join Date: Jul 2004
Posts: 7
|
|
The problem most of us were having is the location of nmake
find the C:\Perl\lib\CPAN\CPAN.pm
Code:
# This is CPAN.pm's systemwide configuration file. This file provides
# defaults for users, and the values can be changed in a per-user
# configuration file. The user-config file is being looked for as
# ~/.cpan/CPAN/MyConfig.pm.
$CPAN::Config = {
'build_cache' => q[10],
'build_dir' => q[\.cpan\build],
'cache_metadata' => q[1],
'cpan_home' => q[\.cpan],
'ftp' => q[C:\WINDOWS\system32\ftp.EXE],
'ftp_proxy' => q[],
'getcwd' => q[cwd],
'gpg' => q[],
'gzip' => q[],
'histfile' => q[\.cpan\histfile],
'histsize' => q[100],
'http_proxy' => q[],
'inactivity_timeout' => q[0],
'index_expire' => q[1],
'inhibit_startup_message' => q[0],
'keep_source_where' => q[\.cpan\sources],
'lynx' => q[],
'make' => q[C:\Program Files\Microsoft Visual Studio\VC98\bin\nmake.EXE],
'make_arg' => q[],
'make_install_arg' => q[],
'makepl_arg' => q[],
'ncftp' => q[],
'ncftpget' => q[],
'no_proxy' => q[],
'pager' => q[C:\WINDOWS\system32\more.COM],
'prerequisites_policy' => q[ask],
'scan_cache' => q[atstart],
'shell' => q[],
'tar' => q[],
'term_is_latin' => q[1],
'unzip' => q[],
'urllist' => [],
'wget' => q[],
};
1;
__END__
notce the the line >>> 'make' => q[C:\Program Files\Microsoft Visual Studio\VC98\bin\nmake.EXE],
change this line to 'c:\perl\bin\nmake.exe' and make sure the 'nmake.exe' is there. of course if your perl path is not c:\perl, change it to your perl path.
this version of perl does not like the long name format (C:\program files\), so make sure, if your path does have long names, to use single quotes (').
this file is automatically created the first time you goto the CPAN shell , becuase it has an auto configure feature which you can use or not.
|
|
|
|
07-14-2004, 08:04 AM
|
Fire Beetle
|
|
Join Date: Jul 2004
Posts: 7
|
|
Quote:
D:\Perl\bin>perl -mcpan -e shell
D:\Perl\bin>install IO:Scalar
'install' is not recognized as an internal or external command,
operable program or batch file.
|
you have to type 'install IO::Scalar '
inside the cpan shell
the prompt should look like this
Code:
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
cpan>
cpan>install IO::Scalar
if you cannot get the cpan prompt try restarting, or uninstall and reinstall perl
oh and its IO::Scalar not IO:Scaler
|
08-11-2004, 01:20 AM
|
Sarnak
|
|
Join Date: Jun 2004
Location: Albany Ga USA
Posts: 65
|
|
NOTE - Don't forget this if you are having trouble
Quote:
Installing IO::Scalar
If you don't already have it, download nmake.exe (save with .exe extension). Copy it into your perl\bin directory. Then type the following in a DOS window:
|
Not the parenthesis.... save with the .exe extension! I worked on this and had the same errors over and over.... then slapped myself cause I forgot this one measely step. I was just right clicking on the link and saving as. Didn't realize the file was NOT an executable. Once I went back and saved as nmake.exe and ran the rest of the installation... IT WORKED! Go figure...
Anyways, leaving the helpful tip of READING carefully on the instructions. Don't assume anything....
|
08-11-2004, 10:02 AM
|
Sarnak
|
|
Join Date: Nov 2003
Posts: 75
|
|
Im having this same issue as well, I followed the guide exactly (yes i saved Nmake with .exe extension, yes i restarted after i installed perl .. ect) has anybody found a solution to this?
__________________
Where am i going and why am i in this handbasket?
|
08-11-2004, 10:14 AM
|
Old-EQEmu Developer
|
|
Join Date: Oct 2002
Location: Spain
Posts: 323
|
|
as I know,you only need IO::Scalar for plugins,you can run perl quests without it.Just dont compile deffining the scalar thing before.
|
08-11-2004, 12:19 PM
|
Sarnak
|
|
Join Date: Nov 2003
Posts: 75
|
|
i tried running it without the IO::Scalar installed and got this...
Quote:
[Status] Fatal error initializing perl: failed to install plugin printhook, do you lack IO::Scalar?
|
is there a different version of perl i can install that wont force me to use IO::Scalar or can i turn it off or what?
__________________
Where am i going and why am i in this handbasket?
|
|
|
|
08-11-2004, 04:18 PM
|
Demi-God
|
|
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
|
|
Quote:
Originally Posted by infragoblin
Quote:
D:\Perl\bin>perl -mcpan -e shell
D:\Perl\bin>install IO:Scalar
'install' is not recognized as an internal or external command,
operable program or batch file.
|
you have to type 'install IO::Scalar '
inside the cpan shell
the prompt should look like this
Code:
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
cpan>
cpan>install IO::Scalar
if you cannot get the cpan prompt try restarting, or uninstall and reinstall perl
oh and its IO::Scalar not IO:Scaler
|
I had the same exact problem as
Quote:
D:\Perl\bin>perl -mcpan -e shell
D:\Perl\bin>install IO:Scalar
'install' is not recognized as an internal or external command,
operable program or batch file.
|
What the problem is, is MCPAN is CAPTIAL not lowercase. If its not capital you wont get the cpan> shell and the install command wont work.
Good luck.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
|
|
|
|
|
|
|
08-15-2004, 09:59 AM
|
Fire Beetle
|
|
Join Date: Aug 2004
Posts: 5
|
|
What I wound up doing, was typing "install IO::Scalar", then letting it run through until it errored out saying that it couldn't find the file '@' (I guess @ was supposed to be used as an "echo off" character or something)... then in Windows Explorer, I went into this directory:
Code:
C:\.cpan\build\IO-stringy-2.109\lib\IO
I copied the following files:
Code:
Scalar.pm
Scalar.pm.html
ScalarArray.pm
WrapTie.pm
Into the following directory:
Kind of a roundabout way of doing it, but I verified that it worked by typing in the following command at a DOS prompt:
Code:
perl -MIO::Scalar -e "print 'Installed'"
If it prints out the word "Installed" after you input that command, then IO::Scalar is installed.
Also note that you may have to go back into Perl ( perl -MCPAN -e shell) and type in ' reload index' (minus the quotes) in order for it to recognize the copied files. That's an extra step that I took before testing it... I'm not sure if it's 100% necessary to get it to recognize Scalar, but, I don't really feel like messing around with Perl anymore to try to find out.
Now I just need to find that missing plugin.pl file...
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 01:47 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|