Difference between revisions of "How to build IoTivity on Centos"
From Klaus' wiki
(Created page with "From [https://wiki.iotivity.org/build_iotivity_with_ubuntu_build_machine this page] I've deducted what's needed to install IoTivity on Centos (7.4). First a number of depende...") |
(No difference)
|
Revision as of 15:30, 7 October 2017
From this page I've deducted what's needed to install IoTivity on Centos (7.4).
First a number of dependencies needs to be installed:
]$ sudo yum install git scons libtool autoconf valgrind doxygen wget \ unzip boost-devel boost-program-options boost-thread uuid-devel \ expat-devel glib2-devel libsqlite3x-devel libcurl-devel perl-CBOR-XS
Next get the sources. At time of writing this is the link to use, but it may change as time passes http://mirrors.kernel.org/iotivity/1.3.0/iotivity-1.3.0.tar.gz
Create a directory to work in and let everybody have access (not usually recommended, but for this quick hack it is OK)
]$ sudo mkdir /home/IoTivity ]$ sudo chmod 777 /home/IoTivity ]$ cd /home/IoTivity ]$ wget http://mirrors.kernel.org/iotivity/1.3.0/iotivity-1.3.0.tar.gz ]$ tar zxvf iotivity-1.3.0.tar.gz
Next dive into the iotivity directory and run scons
]$ cd iotivity-1.3.0 ]$ scons
Scons yaks about a perl threading program that is needed, so clone it from github
]$ git clone https://github.com/01org/tinycbor.git extlibs/tinycbor/tinycbor -b v0.4.1