I tried above commands. But I am encountering few errors
cd GDBM_File
perl Makefile.PL
make perl
gcc -c -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\" "-I../.." GDBM_File.c
GDBM_File.xs:7:18: error: gdbm.h: No such file or directory
GDBM_File.xs:16: error: expected specifier-qualifier-list before \u2018GDBM_FILE\u2019
GDBM_File.xs:22: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018datum_key\u2019
GDBM_File.xs:23: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018datum_value\u2019
GDBM_File.xs:24: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018datum_key_copy\u2019
./const-xs.inc: In function \u2018XS_GDBM_File_AUTOLOAD\u2019:
./const-xs.inc:137: warning: format \u2018%d\u2019 expects type \u2018int\u2019, but argument 4 has type \u2018line_t\u2019
./const-xs.inc:142: warning: format \u2018%d\u2019 expects type \u2018int\u2019, but argument 4 has type \u2018line_t\u2019
GDBM_File.xs: In function \u2018XS_GDBM_File_TIEHASH\u2019:
DB_File, GDBM_File, SDBM_File, ODBM_File and NDBM_File are core perl modules. But I noticed that only SDBM_File being installed. So I am trying to install rest of the modules manually. Any help is really appreciated
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.