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

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-03-2002, 04:24 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default Option for gentoo

Heres an option for gentoo. One of the gentoo developers created an ebuild that will compile/install gcc 2.95 after a gcc3 install. It puts them as gcc-2.95 rather than gcc. I'm trying to get the build to work, but you can grab it from

http://bugs.gentoo.org/show_bug.cgi?id=8491

Let me know if it works for you. Im getting errors trying to do the ebuild at the moment.
Reply With Quote
  #2  
Old 11-03-2002, 07:37 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Alright, the ebuild is working for me, the problem I was having was control characters in the ebuild file because I created it in windows and sent it over to linux... (DOH!). I ran dos2unix against the file, now the ebuild is running properly for me. Hopefully, this will allow me to change the makefiles to use gcc-2.95 and compile the code against it. We'll see if it works.
Reply With Quote
  #3  
Old 11-03-2002, 09:40 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Alright, this works for me.. Ive been able to compile world and zone, and get them running... Still having problems getting btuch's latest NAT change to work as it cant resolve my world address, but shouldnt be that big of a deal...
Reply With Quote
  #4  
Old 11-03-2002, 11:13 AM
flipper
Sarnak
 
Join Date: Jan 2002
Location: California
Posts: 94
Default

Trump,

Thank you very much for hunting down that ebuild. I will go try it right now and hopefully not trash my existing gcc-3.2

Thanks,
Flipper
Reply With Quote
  #5  
Old 11-03-2002, 11:31 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Works good for me, installs everything in parallel so it doesnt step on gcc3.2 anywhere. Now Im back to working out NAT issues inside my firewall..LOL... Still need to figure out how to port the code over to 3.2, but at least this will be a work around for us gentoo users for the time being.
Reply With Quote
  #6  
Old 11-03-2002, 07:43 PM
flipper
Sarnak
 
Join Date: Jan 2002
Location: California
Posts: 94
Default

Worked great for me too. You still need to apply Image's modification to misfunctions.cpp
http://forums.eqemu.net/showthread.p...;threadid=3886
Reply With Quote
  #7  
Old 11-04-2002, 12:38 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Post on the comments section on the bugs.gentoo.org forum link I sent upwards with your success with this ebuild. I spoke with the author of it, and he's glad to have extra people testing it out. He asked if we'd mind posting our successes with the ebuild as he wants to get it rolled into the CVS tree.
Reply With Quote
  #8  
Old 11-04-2002, 05:08 AM
flipper
Sarnak
 
Join Date: Jan 2002
Location: California
Posts: 94
Default

Just posted my comments on bugs.gentoo.org. I'd like to see this become an official ebuild (unmasked or not).
Reply With Quote
  #9  
Old 11-06-2002, 04:09 PM
penfold1972
Fire Beetle
 
Join Date: May 2002
Posts: 13
Default

Well, it took me a little bit, but I got the ebuild applied. World and zone compiled, for me. World seems to run fine, but zone dies with a segmentation fault. The only change I made to the make file was to change CC and LINKER to gcc-2.95, was there something else I missed?
Reply With Quote
  #10  
Old 11-06-2002, 06:22 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Other than adding #include <stdarg.h> to MiscFunctions.cpp, that was it. I had to make some changes in mine to get the mysql includes in because of the way I build apache/mysql/php (use apachetoolbox.com rather than emerging those 3). Run ldd zone and make sure everything is there..
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #11  
Old 11-06-2002, 06:22 PM
flipper
Sarnak
 
Join Date: Jan 2002
Location: California
Posts: 94
Default

Nope, that's all there is to it. Replace misfunctions.cpp with the link I gave above, set compiler/linker to gcc-2.95, compile, and enjoy. Are you passing "zone" the proper arguements? It should be something like this:

./zone . 123.123.123.123 7995 123.123.123.123

where 123.123.123.123 would be replaced by your real IP# and 7995 is the port used by that zone server. To run multiple zone servers just execute the same command but increment the port by 1 each time.
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:18 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3