Trying to install app-swift on CentOS

Posted on 2009-04-25
Last Modified: 2013-12-21
Trying to install app-swift, following instruction from:

I am trying to install app-swift using instruction from url above.

Here's the log:

[trixbox gcc-4.4.0]# cd /usr/src
[trixbox src]# wget
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12497 (12K) [application/x-tar]
Saving to: `app_swift-1.4.2.tar.gz'

100%[=======================================>] 12,497      61.8K/s   in 0.2s

22:47:19 (61.8 KB/s) - `app_swift-1.4.2.tar.gz' saved [12497/12497]

[trixbox src]# tar -zxvf app_swift*
tar: app_swift-1.4.2: 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-1.4.2.tar.gz: Not found in archive
tar: app_swift-1.6.2: Not found in archive
tar: Error exit delayed from previous errors
[trixbox src]# cd app_swift-1.4.2
[trixbox app_swift-1.4.2]# make
gcc -I/opt/swift/include -g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC   -c -o app_swift.o app_swift.c
make: gcc: Command not found
make: *** [app_swift.o] Error 127
[trixbox app_swift-1.4.2]# make install
if ! [ -f /etc/asterisk/swift.conf ]; then \
                install -m 644 swift.conf.sample /etc/asterisk/swift.conf ; \
if [ -f ]; then \
                install -m 755 /usr/lib/asterisk/modules ; \
[trixbox app_swift-1.4.2]#


Please help, I've been working on this the whole night...

Question by:davidlu766
    LVL 32

    Expert Comment

    by:Kamran Arshad

    Seems corrupt package. Have you tried to Install it from different location?

    Author Comment

    Is it possible that gcc is not installed? And I did tried a different location...
    LVL 32

    Expert Comment

    by:Kamran Arshad
    What is the result of ?

    #gcc -v

    Author Comment

    -bash: gcc: command not found

    How do I install gcc? I think it's not installed.
    LVL 32

    Accepted Solution


    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now