Difference between revisions of "OpenBTS: Ubuntu 11.10 Install"

From OnnoWiki
Jump to navigation Jump to search
Line 25: Line 25:
 
  autoreconf -i
 
  autoreconf -i
 
  ./configure --with-usrp1
 
  ./configure --with-usrp1
make
 
  
  ./configure
+
Lakukan sedikit debugging untuk sqlite3
 +
 
 +
  cd /usr/local/src/openbts-P2.8.0Opelousas/sqlite3
 +
vi Makefile
 +
 
 +
ubah
 +
 
 +
AM_CXXFLAGS = -Wall -lpthread
 +
 
 +
menjadi
 +
 
 +
AM_CXXFLAGS = -Wall -lpthread -ldl
 +
 
 +
Save file, lanjutkan proses compile
 +
 
 
  make clean
 
  make clean
 
  make all
 
  make all
 
  make  
 
  make  
 
  make install
 
  make install
 
  
 
==Referensi==
 
==Referensi==

Revision as of 19:17, 8 February 2012

Instalasi Paket Pendukung dan Asterisk

Instalasi paket / library pendukung tambahan

sudo apt-get install autoconf libtool libosip2-dev libortp-dev \
libusb-1.0-0-dev g++ sqlite3 libsqlite3-dev erlang \
asterisk asterisk-mysql


Install OpenBTS

Download source code dari

http://www.openbts.org
http://sourceforge.net/projects/openbts/

Sebagai user biasa Lakukan

cp openbts-P2.8.0Opelousas.tar.gz /usr/local/src/
cd /usr/local/src/
tar zxvf openbts-P2.8.0Opelousas.tar.gz
cd /usr/local/src/openbts-P2.8.0Opelousas
autoreconf -i
./configure --with-usrp1

Lakukan sedikit debugging untuk sqlite3

cd /usr/local/src/openbts-P2.8.0Opelousas/sqlite3
vi Makefile

ubah

AM_CXXFLAGS = -Wall -lpthread

menjadi

AM_CXXFLAGS = -Wall -lpthread -ldl

Save file, lanjutkan proses compile

make clean
make all
make 
make install

Referensi

Pranala Menarik

Catatan Sejarah