EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   question about perl (https://www.eqemulator.org/forums/showthread.php?t=29504)

eqemuross 09-10-2009 02:17 AM

question about perl
 
from my understanding:

you need perl5.10 to compile and perl5.8 to host a server?

is this correct?

i couldnt host a server when i had perl5.10 on my comp... but i read in the compile wiki you need perl5.10..

ChaosSlayerZ 09-10-2009 11:02 AM

I am pretty sure that Perl versions should be the same for both
I do not compile, I only host, but every time our Devs upgrade their compile version, I am unable to host the server with new Rev until I upgrade my Perl too.

Striat_eq 09-10-2009 01:16 PM

From the changelog:

Code:

==02/13/2009==
WildcardX: Compatibility for Perl 5.10. WIN32 compiles will still need to rename perl58.lib to perl510.lib.

in your CORE folder of perl (default: c:\perl\lib\CORE), you'll find perl58.lib. You can just copy the file and should be able to rename the copy perl510.lib

eqemuross 09-10-2009 02:46 PM

Quote:

Originally Posted by Striat_eq (Post 178250)
From the changelog:

Code:

==02/13/2009==
WildcardX: Compatibility for Perl 5.10. WIN32 compiles will still need to rename perl58.lib to perl510.lib.

in your CORE folder of perl (default: c:\perl\lib\CORE), you'll find perl58.lib. You can just copy the file and should be able to rename the copy perl510.lib


ohhh nice, i need to try this

Kaain 09-10-2009 04:04 PM

I'm a bit confused, but hopeful based on what I am reading.
Will this work if I have Perl 5.8 installed but sometimes do my own compiles if I want to update my server and db? I usually try to wait for the precompiled files from CaveDude - which use Perl 5.8. I have occasionally compiled my own binaries when there are big gaps between his - which need Perl 5.10 to work correctly. Perl has been the biggest headache for me by far.

Striat_eq 09-10-2009 04:40 PM

I use perl 5.8 and compile and run my server just fine using this version. Directions:
  1. Download your perl 5.8 and install it.
  2. Navigate to your CORE folder of perl (default: c:\perl\lib\CORE).
  3. Find perl58.lib.
  4. Make a copy of this file (so you now have perl58.lib and copy of perl58.lib).
  5. Rename the copy perl510.lib.
  6. Compile.
  7. Run eqemu with your new compile.

This should work for you. I don't see anything specific that would make this not work. Post if you have a problem.

eqemuross 09-10-2009 04:52 PM

I did all of that and still only get 1 successful 4 failed when I try to compile. This is just compiling the stock code as well and following the VS2008 guide to the "T".

Striat_eq 09-10-2009 04:58 PM

compiling
 
Quote:

Originally Posted by eqemuross (Post 178267)
I did all of that and still only get 1 successful 4 failed when I try to compile. This is just compiling the stock code as well and following the VS2008 guide to the "T".

What error are you getting and what type of OS? 64 or 32bit?

eqemuross 09-10-2009 05:07 PM

Quote:

Originally Posted by Striat_eq (Post 178268)
What error are you getting and what type of OS? 64 or 32bit?

Ah is the OS is an issue, I am on XP64bit... I thought I just had to make sure I was compiling in Win32. Does my OS have to be Win32.. if so, I'll load up my laptop.

Striat_eq 09-10-2009 05:15 PM

Quote:

Originally Posted by eqemuross (Post 178269)
Ah is the OS is an issue, I am on XP64bit... I thought I just had to make sure I was compiling in Win32. Does my OS have to be Win32.. if so, I'll load up my laptop.

I'm definitely not an expert on this;)

However, I can tell you that I had numerous issues with my xp-64. I followed the steps posted here on my xp-32 several months later, and I compiled with no problem. To be honest, I've never tried on the other machine again, but it could be an issue.

eqemuross 09-10-2009 05:32 PM

Quote:

Originally Posted by Striat_eq (Post 178270)
I'm definitely not an expert on this;)

However, I can tell you that I had numerous issues with my xp-64. I followed the steps posted here on my xp-32 several months later, and I compiled with no problem. To be honest, I've never tried on the other machine again, but it could be an issue.

I'll try it after I get some dinner and I will report back.

eqemuross 09-10-2009 05:39 PM

Also -- another noobie :( question. What happens upon a successful compile? Does it create new binaries for you, like the ones Caveman releases?

Striat_eq 09-10-2009 08:27 PM

Quote:

Originally Posted by eqemuross (Post 178272)
Also -- another noobie :( question. What happens upon a successful compile? Does it create new binaries for you, like the ones Caveman releases?

Well the project consists of world, zone, ucs (universal chat server), eqsharemem, and eqlaunch.

By default, world.exe, zone.exe, chatserver.exe, and eqsharemem.dll will be found in your build folder and eqlaunch.exe will be found in the eqlaunch folder.

eqemuross 09-10-2009 10:54 PM

it worked fine on my laptop lol. it definitely has to be on a win32 system.

Rabayn 09-11-2009 06:37 PM

I build it as a 32 bit app on x64 just fine. Just make sure the perl/mysql/zlib libraries you are building with are 32 bit versions.


All times are GMT -4. The time now is 08:52 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.