On 1/9/2014 12:12 PM, Jeremy Kister wrote:
On 1/8/2014 9:12 PM, Brandon Coale wrote:
However, I am not able to get app_swift to compile.  I am running
Asterisk 11.6.0 and CentOS 6.4 64-bit.

I am wondering if anyone else out there has been able to get app_swift
working with Asterisk 11 and could share any tricks they used to get it
installed?

can you pastie your configure and make ?

I don't have Cepstral6 but did submit tweaks to the code that should have made it Cepstral6 compatible.

Also since you recently spent money with Cepstral, they'll help you. They've got at least one guy who understands the app_swift code and was working on forking it as an official version.

Jeremy,

I heard back from Cepstral support, and sadly I was told "Unfortunately, we do not provide support for app_swift. app_swift is an open source program that was not written by Cepstral."

I am new to installing software on Linux from source code. I am wondering if you would mind giving me some details on where I can find my configure and make?

My /opt/swift directory looks like this:
[root@dialer swift]# ls -l
total 28
drwxr-xr-x 2 root root 4096 Dec 30 19:47 bin
drwxr-xr-x 2 root root 4096 Dec 30 19:47 doc
drwxr-xr-x 2 root root 4096 Dec 30 20:19 etc
drwxr-xr-x 2 root root 4096 Dec 30 19:47 include
drwxr-xr-x 2 root root 4096 Dec 30 19:47 lib
drwxr-xr-x 2 root root 4096 Dec 30 19:47 sfx
drwxr-xr-x 3 root root 4096 Dec 30 19:47 voices

I downloaded app_swift to /root/app_swift and the directory looks like this:
[root@dialer app_swift]# ls -l
total 48
-rw-r--r-- 1 root root 20073 Dec 31 10:23 app_swift.c
-rw-r--r-- 1 root root 15123 Dec 31 10:23 LICENSE
-rw-r--r-- 1 root root  3210 Jan  8 14:07 Makefile
-rw-r--r-- 1 root root  1701 Dec 31 10:23 README
-rw-r--r-- 1 root root  1072 Dec 31 10:23 swift.conf.sample

When I run the make command, it spews a whole bunch of errors and warnings. The first few lines are:

gcc -I/opt/swift/include -I/usr/src/asterisk-11.6.0/include -g -Wall -fPIC -D_SWIFT_VER_6 -D_AST_VER_11 -c -o app_swift.o app_swift.c
In file included from app_swift.c:33:
/usr/src/asterisk-11.6.0/include/asterisk.h:21:33: error: asterisk/autoconfig.h: No such file or directory
In file included from /usr/src/asterisk-11.6.0/include/asterisk.h:27,
                 from app_swift.c:33:
/usr/src/asterisk-11.6.0/include/asterisk/compat.h:97: error: expected

Please let me know what information I can provide, thanks for your patience with a newbie.

Brandon


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to