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 07-08-2009, 07:33 PM
Dolrese
Fire Beetle
 
Join Date: Mar 2008
Posts: 26
Default comiple on centos

has anyone been able to compile on centos 5 everything i have tryed to install from the yum has already been upto date.. i had to install perl 5.10 manually because there yum would only go up to 5.8.8 so i updated manually.. anyways here is what i have

gcc version = gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
g++ version = g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
perl version = This is perl, v5.10.0 built for i686-linux-thread-multi

make clean works

make gives this


thats as high as i can go up.. now i just installed centos today have never used it before so please go easy on me.. i took this server compile right from my debian box and it compiles and is running just fine there but i need it to compile and run on centos now so any help would be wonderfully appreciated please.

seems i cant fit it all here so code below
Reply With Quote
  #2  
Old 07-08-2009, 07:34 PM
Dolrese
Fire Beetle
 
Join Date: Mar 2008
Posts: 26
Default

code is here could not get it to post right.. sorry
Reply With Quote
  #3  
Old 07-08-2009, 08:01 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

You need the perl headers installed. This can be done in CentOS with the following command:

Code:
yum install perl-devel
This should get you past the error you are currently having.
Reply With Quote
  #4  
Old 07-09-2009, 12:07 AM
Dolrese
Fire Beetle
 
Join Date: Mar 2008
Posts: 26
Default

[root@localhost eqserver]# yum install perl-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.sanctuaryhost.com
* updates: mirrors.cmich.edu
* addons: mirror.steadfast.net
* extras: mirrors.liquidweb.com
Setting up Install Process
Parsing package install arguments
No package perl-devel available.
Nothing to do


that's what it says when i do that can you tell me what im doing wrong?

just to be sure i searched and got

[root@localhost eqserver]# yum search perl-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.sanctuaryhost.com
* updates: mirrors.cmich.edu
* addons: mirror.steadfast.net
* extras: mirrors.liquidweb.com
============================= Matched: perl-devel ==============================
mod_perl-devel.i386 : Files needed for building XS modules that use mod_perl


so im installing that now just incase
Reply With Quote
  #5  
Old 07-09-2009, 12:09 AM
Dolrese
Fire Beetle
 
Join Date: Mar 2008
Posts: 26
Default

just an update i installed the one i got from the search and still the same error
Reply With Quote
  #6  
Old 07-09-2009, 02:35 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

mod_perl-devel is not what you need. try this:

Code:
yum whatprovides /usr/lib/perl/5.10/CORE/EXTERN.h
it should tell you what package provides that file. you can then install that package.

in the event it does not find a package containing that file, then perhaps some small changes will need to be done to the source to work on your system.

By the way, what version of CentOS are you using? As in, 5.x, what is the x? I also assume you are running a 32bit system from the earlier information you provided. If that is incorrect, please let me know.
Reply With Quote
  #7  
Old 07-09-2009, 02:50 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

I was just rereading the output from your compile attempt. A question popped into my head. Where did you obtain this source code? Was it from SVN or was it copied from another system or what?
Reply With Quote
  #8  
Old 07-09-2009, 12:03 PM
Dolrese
Fire Beetle
 
Join Date: Mar 2008
Posts: 26
Default

the code was from another system im currently running on debein it is an older source i have not updated it in about a month or so but was originally gotten svn it works fine on my debein box centos is version 5.3 its the newest one just downloaded yesterday. and yes is 32 bit

this is what i get when i type that

[eqserver@localhost ~]$ yum whatprovides /usr/lib/perl/5.10/CORE/EXTERN.h
Loaded plugins: fastestmirror, priorities
Importing additional filelist information
Warning: 3.0.x versions of yum would erronously match against filenames.
You can use "*//usr/lib/perl/5.10/CORE/EXTERN.h" and/or "*bin//usr/lib/perl/5.10/CORE/EXTERN.h" to get that behaviour
No Matches found
Reply With Quote
  #9  
Old 07-09-2009, 12:35 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Ok, you can not transfer code from one system to another without a bit of cleanup. Please go to the directory you build from and type:

Code:
rm */.depend
make clean
You can then try building again using make.
Reply With Quote
  #10  
Old 07-09-2009, 12:44 PM
Dolrese
Fire Beetle
 
Join Date: Mar 2008
Posts: 26
Default

oh dude you rock it compiled.. thanks alot i really appreciate it. now lets just hope everything is working properly..

thanks again i cant tell you how much you have helped.
Reply With Quote
  #11  
Old 07-09-2009, 12:55 PM
Dolrese
Fire Beetle
 
Join Date: Mar 2008
Posts: 26
Default

im guessing my symbolic links in the old server dir will not work anymore do i need to and how do i clean them all up?
Reply With Quote
  #12  
Old 07-09-2009, 01:01 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

The symbolic links may work depending on how they were done. In any case, you can simply use rm to remove any that are incorrect and follow one of the guides to recreate them.
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 12:58 AM.


 

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