[asterisk-scf-dev] Installing and building asterisk-scf

Darren Sessions dsessions at digium.com
Thu Oct 7 07:56:13 CDT 2010


You'll need to run apt-get install python-dev.

I've updated the wiki instructions for Debian with the new cmake instructions as well.

Thanks,

 - Darren


----- Original Message -----
From: "Alec Davis" <sivad.a at paradise.net.nz>
To: asterisk-scf-dev at lists.digium.com
Sent: Thursday, October 7, 2010 4:54:04 AM GMT -06:00 US/Canada Central
Subject: [asterisk-scf-dev] Installing and building asterisk-scf



This is from memory from a few nights ago, but the issues (highlighted with >>) exist if following the instructions verbatim. 
I thought I'd at least point them out, but don't necessarily have the answers. 

Using the https://myth.asterisk.org/wiki/display/TOP/Building guide 


Using vanilla debian 5.0 (lenny) 

got though step 1 and 2. 
skipped step 3, Jave optional 

step 4, build ICE 
>> Note: Assume under the '/usr/src/' directory or your favorite project directory 
git clone git at git ... 
cd ice 
ok so far 

>> Note: missing 'cd java' although I skipped it, just pointing this out 

>> python build failed. 
In file included from ./Communicator.h:13, 
from Communicator.cpp:14: 
./Config.h:28:20: error: Python.h: No such file or directory 
Communicator.cpp:32:22: error: pythread.h: No such file or directory 
In file included from Communicator.cpp:14: 
.......... 

step 5, Install the Asterisk SCF Source 
>> Note: Assume under the '/usr/src/' directory or your favorite project directory 
git clone git at git.....integration/gitall 
cd gitall 

step 6, install pjsip 
Ok 

Step 7, 
>> cmake: what version ??? 
debian 5.0 comes with 2.6.0-6 which doesn't support VERSION_LESS 

downloaded and installed binary for cmake version 2.8.2 

asterix:/usr/src/gitall# ./cmake/init-cmake.sh 
+ cmake .. -Wdev -DCMAKE_BUILD_TYPE=debug 
-- checking for module 'uuid' 
>> -- package 'uuid' not found 
CMake Error at cmake/AsteriskSCF.cmake:20 (message): 
>> This project must not be built in the source directory 
Call Stack (most recent call first): 
CMakeLists.txt:13 (include) 

2 problems above ( 1 solved ) 
uuid-dev debian package was missed from required libraries section in step 2 

This project must not be built in the source directory 
So where then??? 

Alec Davis 
_______________________________________________
Asterisk SCF Development Discussion List
NOTE: All content you receive from this list is should be treated as confidential.

To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-scf-dev



More information about the asterisk-scf-dev mailing list