Subject: | Failed to install DB_File-1.839 into Linux |
I couldn't install DB_File-1.839 into Linux
```
$ cpanm -n -v -l local DB_File
...
cc -c -I/usr/local/BerkeleyDB/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -g -DVERSION=\"1.839\" -DXS_VERSION=\"1.839\" -fPIC "-I/root/perl/lib/5.24.0/x86_64-linux/CORE" -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t DB_File.c
In file included from DB_File.xs:121:0:
DB_File.xs: In function 'btree_compare':
DB_File.xs:609:21: error: 'locp' undeclared (first use in this function)
PERL_UNUSED_ARG(locp);
...
```
Full log is here: https://gist.github.com/skaji/52ceedc73799f118de191fa339f1e1ae