I am trying to install the DB_File in windows xp.I installed Berkeley DB.Then I also modified the config.in file,when I run perl MakeFile.pl i get this....
Set up gcc environment - 3.4.5 (mingw-vista special r3) Parsing config.in... Looks Good. Writing Makefile for DB_File Writing MYMETA.yml
but when I use dmake some error occurs.
Skip blib\lib\DB_File.pm (unchanged) C:/Perl/site/bin/gcc.exe -c -IC:\Berkeley1\include -DNDEBUG -DWIN +32 -D_CONSOLE -DNO_STRICT -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE + -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BI +T_TIME_T -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 + -DVERSION=\"1.824\" -DXS_VERSION=\"1.824\" "-IC:\Perl\lib\COR +E" -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t version +.c In file included from version.c:30: C:/Berkeley1/include/db.h:143: error: conflicting types for 'ssize_t' C:/Perl/site/lib/auto/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../i +nclude/sys/types.h:104: error: previous declaration of 'ssize_t' was +here dmake.exe: Error code 129, while making 'version.o'
what shall I do?

In reply to Problems with the installation of DB_File in WindowsXP by ayanbiz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.