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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #17  
Old 10-04-2006, 08:49 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

I am following your guide to try to get the emu installed on gentoo 2006.1. The problem I was having when I tried to compile was that gentoo 2006.1 uses gcc 4.1.1. After much searching I found out that you can run an earlier version of gcc parallel to gcc 4.1.1 and switch between them when you need to. Here is how I did it for those that are having the same issue:

-First get gcc-3.4.6-r1...

emerge -av =sys-devel/gcc-3.4.6-r1

-After that is done you need to tell gentoo to use gcc 3.4.6-r1 as the default compiler, do this by using gcc-config.

-Type gcc --v to see what version of gcc you are running, more than likely this will spew out gcc 4.1.1

-Type gcc-config -l to list all the versions of gcc on your system.

-Type gcc-config # where # = the number that corresponds to the version of gcc that you want to use. In my case 3.4.6-r1 was number 1 on the list. So I typed:

gcc-config 1

-Type source /etc/profile

-Type gcc --v and it should show gcc 3.4.6-r1 rather than gcc 4.1.1

run make

when you are done compiling eqemu you probably want to switch back to gcc 4.1.1 as your default copiler so type:

type gcc-config -l to find out what number gcc 4.1.1 is on the list, in my case it was number 6.

type gcc-config 6

type source /etc/profile

type gcc --v to verify that it says gcc 4.1.1

Thats it, now you can switch between the two whenever you need to compile new eqemu source code.

Now that I got it compiled I just gotta figure out how to finish the server and get it up and running!
Reply With Quote
 


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