Closed UgiNyaa closed 3 years ago
Thanks for the report. If you don't mind, could you please send a PR fixing the issue? I'm a bit far away from my personal computer.
(I'll add an "install" test later.)
On Mon, Jul 19, 2021, 07:02 Ugi @.***> wrote:
I noticed that in commit abf0d8e https://github.com/lpereira/lwan/commit/abf0d8e7520d482839f620203e3589e56b5b1e68 the files queue.c and queue.h were removed. The source reference of queue.c inside src/lib/CMakeLists.txt was also removed, but not the queue.h reference on line 161: https://github.com/lpereira/lwan/blob/4f5ecdeb75bd2dc1855997dcb52924fc53a71ac8/src/lib/CMakeLists.txt#L161
This error doesn't cause much problems unless you try to install lwan as a library with its corresponding header files. At this point I imagine the build system tries to copy the queue.h header file to its suitable place, but doesn't find the file. I encountered this error today and was able to fix it by removing the queue.h line in src/lib/CMakeLists.txt.
Steps to reproduce the error:
- cd lwan
- mkdir build && cd build
- cmake ..
- make
- make install (needs root privileges)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lpereira/lwan/issues/306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADVGP3NGRQNYWPSQZFPT3TYQV5JANCNFSM5ATYRHXA .
I noticed that in commit abf0d8e7520d482839f620203e3589e56b5b1e68 the files
queue.c
andqueue.h
were removed. The source reference ofqueue.c
insidesrc/lib/CMakeLists.txt
was also removed, but not thequeue.h
reference on line 161: https://github.com/lpereira/lwan/blob/4f5ecdeb75bd2dc1855997dcb52924fc53a71ac8/src/lib/CMakeLists.txt#L161This error doesn't cause much problems unless you try to install lwan as a library with its corresponding header files. At this point I imagine the build system tries to copy the
queue.h
header file to its suitable place, but doesn't find the file. I encountered this error today and was able to fix it by removing thequeue.h
line insrc/lib/CMakeLists.txt
.Steps to reproduce the error:
cd lwan
mkdir build && cd build
cmake ..
make
make install
(needs root privileges)