akihikodaki / cld3-ruby

cld3-ruby is an interface of Compact Language Detector v3 (CLD3) for Ruby.
Apache License 2.0
77 stars 22 forks source link

Detecting protobuf #8

Closed Jehops closed 7 years ago

Jehops commented 7 years ago

I'm working on updating the rubygem-cld3 package on FreeBSD. After version 3.1.1, the installation fails because of issues detecting protobuf. mkmf.log says "package configuration for protobuf is not found" and gem_make.out says "Failed to locate protobuf". Protobuf is install under /usr/local (details https://svnweb.freebsd.org/ports/head/devel/protobuf/pkg-plist?revision=439753&view=markup).

Do you have suggestions for fixing the detection of protobuf?

Jehops commented 7 years ago

Depending on pkgconfig fixed the detection issue.