FS#28123 - [yaml-cpp] wrong clfags in yaml-cpp.pc
Attached to Project:
Community Packages
Opened by Anton Bazhenov (manwithgrenade) - Friday, 27 January 2012, 09:33 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 28 January 2012, 22:34 GMT
Opened by Anton Bazhenov (manwithgrenade) - Friday, 27 January 2012, 09:33 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 28 January 2012, 22:34 GMT
|
Details
Description:
When trying to compile a program using yaml-cpp, it fails with message: fatal error: yaml.h: No such file or directory After doing some research I found the error in the file: /usr/lib/pkgconfig/yaml-cpp.pc This line: Cflags: -I${includedir} should be changed to: Cflags: -I${includedir}/yaml-cpp After this change compilation finished without any problems. Additional info: * package version - yaml-cpp 0.2.7-1 Steps to reproduce: * Try to compile a program using yaml-cpp. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Saturday, 28 January 2012, 22:34 GMT
Reason for closing: Not a bug
Saturday, 28 January 2012, 22:34 GMT
Reason for closing: Not a bug
Feel free to link to this issue. I'm closing it though as it is an easy fix for upstream.
Reopen it in case upstream thinks this should be changed downstream.