|
|
Joined: Mar 2006
Posts: 83
Member
|
Member
Joined: Mar 2006
Posts: 83 |
Hi all.
Im having trouble installing asterisk and i could use a little help..well ok, a lot of help, but ill start off simple. Im using ubuntu gutsy and i think im having dependency issues but im not clear on which ones, nor even how to resolve the issues if i knew what they were. in short, imma noob stumbling my way through this.
Following the install guide at asterisk guru... [QUOTE]Compiling Asterisk on most Linux distributions
Accomplish this by opening the folder in which the source codes were extracted (if you are using tarball files), or go to the /usr/src/asterisk folder (if using CVS server) to get the required packages.
To go to this directory, see example:
#cd /usr/src/asterisk
Once here, the final step is to compile:
Important: Follow this installation order: libpri, zaptel, asterisk
-Installing libpri
#cd /usr/src/asterisk/libpri #make clean #make #make install[QUOTE/]
..i run into this error and im not sure what it means or what to do. Thanks for any and all help.
root@ubuntu:/usr/src/libpri-1.4.3# make clean rm -f *.o *.so *.lo *.so.1 *.so.1.0 rm -f testprilib libpri.a libpri.so.1.0 rm -f pritest pridump rm -f .depend root@ubuntu:/usr/src/libpri-1.4.3# make CC="gcc" ./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC `ls *.c` gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o copy_string.o copy_string.c copy_string.c:25:20: error: string.h: No such file or directory copy_string.c:26:20: error: unistd.h: No such file or directory copy_string.c:27:20: error: stdlib.h: No such file or directory In file included from copy_string.c:31: pri_internal.h:29:22: error: sys/time.h: No such file or directory In file included from copy_string.c:31: pri_internal.h:35: error: field ‘when’ has incomplete type pri_internal.h:92: error: field ‘tv’ has incomplete type make: *** [copy_string.o] Error 1
"It is what it is." R.R. CTP, TCTS, StrataCIX
|
|
|
Visit Atcom to get started with your new business VoIP phone system ASAP
Turn up is quick, painless, and can often be done same day.
Let us show you how to do VoIP right, resulting in crystal clear call quality and easy-to-use features that make everyone happy!
Proudly serving Canada from coast to coast.
|
|
|
Joined: Jun 2007
Posts: 2,106
Member
|
Member
Joined: Jun 2007
Posts: 2,106 |
You are using Ubuntu. I'd recommend you use a more server-oriented and/or full-featured linux distro.
However, the answer to your problem is, that you need to install the kernel headers for your distro. Google "Ubuntu kernel headers" and see what package it tells you to install. Probably something like "linux-headers-2.6-386" etc.
The issue is that ubuntu isn't made for people to be compiling/making software on, but downloading pre-made 'packages'.
|
|
|
|
Joined: Mar 2006
Posts: 83
Member
|
Member
Joined: Mar 2006
Posts: 83 |
hi there kumba. thanks for the help.
heres another question, when i try to use ./configure in the asterisk paths i get the 'cpp failed sanity check' error. i tried
sudo apt-get update && apt-get install gcc-c++
it does its thing but then when i try ./configure i still get the same error...installing gcc-c++ has solved that same error in the past but now is not. any ideas?
thanks again
"It is what it is." R.R. CTP, TCTS, StrataCIX
|
|
|
|
Joined: Mar 2006
Posts: 83
Member
|
Member
Joined: Mar 2006
Posts: 83 |
so i attempted to install the linux headers and was told that the headers i have are the current version. is it that i need a different kernel perhaps?
i'd like to become more familiar other distros as well but my lack of familiarity with linux makes me think maybe i should stick with one thats nice and cushy like ubuntu for a while.
"It is what it is." R.R. CTP, TCTS, StrataCIX
|
|
|
|
Joined: Feb 2008
Posts: 1
Member
|
Member
Joined: Feb 2008
Posts: 1 |
I think Kumba is right in recommending using a more server oriented distro. Just because Ubuntu makes for a friendly desktop, doesn't mean it's friendlier to people like us who need linux to do real work. But there are guides available that may help you in installing on Ubuntu. This is the first that came up doing a google search "asterisk ubuntu" https://www.voip-info.org/tiki-index.php?page=Asterisk+Linux+Ubuntu I'm sure there are other guides available, and even looking at tutorials aimed at installing asterisk on other linux distros may prove helpful. Otherwise, there are always prebuilt asterisk installs like Trixbox you may wanna mess with.
|
|
|
Forums84
Topics94,512
Posts639,933
Members49,844
|
Most Online5,661 May 23rd, 2018
|
|
1 members (justbill),
223
guests, and
31
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|