Keithy
2006-Oct-29 17:25 UTC
[asterisk-users] asterisk-1.2.13 fails to 'Make' in Fedore Core 6'
Hi, I fresh installed Fedora Core 6. I downloaded and untar the 'asterisk-1.2.13' into /usr/src/asterisk-1.2.13. When I run ' make' I get: ... ... chan_phone.c:41:29: error: linux/compiler.h: No such file or directory make[1]: *** [chan_phone.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-1.2.13/channels' make: *** [subdirs] Error 1 [root@sss asterisk-1.2.13]# so I have ' make clean' ------------------ Then I downloaded the 'asterisk-1.4.0-beta3' --- untar it then run 'make' I get: [root@sss asterisk-1.4.0-beta3]# make && make install **** **** The configure script must be executed before running 'make'. **** make: *** [makeopts] Error 1 [root@sss asterisk-1.4.0-beta3]# make **** **** The configure script must be executed before running 'make'. **** make: *** [makeopts] Error 1 Any help please? T
barbara figueirido
2006-Oct-29 18:19 UTC
[asterisk-users] asterisk-1.2.13 fails to 'Make' in Fedore Core 6'
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Keithy escribi?:> > I fresh installed Fedora Core 6. > > I downloaded and untar the 'asterisk-1.2.13' into /usr/src/asterisk-1.2.13.> When I run ' make' > > I get: > > ... > ... > chan_phone.c:41:29: error: linux/compiler.h: No such file or directory > make[1]: *** [chan_phone.o] Error 1 > make[1]: Leaving directory `/usr/src/asterisk-1.2.13/channels' > make: *** [subdirs] Error 1 > [root@sss asterisk-1.2.13]# > > so I have ' make clean' > >Have you run ./configure prior to any 'make' command? Btw, check that you have kernel headers & sources & developer packages from the required software (in case FC has separate packages for them); here you can have an idea (focused on Debian, though) of what is needed: http://www.voip-info.org/tiki-index.php?page=Asterisk+Linux+Debian. hope this helps, regards, BarbaraF. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFRVTVGkaV37yLzccRApmCAJ9LQScuxR0H68JtIMItRkID64T+QACaA3aA mb4SLinlZrYKQOX+7Hp4u3w=Y6SQ -----END PGP SIGNATURE-----
Tzafrir Cohen
2006-Oct-29 22:42 UTC
[asterisk-users] asterisk-1.2.13 fails to 'Make' in Fedore Core 6'
On Sun, Oct 29, 2006 at 07:53:21PM -0600, Ward, Bill wrote:> If I remember right, FC6 doesn't necessarily install the kernel source.Actually, the kernel headers are never required to build asterisk . /usr/include/linux is not from the kernel source.> I had this error before when I installed on my Dell server with FC6. > I had to run these commands and it got past that part: > > yum install kernel > yum install kernel sourceHuh? Here's a shorter version: yum install kernel-devel But then-again, the relevant package is glibc-kernel or something.> > Then reboot.No reboot is required, as you didn't install a new kernel. Oh, and from what I see, building on Ubuntu Edgy will get you the same error. -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir