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 |
|
You need the perl headers installed. This can be done in CentOS with the following command:
Code:
yum install perl-devel |
[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 |
just an update i installed the one i got from the search and still the same error
|
mod_perl-devel is not what you need. try this:
Code:
yum whatprovides /usr/lib/perl/5.10/CORE/EXTERN.h 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. |
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?
|
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 |
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 |
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. |
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?
|
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.
|
All times are GMT -4. The time now is 05:33 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.