728x90

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 됨


728x90

+ Recent posts