Log in

View Full Version : comiple on centos


Dolrese
07-08-2009, 07:33 PM
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

Dolrese
07-08-2009, 07:34 PM
code is here could not get it to post right.. sorry (http://www.scarsofamerous.com/code.txt)

gaeorn
07-08-2009, 08:01 PM
You need the perl headers installed. This can be done in CentOS with the following command:

yum install perl-devel

This should get you past the error you are currently having.

Dolrese
07-09-2009, 12:07 AM
[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

Dolrese
07-09-2009, 12:09 AM
just an update i installed the one i got from the search and still the same error

gaeorn
07-09-2009, 02:35 AM
mod_perl-devel is not what you need. try this:

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.

gaeorn
07-09-2009, 02:50 AM
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?

Dolrese
07-09-2009, 12:03 PM
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

gaeorn
07-09-2009, 12:35 PM
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:

rm */.depend
make clean

You can then try building again using make.

Dolrese
07-09-2009, 12:44 PM
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.

Dolrese
07-09-2009, 12:55 PM
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?

gaeorn
07-09-2009, 01:01 PM
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.