bison
bison copied to clipboard
Can't build with conan, using clang compiler, having dependencies as shared libs
Can't build with conan, using clang compiler, having dependencies as shared libs
relates to https://github.com/conan-io/conan-center-index/issues/8325
Hi.
Thanks for the report.
I don't use conan. How can you reproduce this failure using the stock procedure? IOW, how do you run ./configure to be able to reproduce this?
Thanks in advance.
@AndreyMlashkin
Could you please tell me what I need to do to reproduce this? Thanks in advance!
Heja,
I have the same problem w/ Conan and Ubuntu 22.04. The configure cmdline is:
source_subfolder/configure '--enable-relocatable' '--disable-nls' '--datarootdir=/home/dev/.conan/data/bison/3.8.2/_/_/package/2ee0a31eb4f26154d5ef39493ec07c75d5b460fa/res' '--prefix=/home/dev/.conan/data/bison/3.8.2/_/_/package/2ee0a31eb4f26154d5ef39493ec07c75d5b460fa' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include'
I've attached the config.log below:
It appears that building flex (v2.6.4) as static lib instead of as shared lib works around the issue.