Skip to contentSkip to conversation

yaml-cpp: requires boost

PATCH New Fabio Porcedda 3 participants 3 messages Mar 28, 2015 – Mar 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 yaml-cpp: requires boost

The Boost C++ library is already selected in the Config.in but it was missing in the yaml-cpp.mk file.

Fix build failure:
CMake Error at /home/tetsuya/buildroot/br/output/host/usr/share/cmake-3.1/Modules/FindBoost.cmake:1182 (message):
Unable to find the requested Boost libraries.
<snip>
make: *** [/home/tetsuya/buildroot/br/output/build/yaml-cpp-0.5.1/.stamp_configured] Error 1

---
 package/yaml-cpp/yaml-cpp.mk | 2 ++
 1 file changed, 2 insertions(+)
package/yaml-cpp/yaml-cpp.mk +2 -0
index 5ebdb23..afc70bd 100644
@@ -10,4 +10,6 @@ YAML_CPP_INSTALL_STAGING = YES
 YAML_CPP_LICENSE = MIT
 YAML_CPP_LICENSE_FILES = license.txt
 
+YAML_CPP_DEPENDENCIES = boost
+
 $(eval $(cmake-package))
Signature · 1 line
2.3.4
#1 lore raw

PATCH 1/1 yaml-cpp: requires boost

Fabio, All,

On 2015-03-28 20:34 +0100, Fabio Porcedda spake thusly:

Quoted 10 lines

The Boost C++ library is already selected in the Config.in but it was missing in the yaml-cpp.mk file.

Fix build failure:
CMake Error at /home/tetsuya/buildroot/br/output/host/usr/share/cmake-3.1/Modules/FindBoost.cmake:1182 (message):
Unable to find the requested Boost libraries.
<snip>
make: *** [/home/tetsuya/buildroot/br/output/build/yaml-cpp-0.5.1/.stamp_configured] Error 1

Good catch!

Shame on me for giving my reviewed-by tag back then as I missed that dependency... :-(

Hopefully I'm not missing anything now:

Thanks! :-)

Regards,
Yann E. MORIN.

Quoted 18 lines
---
 package/yaml-cpp/yaml-cpp.mk | 2 ++
 1 file changed, 2 insertions(+)
package/yaml-cpp/yaml-cpp.mk +2 -0
index 5ebdb23..afc70bd 100644
@@ -10,4 +10,6 @@ YAML_CPP_INSTALL_STAGING = YES
 YAML_CPP_LICENSE = MIT
 YAML_CPP_LICENSE_FILES = license.txt
 
+YAML_CPP_DEPENDENCIES = boost
+
 $(eval $(cmake-package))
Signature · 1 line
2.3.4
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 yaml-cpp: requires boost

In reply to Fabio Porcedda

Dear Fabio Porcedda,

Quoted 10 lines · Fabio Porcedda

The Boost C++ library is already selected in the Config.in but it was missing in the yaml-cpp.mk file.

Fix build failure:
CMake Error at /home/tetsuya/buildroot/br/output/host/usr/share/cmake-3.1/Modules/FindBoost.cmake:1182 (message):
Unable to find the requested Boost libraries.
<snip>
make: *** [/home/tetsuya/buildroot/br/output/build/yaml-cpp-0.5.1/.stamp_configured] Error 1

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com