[sr-dev] [kamailio/kamailio] Phonenum not in the package for RHEL (#1867)
sergey-safarov
notifications at github.com
Wed Feb 27 10:42:40 CET 2019
EPEL 6 contains `protobuf-2.3.0`
EPEL 7 contains `protobuf-2.5.0`
Fedora 29 contains `protobuf-3.5.0`
On `CentOS 6` we have `libphonenum` compilation error
```
[ 117s] /usr/include/google/protobuf/repeated_field.h: In function 'i18n::phonenumbers::PhoneNumberUtil::ValidationResult i18n::phonenumbers::<unnamed>::TestNumberLength(const std::string&, const i18n::phonenumbers::PhoneMetadata&, i18n::phonenumbers::PhoneNumberUtil::PhoneNumberType)':
[ 117s] /usr/include/google/protobuf/repeated_field.h:130: error: 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = int]' is private
[ 117s] /home/abuild/rpmbuild/BUILD/libphonenumber-8.10.6/cpp/src/phonenumbers/phonenumberutil.cc:334: error: within this context
[ 117s] /usr/include/google/protobuf/repeated_field.h:130: error: 'google::protobuf::RepeatedField<Element>::RepeatedField(const google::protobuf::RepeatedField<Element>&) [with Element = int]' is private
[ 117s] /home/abuild/rpmbuild/BUILD/libphonenumber-8.10.6/cpp/src/phonenumbers/phonenumberutil.cc:336: error: within this context
[ 117s] /usr/include/google/protobuf/repeated_field.h:130: error: 'void google::protobuf::RepeatedField<Element>::operator=(const google::protobuf::RepeatedField<Element>&) [with Element = int]' is private
[ 117s] /home/abuild/rpmbuild/BUILD/libphonenumber-8.10.6/cpp/src/phonenumbers/phonenumberutil.cc:359: error: within this context
```
If you can find 'libphonenum' that works on `CentOS 6` and also can be compiled on `Fedora 29` then i can add this version to OBS repo.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1867#issuecomment-467794003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190227/fd2cb0f6/attachment.html>
More information about the sr-dev
mailing list