maxmind/libmaxminddb

No such file or directory at ./compile_c++_t.pl line 91. FAIL: compile_c++_t.pl

yjxxin opened this issue · 1 comments

yjxxin commented

hello, I'm getting the following error when running make check:

PASS: threads_t
ok 1 - MMDB_lib_version exists
ok 2 - version is 1.7.1
1..2
PASS: version_t
No such file or directory at ./compile_c++_t.pl line 91.
FAIL: compile_c++_t.pl

ok 1 - nm returned a non-error status
ok 2 - /builddir/build/BUILD/libmaxminddb-1.7.1/t/../src/.libs/libmaxminddb.so exports only MMDB_ symbols
1..2
PASS: external_symbols_t.pl

The libmaxminddb version I am using is 1.7.1. How should I solve this error or can I circumvent this test?
Looking forward to your reply, thank you!

horgh commented

You need a C++ compiler installed for that test. By default it will look for c++ in your PATH. (If you want to override c++, you could set the CXX environment variable, but that wouldn't normally be necessary).

If you're using Ubuntu, you could install the g++ package I believe.