Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #16  
Old 04-12-2004, 04:15 AM
Astartae
Sarnak
 
Join Date: Nov 2002
Posts: 96
Default

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).
Reply With Quote
  #17  
Old 07-14-2004, 05:27 AM
Astartae
Sarnak
 
Join Date: Nov 2002
Posts: 96
Default

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:
Quote:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Documents and Settings\Astartae.ASTARTAELON>C:

C:\>cd games/perl/bin

C:\Games\Perl\bin>perl -MCPAN -e shell
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')

cpan> install IO::Scalar
CPAN: Storable loaded ok
Going to read \.cpan\Metadata
Database was generated on Mon, 05 Jul 2004 06:04:48 GMT
Running install for module IO::Scalar
Running make for E/ER/ERYQ/IO-stringy-2.109.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for \.cpan\sources\authors\id\E\ER\ERYQ\IO-stringy-2.109.tar.gz ok
Scanning cache \.cpan\build for sizes
Subroutine AUTOLOAD redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm line 84
.
Subroutine isaFilehandle redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm li
ne 99.
Subroutine isaFilename redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm line
108.
Subroutine gzopen redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm line 115.

Subroutine ParseParameters redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm
line 132.
Subroutine deflateInit redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm line
198.
Subroutine inflateInit redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm line
210.
Subroutine Compress::Zlib::deflateStream::deflateParams redefined at C:/Games/Pe
rl/site/lib/Compress/Zlib.pm line 220.
Subroutine compress redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm line 24
9.
Subroutine uncompress redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm line
280.
Constant subroutine Compress::Zlib::MAGIC1 redefined at C:/Games/Perl/lib/consta
nt.pm line 108.
Constant subroutine Compress::Zlib::MAGIC2 redefined at C:/Games/Perl/lib/consta
nt.pm line 108.
Constant subroutine Compress::Zlib::OSCODE redefined at C:/Games/Perl/lib/consta
nt.pm line 108.
Constant subroutine Compress::Zlib::FTEXT redefined at C:/Games/Perl/lib/constan
t.pm line 108.
Constant subroutine Compress::Zlib::FHCRC redefined at C:/Games/Perl/lib/constan
t.pm line 108.
Constant subroutine Compress::Zlib::FEXTRA redefined at C:/Games/Perl/lib/consta
nt.pm line 108.
Constant subroutine Compress::Zlib::FNAME redefined at C:/Games/Perl/lib/constan
t.pm line 108.
Constant subroutine Compress::Zlib::FCOMMENT redefined at C:/Games/Perl/lib/cons
tant.pm line 108.
Constant subroutine Compress::Zlib::NULL redefined at C:/Games/Perl/lib/constant
.pm line 108.
Constant subroutine Compress::Zlib::RESERVED redefined at C:/Games/Perl/lib/cons
tant.pm line 108.
Constant subroutine Compress::Zlib::MIN_HDR_SIZE redefined at C:/Games/Perl/lib/
constant.pm line 108.
Subroutine memGzip redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm line 319
.
Subroutine _removeGzipHeader redefined at C:/Games/Perl/site/lib/Compress/Zlib.p
m line 350.
Subroutine memGunzip redefined at C:/Games/Perl/site/lib/Compress/Zlib.pm line 4
09.
Subroutine Compress::Zlib::constant redefined at C:/Games/Perl/site/lib/Compress
/Zlib.pm line 94.
Subroutine Compress::Zlib::zlib_version redefined at C:/Games/Perl/site/lib/Comp
ress/Zlib.pm line 94.
Subroutine Compress::Zlib:ispStream redefined at C:/Games/Perl/site/lib/Compre
ss/Zlib.pm line 94.
Subroutine Compress::Zlib::gzopen_ redefined at C:/Games/Perl/site/lib/Compress/
Zlib.pm line 94.
Subroutine Compress::Zlib::gzdopen_ redefined at C:/Games/Perl/site/lib/Compress
/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzread redefined at C:/Games/Perl/site/lib/Co
mpress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzreadline redefined at C:/Games/Perl/site/li
b/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzwrite redefined at C:/Games/Perl/site/lib/C
ompress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzflush redefined at C:/Games/Perl/site/lib/C
ompress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzclose redefined at C:/Games/Perl/site/lib/C
ompress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzeof redefined at C:/Games/Perl/site/lib/Com
press/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzsetparams redefined at C:/Games/Perl/site/l
ib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile:ESTROY redefined at C:/Games/Perl/site/lib/C
ompress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzerror redefined at C:/Games/Perl/site/lib/C
ompress/Zlib.pm line 94.
Subroutine Compress::Zlib::adler32 redefined at C:/Games/Perl/site/lib/Compress/
Zlib.pm line 94.
Subroutine Compress::Zlib::crc32 redefined at C:/Games/Perl/site/lib/Compress/Zl
ib.pm line 94.
Subroutine Compress::Zlib::_deflateInit redefined at C:/Games/Perl/site/lib/Comp
ress/Zlib.pm line 94.
Subroutine Compress::Zlib::_inflateInit redefined at C:/Games/Perl/site/lib/Comp
ress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream:ispStream redefined at C:/Games/Perl/
site/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::deflate redefined at C:/Games/Perl/sit
e/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::flush redefined at C:/Games/Perl/site/
lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::_deflateParams redefined at C:/Games/P
erl/site/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::get_Level redefined at C:/Games/Perl/s
ite/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::get_Strategy redefined at C:/Games/Per
l/site/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream:ESTROY redefined at C:/Games/Perl/sit
e/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::dict_adler redefined at C:/Games/Perl/
site/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::total_in redefined at C:/Games/Perl/si
te/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::total_out redefined at C:/Games/Perl/s
ite/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::msg redefined at C:/Games/Perl/site/li
b/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream:ispStream redefined at C:/Games/Perl/
site/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::__unc_inflate redefined at C:/Games/Pe
rl/site/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::inflate redefined at C:/Games/Perl/sit
e/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::inflateSync redefined at C:/Games/Perl
/site/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream:ESTROY redefined at C:/Games/Perl/sit
e/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::dict_adler redefined at C:/Games/Perl/
site/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::total_in redefined at C:/Games/Perl/si
te/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::total_out redefined at C:/Games/Perl/s
ite/lib/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::msg redefined at C:/Games/Perl/site/li
b/Compress/Zlib.pm line 94.
CPAN: Archive::Tar loaded ok
IO-stringy-2.109/
IO-stringy-2.109/examples/
IO-stringy-2.109/examples/IO_Scalar_synopsis
IO-stringy-2.109/docs/
IO-stringy-2.109/docs/icons/
IO-stringy-2.109/docs/icons/h1bullet.gif
IO-stringy-2.109/docs/icons/zeegee.gif
IO-stringy-2.109/docs/icons/itembullet.gif
IO-stringy-2.109/docs/icons/h2bullet.gif
IO-stringy-2.109/docs/IO/
IO-stringy-2.109/docs/IO/icons/
IO-stringy-2.109/docs/IO/icons/zeegee.gif
IO-stringy-2.109/docs/IO/icons/h2bullet.gif
IO-stringy-2.109/docs/IO/icons/h1bullet.gif
IO-stringy-2.109/docs/IO/icons/itembullet.gif
IO-stringy-2.109/docs/IO/Lines.pm.html
IO-stringy-2.109/docs/IO/Stringy.pm.html
IO-stringy-2.109/docs/IO/WrapTie.pm.html
IO-stringy-2.109/docs/IO/InnerFile.pm.html
IO-stringy-2.109/docs/IO/Wrap.pm.html
IO-stringy-2.109/docs/IO/Scalar.pm.html
IO-stringy-2.109/docs/IO/AtomicFile.pm.html
IO-stringy-2.109/docs/IO/ScalarArray.pm.html
IO-stringy-2.109/docs/index-menu.html
IO-stringy-2.109/docs/IO_Scalar_synopsis.html
IO-stringy-2.109/docs/index.menu
IO-stringy-2.109/docs/index.html
IO-stringy-2.109/lib/
IO-stringy-2.109/lib/IO/
IO-stringy-2.109/lib/IO/Stringy.pm
IO-stringy-2.109/lib/IO/Scalar.pm.html
IO-stringy-2.109/lib/IO/AtomicFile.pm
IO-stringy-2.109/lib/IO/Scalar.pm
IO-stringy-2.109/lib/IO/Lines.pm
IO-stringy-2.109/lib/IO/ScalarArray.pm
IO-stringy-2.109/lib/IO/Wrap.pm
IO-stringy-2.109/lib/IO/InnerFile.pm
IO-stringy-2.109/lib/IO/WrapTie.pm
IO-stringy-2.109/t/
IO-stringy-2.109/t/two.t
IO-stringy-2.109/t/IO_ScalarArray.t
IO-stringy-2.109/t/simple.t
IO-stringy-2.109/t/ExtUtils/
IO-stringy-2.109/t/ExtUtils/TBone.pm
IO-stringy-2.109/t/IO_Scalar.t
IO-stringy-2.109/t/IO_Lines.t
IO-stringy-2.109/t/Common.pm
IO-stringy-2.109/t/IO_WrapTie.t
IO-stringy-2.109/COPYING
IO-stringy-2.109/contrib/
IO-stringy-2.109/contrib/Clever.pm
IO-stringy-2.109/MANIFEST
IO-stringy-2.109/README.system
IO-stringy-2.109/Makefile.PL
IO-stringy-2.109/README
Removing previously used \.cpan\build\IO-stringy-2.109

CPAN.pm: Going to build E/ER/ERYQ/IO-stringy-2.109.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for IO-stringy
-- OK
Running make test
'test' is not recognized as an internal or external command,
operable program or batch file.
test -- NOT OK
Running make install
make test had returned bad status, won't install without force

cpan> exit
Terminal does not support GetHistory.
Lockfile removed.

C:\Games\Perl\bin>perl -MIO::Scalar -e "print "Installed"

C:\Games\Perl\bin>
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...
Reply With Quote
  #18  
Old 07-14-2004, 07:56 AM
infragoblin
Fire Beetle
 
Join Date: Jul 2004
Posts: 7
Default

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.
Reply With Quote
  #19  
Old 07-14-2004, 08:04 AM
infragoblin
Fire Beetle
 
Join Date: Jul 2004
Posts: 7
Default

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
Reply With Quote
  #20  
Old 08-11-2004, 01:20 AM
Maldian
Sarnak
 
Join Date: Jun 2004
Location: Albany Ga USA
Posts: 65
Default 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....
Reply With Quote
  #21  
Old 08-11-2004, 10:02 AM
Sk8ordiek2k1
Sarnak
 
Join Date: Nov 2003
Posts: 75
Default

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?
Reply With Quote
  #22  
Old 08-11-2004, 10:14 AM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default

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.
Reply With Quote
  #23  
Old 08-11-2004, 12:19 PM
Sk8ordiek2k1
Sarnak
 
Join Date: Nov 2003
Posts: 75
Default

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?
Reply With Quote
  #24  
Old 08-11-2004, 04:18 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

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.
Reply With Quote
  #25  
Old 08-15-2004, 09:59 AM
hellfire99x
Fire Beetle
 
Join Date: Aug 2004
Posts: 5
Default

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:

Code:
C:\Perl\lib\IO
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...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:47 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3