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 10-09-2006, 01:52 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

John Adams,

Note that my guide is written for gentoo, I am not sure if it will work for fedora core 5. Though I did read somewhere that after gcc 3.4 you should be able to use gcc-config to switch between versions. Just don't know how you would install it in parallel on fedora core 5. In gentoo you just emerge it which is pretty much the same thing as yum in fedora/red hat.

Last edited by cubber; 10-09-2006 at 09:56 AM..
Reply With Quote
  #2  
Old 10-09-2006, 02:03 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Yeah cubber, the two systems are different enough that I could not use your guide very much. There was no gcc-config (not found). So maybe there was more wrong with my setup than just a wrong version of gcc.

Thanks tho.
Reply With Quote
  #3  
Old 10-09-2006, 04:23 AM
bobbydole
Fire Beetle
 
Join Date: Jul 2006
Posts: 26
Default

it'd probably be easier and faster to remove the extra qualifiers in the header files. It only takes about 5 minutes or so.
Reply With Quote
  #4  
Old 10-09-2006, 04:48 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

True, but wouldn't that have to be done on each source release? I'd like to stay as close to release as possible... so when something is wrong, I do not think it's something I did.
Reply With Quote
  #5  
Old 10-09-2006, 05:47 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

I tried removing the qualifiers before I found out how to toggle between the 2 versions of gcc. Even after removing all of the extra qualifiers there were still errors that I could not resolve to get things to compile.

My advice would be to get rid of fedora core and go with gentoo.. thats what I did and will never look back, gentoo is sooooo much faster than fedora core.
Reply With Quote
  #6  
Old 10-09-2006, 07:51 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

I may just do that. So far, this has not been a pleasant experience.
Reply With Quote
  #7  
Old 10-09-2006, 07:56 AM
bobbydole
Fire Beetle
 
Join Date: Jul 2006
Posts: 26
Default

Quote:
Originally Posted by John Adams
I may just do that. So far, this has not been a pleasant experience.

good luck!
Reply With Quote
  #8  
Old 10-09-2006, 08:09 AM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

install the compat-gcc-32 and compat-gcc-32-c++ packages.

A qick&dirty hack would be to to add an ./bin directory into your
homedir(in the case of the howto that would be /home/eqemu/bin/) and
link the gcc32 and g++32 binaries to there as gcc and g++. Then modify
the PATH variable.

Code:
yum install compat-gcc-32 compat-gcc-32-c++
mkdir ~eqemu/bin
ln -s <path_to>/gcc32 ~eqemu/bin/gcc
ln -s <path_to>/g++32 ~eqemu/bin/g++
export PATH="/home/eqemu/bin:$PATH"
Note: strangely if I use /usr/bin instead of <path_to> the forum shows me an error message ...

Voila, gcc -v will now show the 3.2.3 version

You can put the export line into ~eqemu/.bashrc so you dont have to execute it on every new shell.
Edit: There might be a more Fedora'ish way of selecting the right compiler but I have no time to look into that.

Imho it would be better to get rid of all the extra qualifications so we can use the gcc 4.1 compiler. Manually that would take ages. Anyone up for doing a script?

Last edited by eq4me; 10-09-2006 at 05:08 PM..
Reply With Quote
  #9  
Old 10-09-2006, 08:28 AM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

Quote:
Originally Posted by cubber
My advice would be to get rid of fedora core and go with gentoo.. thats what I did and will never look back, gentoo is sooooo much faster than fedora core.
I really dont want to start an distro flame but on the server side(no X11, gaming and so on) there is not much difference between distributions. The kernel and maybe the glibc might be optimized to your processor but I just cant see the the advantage in having to emerge every software package and compile it specifically for your hardware setup. THis can take quite a long time on slower cpus. I could care less if 'ls' takes 0.1 or 0.08 seconds. So imho it is not worth the effort.
But you are right Fedora with a stock kernel and enabled selinux is not the fastest experience.
I for myself are using Debian for my private computers. Yes, it is definitely not for the novice if you want full multimedia support but as a pure server it is imho second to none - Once it is installed. Thats the reason we dont use it at work, unattended remote deployment still sucks compared with Fedora/Redhat Enterprise.
Reply With Quote
  #10  
Old 10-09-2006, 08:51 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

I was just suggesting it to him because it is very easy to set it up to switch gcc versions with gcc-config in gentoo. As for distro's only you can decide which one is right for you, takes alot of trial and error to find your niche'.
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 11:30 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