conda-forge / re2-feedstock

A conda-smithy repository for re2.
BSD 3-Clause "New" or "Revised" License
2 stars 12 forks source link

pkgconfig not available in conda package #14

Closed wesm closed 8 months ago

wesm commented 6 years ago

Tools that rely on pkgconfig cannot find the installed package in $ENV/lib/pkgconfig

scopatz commented 6 years ago

Hi @wesm - I am a little unclear about what you mean here. Are you saying downstream tools cannot find re2 via pkg-config?

wesm commented 6 years ago

On closer look, it doesn't appear that re2 supports pkgconfig. This is probably something that we should fix upstream in re2. cc @kou

kou commented 6 years ago

re2 supports pkg-config (re2.pc) with Makefile build but doesn't support with CMake build.

If we use Makefile instead of CMake, we can support pkg-config.

Or we can support pkg-config by we add pkg-config support to CMake build in upstream. I've sent an e-mail to re2-dev for this: https://groups.google.com/forum/#!topic/re2-dev/bZmRcjZ1PjY

kou commented 6 years ago

https://groups.google.com/forum/#!msg/re2-dev/bZmRcjZ1PjY/_3tuSm7sAAAJ re2 developers don't expect to use CMake by users who have GNU make. It may be better that we use Makefile instead of CMake in build.sh.

wesm commented 6 years ago

That's fine with me

h-vetinari commented 8 months ago

Recent re2 builds contain lib/pkgconfig/re2.pc, so closing this as outdated.