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
  #1  
Old 02-23-2004, 04:04 AM
Conan
Hill Giant
 
Join Date: Oct 2003
Posts: 145
Default Anyone able to help?

A while back there was a forum that show how to setup and be able to compile with and with out perl and I cant seem to find that forum again. Anyone know where it is?

Thanks

Conan
__________________
Conan
Reply With Quote
  #2  
Old 02-23-2004, 08:10 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Here's one: http://www.eqemulator.net/forums/vie...highlight=perl
And the one that I used (that you are probably talking about) is gone or the thread has changed, so it is a good thing I saved it as txt so I would remember how LOL. Here it is :
Code:
Right now by default perl is not enabled when you compile. You will need to define EMBPERL for perl quests, and/or EMBPERL_PLUGIN for perl plugins (remember plugins require IO::Scalers) 

To create another build configuration with perl support in VC++6 
open the server (or zone) project 
menu-- build,configurations 
select zone-win32-Release and press add 
set the configuration name to Relase with Perl 
set copy configuration from zone-win32-Release 
menu-- build,set active configuration 
select zone-win32-Relase with Perl 
menu-- Project, settings 
Select c/c++ tab 
with the category pulldown reading General add ,EMBPERL,EMBPERL_PLUGIN to the end of the Preprocessor defines 
Change category to Preprocessor and put c:\perl\lib\core in the Additional include Directories 
select the link tab 
change the category to input and put c:\perl\lib\core in the Additional library path 
Close window 
menu-- project, add to project, files 
select zone\embparser.cpp make sure it has insert into: zone selected 
do the same for embperl.cpp embparser.h and embperl.h 

Now you can build a zone.exe with or without perl support. It will put the zone.exe with perl in a sub directory of the zone source. This is how I set it up so that it worked. If there is a "proper" way please let me know. 

If compiled with perl quest, all quests must be in perl format. the *.qst files will not be read!
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
  #3  
Old 02-23-2004, 10:30 AM
Daeath
Sarnak
 
Join Date: Feb 2004
Posts: 55
Default

That makes me wish I had C++ or VS so I could compile it... For those who are unfortunate and cannot do so ourselves, can anyone post a link to a precompiled 5.3DR3 binary with Perl enabled? Been trying forever to get one... Thanks a bunch!
Reply With Quote
  #4  
Old 02-23-2004, 11:32 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

There is are many free compilers you can use to do this very same thing, though the places to go and change things are going to be different... There is a thread on here on how to comile in Dev C++ (which is free also). Im sure if you put that in your search, you will find that thread...
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
  #5  
Old 02-23-2004, 11:36 AM
Tertiary
Hill Giant
 
Join Date: Nov 2003
Posts: 192
Default

Quote:
Originally Posted by samandhi
There is a thread on here on how to comile in Dev C++ (which is free also).
http://www.eqemulator.net/forums/viewtopic.php?t=12313

Though I have not tried this with 5.5DR1
Reply With Quote
  #6  
Old 02-23-2004, 03:56 PM
Daeath
Sarnak
 
Join Date: Feb 2004
Posts: 55
Default

Cool, got Dev/C++ and the instructions on how to compile EQEmu with it... now with Samandhi's post above for enabling Perl, is there any difference when compiling with Dev/C++ vs. VS6?
Reply With Quote
  #7  
Old 02-23-2004, 04:16 PM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Yes, and no.. The basic package is going to be the same, but you will have different menus and whatnot to add libraries and include files and set active projects, and so forth... I cant help with this, as I am not familiar with Dev C++...
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
  #8  
Old 02-24-2004, 01:36 AM
Mrwalsh
Sarnak
 
Join Date: Jan 2004
Location: Blue Ontario
Posts: 79
Default

Alrighties, after some searching, I decided to post this problem here.

I compiled exactly as instructed above, with the release from Shawn's site (yes, I know, unsupported, but maybe somebody has an idea what's going on).

I run the boot5zones.bat batch file, and everything goes smoothly until it gets to the perl part. Here is what it looks like:

Code:
[Status] Loading embedded perl
[Status] perl error: Perl runtime error: Can't locate Symbol.pm in @INC <@INC contains: .>  at <eval 3> line 1.
BEGIN failed--compilation aborted at <evail 3> line 1.

[Status] Error initializing perlembed: failed to install eval_file hook
[Status] Fatal error initializing perl: failed to install eval_file hook
After that, the Windows pop-up error window shows, saying it's encountered a problem and needs to close. The Offset listed in the error report that it gives me is 00070a73, if that helps.

As a side note, it compiled without any errors whatsoever. Could it be a file it's trying to find that it isn't finding?
__________________
Blue Ontario...RIP.

But hey, I'm back, finally!
Reply With Quote
  #9  
Old 02-24-2004, 02:09 AM
Mrwalsh
Sarnak
 
Join Date: Jan 2004
Location: Blue Ontario
Posts: 79
Default

Ooo nevermind, I may have fixed it.

I've fixed that part at least. On to the next problem! (Wish me luck!)
__________________
Blue Ontario...RIP.

But hey, I'm back, finally!
Reply With Quote
  #10  
Old 02-24-2004, 04:13 AM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

Are you sure you've installed Perl, and if so the IO::Scalar?
__________________

kRPG Profile
Reply With Quote
  #11  
Old 02-24-2004, 11:14 PM
Mrwalsh
Sarnak
 
Join Date: Jan 2004
Location: Blue Ontario
Posts: 79
Default

Yes, Perl and IO::Scalar was installed, and correctly, since I did the check ('Installed' whatever, from the tutorial) and it was working from before when I ran the server a while back.

What I did was reran the install IO::Scalar command, which updated a couple things from what I saw. May have accidently gotten deleted, I don't know. But it's fixed, and my server works now, with Perl. Thank you though.
__________________
Blue Ontario...RIP.

But hey, I'm back, finally!
Reply With Quote
  #12  
Old 02-24-2004, 11:26 PM
Monrezz's Avatar
Monrezz
Dragon
 
Join Date: Mar 2003
Location: #loc
Posts: 745
Default

No problem, glad I could help.
__________________

kRPG Profile
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 09:29 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3