Summary: | app-benchmarks/wrk-4.1.0 : src/wrk.h:13:10: fatal error: lua.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Vikraman (RETIRED) <vikraman> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
app-benchmarks:wrk-4.1.0:20180205-044909.log emerge-history.txt environment etc.portage.tbz2 temp.tbz2 Patch to use pkg-config instead of making assumptions about paths. |
Description
Toralf Förster
![]() Created attachment 517934 [details]
emerge-info.txt
Created attachment 517936 [details]
app-benchmarks:wrk-4.1.0:20180205-044909.log
Created attachment 517938 [details]
emerge-history.txt
Created attachment 517940 [details]
environment
Created attachment 517942 [details]
etc.portage.tbz2
Created attachment 517944 [details]
temp.tbz2
this package should have a dependency on dev-lang/lua. then it compiles fine The wrk Makefile appears to make assumptions about the paths of lua and openssl. Specifically, case in point, that luajit isn't in /usr/include/luajit-2.0 I've made a patch for Makefile, which I'll attached, that removes the assumptions, and instead uses pkg-config for cflags and libs... which then builds and runs fine for me. Created attachment 519270 [details, diff]
Patch to use pkg-config instead of making assumptions about paths.
Thanks, I have updated it with the lua dependency, and a patch for the Makefile. commit fad10b987b46a7c062dc561430ca8f04a6ce0eba Author: Vikraman Choudhury <vikraman@gentoo.org> Date: 4 hours ago app-benchmarks/wrk: Fix lua dep and patch Makefile X-Gentoo-Bug: 646692 X-Gentoo-Bug-Url: https://bugs.gentoo.org/646692 Package-Manager: Portage-2.3.13, Repoman-2.3.3 |