blueZ를 우선 linux에 설치해보기로 함
http://www.bluez.org/download/
checking for GLIB... no
configure: error: GLib >= 2.28 is required
에러를 만남
GLIB를 설치하기로 함
https://launchpad.net/glib/+milestone/2.28.7
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
에러를 만남
$apt-get install gettext
cd glib-2.28.7
$./configure
$make
$make install
GLIB 설치 완료됨
configure: error: D-Bus >= 1.4 is required
에러를 만남
$apt-get install dbus
1.4.14 설치 되나 제대로 해결되지 않음
configure: error: D-Bus >= 1.4 is required
동일한 에러를 만남
source를 받아서 설치하기로 함
https://launchpad.net/ubuntu/+source/dbus/1.4.6-1ubuntu6
checking for XML_ParserCreate_MM in -lexpat... no
configure: error: Could not find expat.h, check config.log for failed attempts
에러를 만남
http://downloads.sourceforge.net/expat/expat-2.0.1.tar.gz
$cd expat-2.0.1
$./configure
$make
$make install
$cd dbus-1.4.6
$./configure
$make
$make install
D-BUS 설치 됨
checking for USB... no
configure: error: USB library support is required
에러를 만남
$apt-get install libusb-dev
http://sourceforge.net/projects/libusb/files/
받아서 설치함
libusb-1.0.9
checking for UDEV... no
configure: error: libudev >= 143 is required
에러를 만남
$apt-get install libudev-dev
checking for ICAL... no
configure: error: libical is required
에러를 만남
$apt-get install libical-dev
checking for readline/readline.h... no
configure: error: readline header files are required
에러를 만남
http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
leadline download
$cd readline-6.2
$./configure
$make
$make install
readline 설치함
checking sytemd system unit dir... configure: error: systemd system unit directory is required
에러를 만남
./configure --disable-systemd
힘겨운 configure 지나감
$make
/usr/local/lib/libreadline.so: undefined reference to `tputs'
/usr/local/lib/libreadline.so: undefined reference to `tgoto'
/usr/local/lib/libreadline.so: undefined reference to `tgetflag'
/usr/local/lib/libreadline.so: undefined reference to `UP'
/usr/local/lib/libreadline.so: undefined reference to `tgetent'
/usr/local/lib/libreadline.so: undefined reference to `tgetnum'
/usr/local/lib/libreadline.so: undefined reference to `PC'
/usr/local/lib/libreadline.so: undefined reference to `tgetstr'
/usr/local/lib/libreadline.so: undefined reference to `BC'
collect2: ld returned 1 exit status
에러를 만남
./configure --disable-systemd
$apt-get install libreadline-gplv2-dev
$apt-get build-dep libreadline-gplv2-dev
$cd /usr/local/lib
$ln -s /usr/lib/libreadline.so ./libreadline.so
드이어 make 됨
'Programming > android' 카테고리의 다른 글
android Kitkat 을 VMware에 설치해보자 (0) | 2014.07.13 |
---|---|
format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive] (0) | 2013.12.19 |
linker.cpp error (0) | 2013.12.19 |
Android Version & Source tree (0) | 2013.09.13 |
LogFilter : Android Log viewer MFC version (0) | 2013.09.11 |
build error (0) | 2013.07.02 |
bluez scan (3) | 2013.04.03 |
blueZ install at ubuntu 12.04 (5) | 2013.04.02 |
android 환경구축 (1) | 2013.03.28 |
[eclipse] Failed to create the Java Virtual Machine (0) | 2013.01.16 |