Orgasmatron Setup and Cepstral

Ashley

New Member
Joined
Jun 18, 2008
Messages
6
Reaction score
0
Has anyone been able to get Cepstral to work with the Everex gPC2 setup outlined in the May 2008 NerdVittles? I've tried installing this multiple times from fresh setups and always get an error message shortly after I accept the license agreement:
Testing the installed swift binary...
/opt/swift/bin/swift -o /dev/null 'hello world'
/opt/swift/bin/swift: line 12: /opt/swift/bin/swift.bin: cannot execute binary file
/opt/swift/bin/swift: line 12: /opt/swift/bin/swift.bin: Success

Installation failed. Please contact Cepstral LLC by e-mail for further
support, including a transcript of the installation script's output, if
possible.
I've tried not using the Install-Cepstral command and using the installation method outlined in a prior version of NV, but still the same results. Cepstral had some things to try, but it still doesn't work.
 

cjkeeme

Guru
Joined
Jun 18, 2008
Messages
203
Reaction score
0
I would like to find a resolution to this. I can not get the Cepstral-Allison voice working. I am running a "walmart special" loaded with the special version of PBXIAF.

After typing
Code:
install-cepstral
from the command line logged in as root this is what is returned. This is from a fresh install (the second one with the same results).

Code:
root@pbx:~ $ install-cepstral
--11:06:42--  http://downloads.cepstral.com/cepstral/x86-64-linux/Cepstral_Allis                                                  on-8kHz_x86-64-linux_5.0.0.tar.gz
Resolving downloads.cepstral.com... 216.92.127.89
Connecting to downloads.cepstral.com|216.92.127.89|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:06:43 ERROR 404: Not Found.

tar: Cepstral*: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
/usr/local/sbin/install-cepstral: line 6: cd: Cepstral_Allison-8kHz_x86-64-linux                                                  _5.0.0: No such file or directory
/usr/local/sbin/install-cepstral: line 7: ./install.sh: No such file or director                                                  y
--11:06:43--  http://www.loopfree.net/app_swift/app_swift-0.9.1.tar.gz
Resolving www.loopfree.net... 72.29.182.84, 2001:48c0:1001::2
Connecting to www.loopfree.net|72.29.182.84|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5544 (5.4K) [application/x-gzip]
Saving to: `app_swift-0.9.1.tar.gz'

100%[=======================================>] 5,544       --.-K/s   in 0.04s

11:06:44 (142 KB/s) - `app_swift-0.9.1.tar.gz' saved [5544/5544]

tar: app_swift-0.9.1: Cannot read: Is a directory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: app_swift-0.9.1.tar.gz: Not found in archive
tar: Error exit delayed from previous errors
gcc -I/opt/swift/include -g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC   -c -o app_s                                                  wift.o app_swift.c
app_swift.c:33:19: error: swift.h: No such file or directory
app_swift.c:113: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before                                                   âswift_cbâ
app_swift.c: In function âswift_execâ:
app_swift.c:195: error: âswift_engineâ undeclared (first use in this function)
app_swift.c:195: error: (Each undeclared identifier is reported only once
app_swift.c:195: error: for each function it appears in.)
app_swift.c:195: error: âengineâ undeclared (first use in this function)
app_swift.c:196: error: âswift_portâ undeclared (first use in this function)
app_swift.c:196: error: âportâ undeclared (first use in this function)
app_swift.c:197: error: âswift_voiceâ undeclared (first use in this function)
app_swift.c:197: error: âvoiceâ undeclared (first use in this function)
app_swift.c:198: error: âswift_paramsâ undeclared (first use in this function)
app_swift.c:198: error: âparamsâ undeclared (first use in this function)
app_swift.c:199: error: âswift_result_tâ undeclared (first use in this function)
app_swift.c:199: error: expected â;â before âsresultâ
app_swift.c:200: error: âswift_background_tâ undeclared (first use in this funct                                                  ion)
app_swift.c:200: error: expected â;â before âtts_streamâ
app_swift.c:219: warning: implicit declaration of function âswift_engine_openâ
app_swift.c:224: warning: implicit declaration of function âswift_params_newâ
app_swift.c:225: warning: implicit declaration of function âswift_params_set_str                                                  ingâ
app_swift.c:232: warning: implicit declaration of function âswift_params_set_int                                                  â
app_swift.c:234: warning: implicit declaration of function âswift_port_openâ
app_swift.c:239: warning: implicit declaration of function âswift_port_set_voice                                                  _by_nameâ
app_swift.c:244: error: âSWIFT_EVENT_AUDIOâ undeclared (first use in this functi                                                  on)
app_swift.c:244: error: âSWIFT_EVENT_ENDâ undeclared (first use in this function                                                  )
app_swift.c:245: warning: implicit declaration of function âswift_port_set_callb                                                  ackâ
app_swift.c:245: error: âswift_cbâ undeclared (first use in this function)
app_swift.c:247: warning: implicit declaration of function âSWIFT_FAILEDâ
app_swift.c:247: warning: implicit declaration of function âswift_port_speak_tex                                                  tâ
app_swift.c:247: error: âtts_streamâ undeclared (first use in this function)
app_swift.c:366: error: âsresultâ undeclared (first use in this function)
app_swift.c:366: warning: implicit declaration of function âswift_port_stopâ
app_swift.c:366: error: âSWIFT_EVENT_NOWâ undeclared (first use in this function                                                  )
app_swift.c:377: warning: implicit declaration of function âswift_port_closeâ
app_swift.c:378: warning: implicit declaration of function âswift_engine_closeâ
make: *** [app_swift.o] Error 1
gcc -I/opt/swift/include -g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC   -c -o app_s                                                  wift.o app_swift.c
app_swift.c:33:19: error: swift.h: No such file or directory
app_swift.c:113: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before                                                   âswift_cbâ
app_swift.c: In function âswift_execâ:
app_swift.c:195: error: âswift_engineâ undeclared (first use in this function)
app_swift.c:195: error: (Each undeclared identifier is reported only once
app_swift.c:195: error: for each function it appears in.)
app_swift.c:195: error: âengineâ undeclared (first use in this function)
app_swift.c:196: error: âswift_portâ undeclared (first use in this function)
app_swift.c:196: error: âportâ undeclared (first use in this function)
app_swift.c:197: error: âswift_voiceâ undeclared (first use in this function)
app_swift.c:197: error: âvoiceâ undeclared (first use in this function)
app_swift.c:198: error: âswift_paramsâ undeclared (first use in this function)
app_swift.c:198: error: âparamsâ undeclared (first use in this function)
app_swift.c:199: error: âswift_result_tâ undeclared (first use in this function)
app_swift.c:199: error: expected â;â before âsresultâ
app_swift.c:200: error: âswift_background_tâ undeclared (first use in this funct                                                  ion)
app_swift.c:200: error: expected â;â before âtts_streamâ
app_swift.c:219: warning: implicit declaration of function âswift_engine_openâ
app_swift.c:224: warning: implicit declaration of function âswift_params_newâ
app_swift.c:225: warning: implicit declaration of function âswift_params_set_str                                                  ingâ
app_swift.c:232: warning: implicit declaration of function âswift_params_set_int                                                  â
app_swift.c:234: warning: implicit declaration of function âswift_port_openâ
app_swift.c:239: warning: implicit declaration of function âswift_port_set_voice                                                  _by_nameâ
app_swift.c:244: error: âSWIFT_EVENT_AUDIOâ undeclared (first use in this functi                                                  on)
app_swift.c:244: error: âSWIFT_EVENT_ENDâ undeclared (first use in this function                                                  )
app_swift.c:245: warning: implicit declaration of function âswift_port_set_callb                                                  ackâ
app_swift.c:245: error: âswift_cbâ undeclared (first use in this function)
app_swift.c:247: warning: implicit declaration of function âSWIFT_FAILEDâ
app_swift.c:247: warning: implicit declaration of function âswift_port_speak_tex                                                  tâ
app_swift.c:247: error: âtts_streamâ undeclared (first use in this function)
app_swift.c:366: error: âsresultâ undeclared (first use in this function)
app_swift.c:366: warning: implicit declaration of function âswift_port_stopâ
app_swift.c:366: error: âSWIFT_EVENT_NOWâ undeclared (first use in this function                                                  )
app_swift.c:377: warning: implicit declaration of function âswift_port_closeâ
app_swift.c:378: warning: implicit declaration of function âswift_engine_closeâ
make: *** [app_swift.o] Error 1
ln: creating symbolic link `/usr/bin/swift' to `/opt/swift/bin/swift': File exis                                                  ts
sed: can't read /etc/asterisk/swift.conf: No such file or directory



STOPPING ASTERISK

Disconnected from Asterisk server
Asterisk Stopped

STOPPING FOP SERVER
FOP Server Stopped
SETTING FILE PERMISSIONS
Permissions OK

STARTING ASTERISK
Asterisk Started

STARTING FOP SERVER
FOP Server Started
Your application(s) is (are) not registered
Installation completed.
To purchase a license, go here: https://www.cepstral.com/cgi-bin/store/home
Choose US English, Allison-8kHz, Linux.
Save 20% by using promo code: REALLUSIONTTS
To register your installed copy of Cepstral, type: swift --reg-voice
 

cjkeeme

Guru
Joined
Jun 18, 2008
Messages
203
Reaction score
0
Any insight into this? Is anyone else having trouble installing this voice?
 

bitherder

New Member
Joined
Oct 24, 2007
Messages
1
Reaction score
0
Cepstral, Allison and GPC2

Here is what I did to get Cepstral running on my GPC2. I started with a fresh install
of PIAF. Then I applied the configuration and updates as detailed in the NV articles.
Like cjkeeme and Ashley, I got a long list of errors when I ran install-cepstral. I think
the built-in installer fails because it tries to use the 64 bit version of Cepstral.

So, back to the install CDs and then after configuration and updates, I logged in as
root and executed the following commands. Cepstral with Allison now works as expected.


Code:
cd /root

wget http://downloads.cepstral.com/cepstral/i386-linux/Cepstral_Allison-8kHz_i386-linux_5.0.0.tar.gz

tar -zxvf Cepstral*

cd Cepstral_Allison-8kHz_i386-linux_5.0.0

./install.sh

echo /opt/swift/lib > /etc/ld.so.conf.d/cepstral.conf

ldconfig

cd /usr/src

wget http://www.loopfree.net/app_swift/app_swift-0.9.1.tar.gz

tar -zxvf app_swift*

rm *.gz

cd app_swift-0.9.1

make

make install

ln -s /opt/swift/bin/swift /usr/bin/swift

sed -i 's|David-8kHz|Allison-8kHz|' /etc/asterisk/swift.conf

amportal restart

asterisk -rx "core show application swift"
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
My apologies to all those with the Orgasmatron. Just add the following two lines of code after logging in as root. Then you can use the install-cepstral script that is already in place...
Code:
sed -i 's|Cepstral_Allison-8kHz_x86-64|Cepstral_Allison-8kHz_i386|' /usr/local/sbin/install-cepstral
sed -i 's|x86-64-linux|i386-linux|' /usr/local/sbin/install-cepstral
install-cepstral
 

Members online

No members online now.

Forum statistics

Threads
25,782
Messages
167,509
Members
19,202
Latest member
pbxnewguy
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top