[OE-core] [RFT][PATCH] curl: disable curl-config binconfig file

Andre McCurdy armccurdy at gmail.com
Tue Feb 2 04:18:45 UTC 2016


On Mon, Feb 1, 2016 at 6:23 PM, Burton, Ross <ross.burton at intel.com> wrote:
>
> On 1 February 2016 at 21:49, Andre McCurdy <armccurdy at gmail.com> wrote:
>>
>> This works OK for me, but probably needs wider testing.
>
> python-pycurl fails in oe-core:
>
> DEBUG: Executing shell function do_compile
> Traceback (most recent call last):
>   File
> "/data/poky-master/tmp/work/corei7-64-poky-linux/python-pycurl/7.21.5-r0/pycurl-7.21.5/setup.py",
> line 743, in <module>
>     ext = get_extension(sys.argv,
> split_extension_source=split_extension_source)
>   File
> "/data/poky-master/tmp/work/corei7-64-poky-linux/python-pycurl/7.21.5-r0/pycurl-7.21.5/setup.py",
> line 497, in get_extension
>     ext_config = ExtensionConfiguration(argv)
>   File
> "/data/poky-master/tmp/work/corei7-64-poky-linux/python-pycurl/7.21.5-r0/pycurl-7.21.5/setup.py",
> line 71, in __init__
>     self.configure()
>   File
> "/data/poky-master/tmp/work/corei7-64-poky-linux/python-pycurl/7.21.5-r0/pycurl-7.21.5/setup.py",
> line 113, in configure_unix
>     raise ConfigurationError(msg)
> __main__.ConfigurationError: `curl-config' not found -- please install the
> libcurl development files or specify --curl-config=/path/to/curl-config:
> ERROR: /usr/bin/curl-config should not be used, use an alternative such as
> pkg-config

Thanks. Unfortunately I don't see a clean solution for this. The
setup.py script uses curl-config to determine which ssl implementation
curl has been built against and that information isn't available from
pkg-config.

It's probably fixable with some surgery, but I'm not sure it's worth
the maintenance effort just so we can disable curl binconfig...

Please drop my "curl: disable curl-config binconfig file" patch.

> Ross



More information about the Openembedded-core mailing list