LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-07-2010, 03:08 PM   #1
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Rep: Reputation: 15
make error


Hi,

When i try to install zaptel i have received the following error message
--------
[root@localhost zaptel-1.4.0]# make linux26
grep: /lib/modules/2.6.18-92.el5/build/include/linux/autoconf.h: No such file or directory
You do not appear to have the sources for the 2.6.18-92.el5 kernel installed.
make: *** [linux26] Error 1
---------
Ihave already installed kernel-devel
Please Help

Regards,
Rehan Khan
 
Old 05-07-2010, 03:26 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,811

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
Quote:
Originally Posted by rehan21 View Post
Hi,

When i try to install zaptel i have received the following error message
--------
[root@localhost zaptel-1.4.0]# make linux26
grep: /lib/modules/2.6.18-92.el5/build/include/linux/autoconf.h: No such file or directory
You do not appear to have the sources for the 2.6.18-92.el5 kernel installed.
make: *** [linux26] Error 1
---------
Ihave already installed kernel-devel
Please Help

Regards,
Rehan Khan
Obviously not. You may have *A* kernel source installed, but not the source for the kernel you're running. Install the sources.
 
Old 05-07-2010, 03:38 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
http://downloads.asterisk.org/pub/telephony/zaptel/
http://downloads.asterisk.org/pub/te....4.12.1.tar.gz
> zaptel-1.4.12.1.tar.gz

cd zaptel-1.4.12.1/ && ./configure && make
→ → No errors .... I have :
kernel-devel-2.6.18-128.1.14.el5.i686
..

And please do not run user commands as root.
'root' is for administrative tasks only.
..

Last edited by knudfl; 05-07-2010 at 03:46 PM.
 
Old 05-07-2010, 03:42 PM   #4
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TB0ne View Post
Obviously not. You may have *A* kernel source installed, but not the source for the kernel you're running. Install the sources.
How to install the sources?
 
Old 05-07-2010, 04:07 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,811

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
Quote:
Originally Posted by rehan21 View Post
How to install the sources?
You should be able to download them from the RedHat network. Since you're paying for access to it with your RedHat enterprise subscription. If you have problems, give them a call. Or you can try to look on the installation media.
 
Old 05-07-2010, 04:14 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
I'd guess, it's CentOS.

The versions Žuname -rŽ and kernel-devel
must be the same.

And why use the old zaptel 1.4.0 when 1.4.12.1 is available ?

..
 
Old 05-07-2010, 04:33 PM   #7
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
How to install sources ? Or will I have to buy it
Please give me the solution
I will be greatly thankful to you all.

Regards,
Rehan
 
Old 05-07-2010, 06:52 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Quote:
How to install sources ? Or will I have to buy it
?? did you read the ABOVE POSTS ?
1) why are you tring to build the OLD zaptel-1.4.0 when zaptel-1.4.12.1 is there ?
and there ARE centos rpm's for it
http://atrpms.net/dist/el5/zaptel/

what cent repos do you have installed and turned on ?
http://wiki.centos.org/
http://wiki.centos.org/AdditionalResources/Repositories
 
Old 05-07-2010, 08:04 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,811

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
Quote:
Originally Posted by rehan21 View Post
How to install sources ? Or will I have to buy it
Please give me the solution
I will be greatly thankful to you all.

Regards,
Rehan
We gave you the solution, but you're NOT READING THE POSTS.

Pay attention:
- Look on your install media, and try to get it from there.
- If not, pay for your RedHat subscription (like you SHOULD be), or load CentOS for free
- Load the CURRENT RPM or SOURCE, that you've been pointed to.
 
Old 05-07-2010, 08:27 PM   #10
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by John VV View Post
?? did you read the ABOVE POSTS ?
1) why are you tring to build the OLD zaptel-1.4.0 when zaptel-1.4.12.1 is there ?
and there ARE centos rpm's for it
http://atrpms.net/dist/el5/zaptel/

what cent repos do you have installed and turned on ?
http://wiki.centos.org/
http://wiki.centos.org/AdditionalResources/Repositories
It has give the following error
--------
rpm -i zaptel-1.4.12.1-56.el5.i386.rpm
warning: zaptel-1.4.12.1-56.el5.i386.rpm: Header V4 DSA signature: NOKEY, key ID 66534c2b
error: Failed dependencies:
libtonezone.so.1.0 is needed by zaptel-1.4.12.1-56.el5.i386
-------

Regards,
Rehan
 
Old 05-07-2010, 10:06 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
hi from the atrepo page i gave you there is a link to
http://atrpms.net/dist/el5/zaptel/za....i386.rpm.html
http://www.asterisk.org/downloads
also USE yum to install software ( that is why it is there ) this is what yum dose ( it solves the dependency errors )
to quote the page
Quote:
Install From Yum Repo
Support

For information on installing Asterisk and associated software on RedHat Enterprise Linux 5 or CentOS Linux 5 from the Digium yum repository see the yum installation how-to page.
AND from the link here
http://wiki.centos.org/AdditionalResources/Repositories
WHAT repos have you installed and what ones are turned on ?

------- edit -------
i just booted into centOS 5.4 and you do not even have to install the
asterisk reop
it is in the centrepos
these are the std i have installed
from the command " yum repolist"
Code:
 yum repolist
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
 * addons: pubmirrors.reflected.net
 * base: mirror.steadfast.net
 * epel: mirror.vcu.edu
 * extras: holmes.umflint.edu
 * updates: mirror.raystedman.net
repo id       repo name                                           status
addons        CentOS-5 - Addons                                   enabled:     0
base          CentOS-5 - Base                                     enabled: 2,535
epel          Extra Packages for Enterprise Linux 5 - i386        enabled: 4,373
extras        CentOS-5 - Extras                                   enabled:   327
updates       CentOS-5 - Updates                                  enabled:   710
repolist: 7,945
then from the command
Code:
yum search zaptel

=============================== Matched: zaptel ================================
callweaver-zaptel.i386 : Zaptel modules for CallWeaver
dahdi-tools.i386 : Userspace tools to configure the DAHDI kernel modules
zaptel.i386 : Tools and libraries for using/configuring/monitoring Zapata
            : telephony interfaces
zaptel-devel.i386 : Development files for Zapata telephony interfaces
zaptel-lib.i386 : Library for using Zapata telephony interfaces
zaptel-utils.i386 : Tools for monitoring and testing Zapata telephony interfaces
it is there
just use yum - that is what it is for.

Last edited by John VV; 05-07-2010 at 10:17 PM.
 
Old 05-08-2010, 08:24 AM   #12
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,155
Blog Entries: 4

Rep: Reputation: 2717Reputation: 2717Reputation: 2717Reputation: 2717Reputation: 2717Reputation: 2717Reputation: 2717Reputation: 2717Reputation: 2717Reputation: 2717Reputation: 2717
One more time ... please read carefully...

"Kernel source files" will be found in some package that you have not yet installed.

You need to identify and install that package, in whatever might be "the usual way" for your distro.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RH9 make menuconfig error: make[1]: *** [lxdialog] Error 1 rrochele Linux - Kernel 3 02-07-2007 03:39 PM
make bzImage failure: make[1]: *** [init/version.o] Error 1 nmainak Linux - Kernel 2 07-16-2006 05:06 PM
Really, really Weird trouble with make (make error 2) flyeater SUSE / openSUSE 5 06-20-2005 12:05 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM


All times are GMT -5. The time now is 10:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration