This guide explains step by step how to install Asterisk on CentOS 6 x86_64 however you should be able to follow this guide for i686 & RHEL Linux. I have also included a video guide for those of you that prefer to watch a video rather than read, If you run Ubuntu server then check out our Ubuntu Asterisk guide.
Asterisk is an enterprise level telephone system that uses real desk phones capable of seamlessly calling normal phones, your users probably wont even realise they are using a VoIP phone system. Asterisk VoIP PBX can connect to existing ISDN30e / POTS telephone lines or over the Internet via a ITSP.
To start off with follow my guide on how to install CentOS, use the minimal server install as suggested. Do not install a GUI on Asterisk, this is a PBX it needs to be reliable do not waste resources on X Windows. I would also like to point out that this guide is for an Asterisk server with no bloat, this is not a guide for setting up Trixbox or Elastix I recommend straight Asterisk, this has caused me less issues over the years.
Asterisk CentOS 6 Install Guide (Asterisk 1.8)
Before we install Asterisk on CentOS we need to update the system & reboot:
yum update
Review the updates and accept, when they have completed reboot with:
init 6
Install wget to pull down Asterisk:
yum install wget
Download Asterisk 1.8 & DAHDI + Tools
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.5.0.tar.gz && wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.5.0+2.5.0.tar.gz
Asterisk & DAHDI Tools need extracting, to extract the tar.gz
tar -xvzf asterisk-1.8* && tar -xvzf dahdi-linux-complete-*
Install dependencies so we can compile Asterisk 1.8
yum install kernel-devel gcc make gcc-c++ libxml2-devel
This should look like:
Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gcc x86_64 4.4.4-13.el6 base 10 M gcc-c++ x86_64 4.4.4-13.el6 base 4.7 M kernel-devel x86_64 2.6.32-71.29.1.el6 updates 6.5 M libxml2-devel x86_64 2.7.6-1.el6 base 1.1 M make x86_64 1:3.81-19.el6 base 389 k Installing for dependencies: cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k cpp x86_64 4.4.4-13.el6 base 3.7 M glibc-devel x86_64 2.12-1.7.el6_0.5 updates 961 k glibc-headers x86_64 2.12-1.7.el6_0.5 updates 592 k kernel-headers x86_64 2.6.32-71.29.1.el6 updates 991 k libgomp x86_64 4.4.4-13.el6 base 108 k libstdc++-devel x86_64 4.4.4-13.el6 base 1.5 M mpfr x86_64 2.4.1-6.el6 base 157 k pkgconfig x86_64 1:0.23-9.1.el6 base 70 k ppl x86_64 0.10.2-11.el6 base 1.3 M zlib-devel x86_64 1.2.3-25.el6 base 43 k Transaction Summary ================================================================================ Install 16 Package(s) Upgrade 0 Package(s) Total download size: 32 M Installed size: 90 M Is this ok [y/N]: y
You also need to install Perl & ncurses-devel
yum install perl ncurses-devel
Build DAHDi, this needs to be built first so you can build Asterisk with support for conference rooms and anything else that requires DAHDi. MAKE SURE YOU DO THIS FIRST.
cd dahdi-linux-complete* make all make install make config
For this tutorial I am only going to be using SIP trunks, I have no hardware installed. If you have are using cards / hardware you might want to check out /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf.
Start DAHDi at Boot
chkconfig dahdi on service dahdi start
Build Asterisk
cd asterisk-* make clean ./configure
Configure your Asterisk Server options and install
make menuselect make make install
Install sample config files in /etc/asterisk and set Asterisk to start at boot.
make samples make config chkconfig asterisk on
Start Asterisk to test it runs!
asterisk -vvvvc
To stop asterisk
core stop now
If Asterisk does not run chances are you made a mistake, it happens. Check you have follow my guide exactly and start again if necessary.
Once you have tested Asterisk is working start the service
/etc/init.d/asterisk start
Any problems or questions drop me a comment below.
{ 10 comments… read them below or add one }
Hi, great post and I am attempting to follow using CentOS 6
However at the part where I am make all dahdi I get the following exception:
[root@vps03 dahdi-linux-complete-2.5.0+2.5.0]# make all
make -C linux all
make[1]: Entering directory `/root/dahdi-linux-complete-2.5.0+2.5.0/linux’
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/root/dahdi-linux-complete-2.5.0+2.5.0/linux/drivers/dahdi/firmware’
make[2]: Leaving directory `/root/dahdi-linux-complete-2.5.0+2.5.0/linux/drivers/dahdi/firmware’
You do not appear to have the sources for the 2.6.18-028stab091.2 kernel installed.
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/root/dahdi-linux-complete-2.5.0+2.5.0/linux’
make: *** [all] Error 2
Now I thought maybe the header source needed installing so I ran:
sudo yum install kernel-devel-`uname -r`
and then I got this exception:
[root@vps03 dahdi-linux-complete-2.5.0+2.5.0]# sudo yum install kernel-devel-`uname -r`
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* extras: centosz4.centos.org
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Setting up Install Process
No package kernel-devel-2.6.18-028stab091.2 available.
Nothing to do
So I am at a loss what to do next, I really need the help – thanks everyone.
Hi True?
You are using the command to install kernel source is incorrect see our guide for CentOS kernel source install instructions.
Or type the following as root:
yum install kernel-devel
Hope that helps.
KJS
Hi KJS,
I watched your video when you type the /etc/init.d/asterisk start
[root@localhost asterisk-1.8.5.0]# /etc/init.d/asterisk start
Starting asterisk:
Shouldnt be there a GREEN color sign [OK] ?
Because normally when we start a service it will show a GREEN [OK] on the right side, but in here it doesnt show and when i do netstat -tap i cant see the asterisk service there. But for DAHDI it does shows.
[root@localhost ~]# service dahdi start
Loading DAHDI hardware modules:
wct4xxp: [ OK ]
wcte12xp: [ OK ]
wct1xxp: [ OK ]
wcte11xp: [ OK ]
wctdm24xxp: [ OK ]
wcfxo: [ OK ]
wctdm: [ OK ]
wcb4xxp: [ OK ]
wctc4xxp: [ OK ]
xpp_usb: [ OK ]
Running dahdi_cfg: [ OK ]
Hope you understand my question.
Thanks
Thanks for the great tutorial.Yet, I failed to build the dahdi package. When I run the command:
make all
I got the failure message:
configure: ***
configure: *** Building this package requires DAHDI support. ***
configure: *** Please install the dahdi-linux package. ***
configure: ***
make: *** [all] Error 1
Thanks in advance:
You need to build DAHDI before building Asterisk.
New at Unix/Asterisk, I like your blog easy to follow. Just installed AsteriskNow on a desktop PC. Couldnt figure out what the heck I was doing, found your blog and decided to reinstall Asterisk using your instructions however I got stuck here. Tried to go past this but unable to configure Asterisk
configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing)
Command:
yum install perl ncurses-devel
Error:
file /usr/share/man/man1/perldebguts.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perldebtut.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perldebug.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perldelta.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perldgux.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perldiag.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perldos.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perldsc.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlebcdic.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlembed.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlepoc.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfaq.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfaq1.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfaq2.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfaq3.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfaq4.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfaq5.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfaq6.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfaq7.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfaq8.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfaq9.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfilter.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfork.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlform.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfreebsd.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlfunc.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlglossary.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlgpl.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlguts.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlhack.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlhist.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlhpux.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlhurd.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlintern.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlintro.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perliol.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlipc.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlirix.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlivp.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perljp.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlko.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perllexwarn.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perllinux.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perllocale.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perllol.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlmachten.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlmacos.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlmacosx.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlmint.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlmod.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlmodinstall.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlmodlib.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlmodstyle.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlmpeix.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlnetware.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlnewmod.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlnumber.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlobj.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlop.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlopenbsd.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlopentut.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlos2.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlos390.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlos400.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlothrtut.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlpacktut.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlplan9.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlpod.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlpodspec.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlport.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlqnx.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlre.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlref.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlreftut.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlrequick.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlreref.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlretut.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlrun.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlsec.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlsolaris.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlstyle.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlsub.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlsyn.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlthrtut.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perltie.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perltoc.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perltodo.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perltooc.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perltoot.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perltrap.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perltru64.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perltw.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlunicode.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perluniintro.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlutil.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perluts.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlvar.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlvmesa.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlvms.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlvos.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlwin32.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlxs.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/perlxstut.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/piconv.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/pl2pm.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/pod2html.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/pod2latex.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/pod2man.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/pod2text.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/pod2usage.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/podchecker.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/podselect.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/prove.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/psed.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/pstruct.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/s2p.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/splain.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man1/xsubpp.1.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man3/Unicode::UCD.3pm.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
file /usr/share/man/man3/threads.3pm.gz from install of perl-5.8.8-32.el5_7.6.i386 conflicts with file from package perl-5.8.8-38.el5.x86_64
Error Summary
————-
[root@localhost ~]#
You have the 32bit version of Perl installed on a 64bit CentOS install, to fix this:
Hope that helps, let me know how it goes.
i have a problem on the line make all in dahdi
[root@system src]# cd dahdi-linux-complete-2.5.0+2.5.0
[root@system dahdi-linux-complete-2.5.0+2.5.0]# make all
make -C linux all
make[1]: se ingresa al directorio `/usr/src/dahdi-linux-complete-2.5.0+2.5.0/linux’
make -C drivers/dahdi/firmware firmware-loaders
make[2]: se ingresa al directorio `/usr/src/dahdi-linux-complete-2.5.0+2.5.0/linux/drivers/dahdi/fir
mware’
make[2]: se sale del directorio `/usr/src/dahdi-linux-complete-2.5.0+2.5.0/linux/drivers/dahdi/firmw
are’
You do not appear to have the sources for the 2.6.18-194.8.1.v5 kernel installed.
make[1]: *** [modules] Error 1
make[1]: se sale del directorio `/usr/src/dahdi-linux-complete-2.5.0+2.5.0/linux’
make: *** [all] Error 2
how to resolve it? :S:S
i try it, and fail :/
[root@system dahdi-linux-complete-2.5.0+2.5.0]# cd ..
[root@system src]# yum install kernel-devel-`uname -r`
Loading “protect-packages” plugin
Loading “kmod” plugin
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
–> Running transaction check
—> Package kernel-devel.i686 0:2.6.18-194.8.1.v5 set to be installed
–> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kernel-devel i686 2.6.18-194.8.1.v5 base-supplements 5.6 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 5.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): kernel-devel-2.6.18-194.8.1.v5.i686.rpm | 5.6 MB 00:47
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
package kernel-devel-2.6.18-308.1.1.v5.i686 (which is newer than kernel-devel-2.6.18-194.8.1.v5.i6
86) is already installed
Error Summary
————-
Awesome video and guide.
Thank you it helped out a lot.
You must log in to post a comment.
{ 1 trackback }