bison icon indicating copy to clipboard operation
bison copied to clipboard

Can't build with conan, using clang compiler, having dependencies as shared libs

Open AndreyMlashkin opened this issue 3 years ago • 4 comments

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

AndreyMlashkin avatar Aug 22 '22 08:08 AndreyMlashkin

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.

akimd avatar Sep 04 '22 07:09 akimd

@AndreyMlashkin

Could you please tell me what I need to do to reproduce this? Thanks in advance!

akimd avatar Sep 20 '22 05:09 akimd

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:

config.log

Cogitri avatar Nov 29 '22 08:11 Cogitri

It appears that building flex (v2.6.4) as static lib instead of as shared lib works around the issue.

Cogitri avatar Nov 29 '22 08:11 Cogitri