Revised procedure:

Trying cmake on another OS.  Managed to make it this far.  Please no lectures 
about "root", I'm a SysAdmin and understand the consequences.  This is a test 
VM I had available, and it has no user accounts (and I didn't feel like 
making any for this simple test).  ;-)


yum install gcc gcc-c++ gtk2-devel make svn libarchive libtool-ltdl-devel \
libsamplerate-devel libsndfile-devel \
xorg-x11-xauth xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi \
xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-fonts-ISO8859-1-75dpi \
xorg-x11-fonts-Type1 xorg-x11-fonts-misc


# sox wasn't new enough, so installed it from a separate download:
wget 
http://downloads.sourceforge.net/project/sox/sox/14.4.1/sox-14.4.1.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsox%2Ffiles%2Fsox%2F14.4.1%2F&ts=1370976210&use_mirror=hivelocity
tar xzvf sox-14.4.1.tar.gz
cd sox-14.4.1
./configure
make
sudo make install
# You may want to do "rpm -e sox sox-devel" if you have sox already installed 
via RPM and no other apps depend on it.  If other apps depend on it, you can 
leave it installed but you'll need to make sure that "/usr/local/" comes before 
system paths for the compile/link/load.


# cmake wasn't new enough, so installed it from a separate download:
cd ..
wget 
ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/cathay4t:/misc-rhel6/CentOS_CentOS-6/x86_64/cmake-2.8.9-3.1.x86_64.rpm
rpm -U cmake-2.8.9-3.1.x86_64.rpm


# Portaudio
wget http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz
tar xzvf pa_stable_v19_20111121.tgz
cd papa_stable_v19_20111121
./configure
make
sudo make install


# Hamlib
# Download hamlib from: 
http://sourceforge.net/projects/hamlib/files/hamlib/1.2.15.3/hamlib-1.2.15.3.tar.gz/download?use_mirror=iweb
tar xzvf hamlib-1.2.15.3.tar.gz
cd hamlib-1.2.15.3
./configure
make
sudo make install


# Download and install WxWidgets 2.9.4 from:
#
# http://www.wxwidgets.org/downloads/
#
tar xjvf wxWidgets-2.9.4.tar.bz2
cd wxWidgets-2.9.4
./configure
make
sudo make install


# Download and install libctb:
#
wget https://iftools.com/download/ctb/0.16/libctb-0.16.tar.gz
tar xzvf libctb-0.16.tar.gz
cd libctb-0.16/build
make -f GNUmakefile
sudo make -f GNUmakefile install
# Copy a forgotten include file into /usr/local/include area:
sudo cp ../include/ctb_0.16/kbhit.h /usr/local/include/ctb-0.16/.


# Check out and install FreeDV:
#
mkdir freetel
cd freetel
svn checkout http://freetel.svn.sourceforge.net/svnroot/freetel freetel-code
cd freetel-code/fdmdv2
mkdir linux_build
cd linux_build
rm CMakeCache.txt; cmake .. -DUSE_STATIC_CODEC2=1

# NOTE:  You may need to install additional libraries via "yum", then
# retry the above "cmake" command until it completes successfully.

make clean
make
sudo make install


-- 
Curt, WE7U.        http://wetnet.net/~we7u
APRS Client Capabilities:  http://wetnet.net/~we7u/aprs_capabilities.html

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to