Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2011, 01:38 PM
Fulcrum
Sarnak
 
Join Date: Sep 2010
Location: EC Tunnel
Posts: 81
Default

Quote:
Originally Posted by Overlord_Manny View Post
Here's what I'm working with:

I have an up-to-date Arch linux install on a headless file server.

gcc = 4.5.2
Perl = 5.12.2
mysql = 14.14

I had no problems compiling world and libEMuShareMem.so

But I come up with many issues compiling zone here is my error log...

I have no clue about programming so I don't know what other info I can give... I'd be perfectly fine with precompiled binaries but haven't found any.
Might have changed since I compiled my last server, but the Perl version I used was 5.10.*
Once I got it, everything went smoothly.

Be sure when you uninstall 5.12.*, you go through the whole deal, remove everything... and even delete the old perl folder manually before trying a reinstall.
This should be enough for most people, but there have been a few that might have had problems with leftovers from the 5.12.* installation.
Reply With Quote
  #2  
Old 01-19-2011, 05:04 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

From a quick 'google' this appears to be due to some changes in G++ 4.5. You need to remove ::pair from lines 1404 and 1427, i.e.
Code:
Index: tradeskills.cpp
===================================================================
--- tradeskills.cpp     (revision 1832)
+++ tradeskills.cpp     (working copy)
@@ -1401,7 +1401,7 @@
                }*/
                uint32 item = (uint32)atoi(row[0]);
                uint8 num = (uint8) atoi(row[1]);
-               spec->onsuccess.push_back(pair<uint32,uint8>::pair(item, num));
+               spec->onsuccess.push_back(pair<uint32,uint8>(item, num));
        }
        mysql_free_result(result);

@@ -1424,7 +1424,7 @@
                        }*/
                        uint32 item = (uint32)atoi(row[0]);
                        uint8 num = (uint8) atoi(row[1]);
-                       spec->onfail.push_back(pair<uint32,uint8>::pair(item, num));
+                       spec->onfail.push_back(pair<uint32,uint8>(item, num));
                }
                mysql_free_result(result);
        }
That is a 'diff', but essentially, open tradeskills.cpp with an editor, go to lines 1404, remove ::pair, and then do the same on line 1427.

All the other 'warnings' can be safely ignored.

Last edited by Derision; 01-19-2011 at 05:14 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

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