If anyone else continues to have this type of problems after running
$ sudo apt-get install \
build-essential git scons libtool autoconf \
valgrind doxygen
Please let us know. I will make sure the installation of dh-autoreconf is added
to the build dependencies listed in the wiki.
Phil is correct we did not upgrade to gtest 1.7. We have been using gtest 1.7
for a while now. About 6 months ago google moved gtest from code.google.com to
github.com. Unfortunately the release package was changed enough that we
couldn?t just point our build scripts at github. As a temporary fix the build
scripts were pulling from a fedora project mirror.
I updated the build scripts to pull the release from github. I also updated
the scripts build the github code base. The linux build was already using
automake tools so with the update I continued to use the automake tools
(autoreconf). I originally wanted to just move the build to be scons only; due
to a lot of build issues I chose to not make the change to scons in the commit
that switch to the github code base.
There are two additional Jira tickets related to google test that should help
this issue
https://jira.iotivity.org/browse/IOT-1673 - Update google test to 1.8.0
https://jira.iotivity.org/browse/IOT-1672 - Update build scripts to build
google test using scons only (no dependency on automake tools or cmake)
George Nash
From: iotivity-dev-bounces at lists.iotivity.org
[mailto:[email protected]] On Behalf Of Philippe Coval
Sent: Thursday, December 15, 2016 12:43 AM
To: iotivity-dev at lists.iotivity.org
Subject: Re: [dev] build fail - [Master Branch]
On 15/12/16 07:41, ??? wrote:
Dear IoTivity Developers,
Hi,
While clone and build as shown below,
1. git clone iotivity project.
2. scons RELEASE=0 LOGGING=0
I saw a message that autoreconf could not be found.
This issue occurs because gtest is upgraded to 1.7.
yes , it wasnt really upgraded , just repacked and now using autoconf on linux
Configuring using
[/home/jasick/DEV/master/iotivity/extlibs/gtest/googletest-release-1.7.0/autoreconf
-i] ...
/bin/sh: 1: autoreconf: not found
I solved the following problem.
sudo apt-get install dh-autoreconf
dh-autoreconf is a tool for debian packaging
that pull autoconf package this is what you need
For reference please bookmark this page:
https://wiki.iotivity.org/build_iotivity_with_ubuntu_build_machine
(I've updated it recently, but maybe it should be updated also elsewhere?)
$ sudo apt-get install \
build-essential git scons libtool autoconf \
doxygen valgrind
$ sudo apt-get install \
libboost-dev libboost-program-options-dev libboost-thread-dev \
uuid-dev libexpat1-dev
$ sudo apt-get install libsqlite3-dev
Note, that iotivity master branch was broken yesterday
(after merging branches and some tests where unstable too),
so better rebase each patches before merging to make sure it is actually
verified,
Especially those in:
https://gerrit.iotivity.org/gerrit/#/q/status:open+project:iotivity+branch:master+topic:mergeback
Regards
--
mailto:philippe.coval at osg.samsung.com gpg:0x467094BC
https://blogs.s-osg.org/author/pcoval/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161215/49534b7d/attachment.html>