Hi Monks, I just trying to install the Bloomberg API Perl for Windows that is available at: http://www.bloomberglabs.com, however I'm getting an error "conflinting types for 'mkstemp'..." the complete screen is as follows:

Microsoft Windows [Versión 6.1.7601] Copyright (c) 2009 Microsoft Corporation. Reservados todos los derecho +s. C:\Users\JuanC\Desktop\downloads\blpapi_perl_3.5.1.1>perl Makefile.PL Set up gcc environment - gcc.exe (i686-posix-dwarf-rev0, Built by MinG +W-W64 proj ect) 5.2.0 Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lblpapi3_32 Note (probably harmless): No library found for -lkernel32 Note (probably harmless): No library found for -luser32 Note (probably harmless): No library found for -lgdi32 Note (probably harmless): No library found for -lwinspool Note (probably harmless): No library found for -lcomdlg32 Note (probably harmless): No library found for -ladvapi32 Note (probably harmless): No library found for -lshell32 Note (probably harmless): No library found for -lole32 Note (probably harmless): No library found for -loleaut32 Note (probably harmless): No library found for -lnetapi32 Note (probably harmless): No library found for -luuid Note (probably harmless): No library found for -lws2_32 Note (probably harmless): No library found for -lmpr Note (probably harmless): No library found for -lwinmm Note (probably harmless): No library found for -lversion Note (probably harmless): No library found for -lodbc32 Note (probably harmless): No library found for -lodbccp32 Note (probably harmless): No library found for -lcomctl32 Note (probably harmless): No library found for -lmsvcrt Writing Makefile for Bloomberg::API::Internal C:\Users\JuanC\Desktop\downloads\blpapi_perl_3.5.1.1>dmake cp lib/Bloomberg/API/ResolutionList.pm blib\lib\Bloomberg\API\Resoluti +onList.pm cp lib/Bloomberg/API/EventFormatter.pm blib\lib\Bloomberg\API\EventFor +matter.pm cp lib/Bloomberg/API/AbstractSession.pm blib\lib\Bloomberg\API\Abstrac +tSession.p m cp lib/Bloomberg/API/Session.pm blib\lib\Bloomberg\API\Session.pm cp lib/Bloomberg/API/Request.pm blib\lib\Bloomberg\API\Request.pm cp lib/Bloomberg/API/Service.pm blib\lib\Bloomberg\API\Service.pm cp lib/Bloomberg/API/Exception.pm blib\lib\Bloomberg\API\Exception.pm cp lib/Bloomberg/API/Constant.pm blib\lib\Bloomberg\API\Constant.pm cp lib/Bloomberg/API/CorrelationId.pm blib\lib\Bloomberg\API\Correlati +onId.pm cp lib/Bloomberg/API/Event.pm blib\lib\Bloomberg\API\Event.pm cp lib/Bloomberg/API/Identity.pm blib\lib\Bloomberg\API\Identity.pm cp lib/Bloomberg/API/SessionOptions.pm blib\lib\Bloomberg\API\SessionO +ptions.pm cp lib/Bloomberg/API/SubscriptionList.pm blib\lib\Bloomberg\API\Subscr +iptionList .pm cp lib/Bloomberg/API/ConstantList.pm blib\lib\Bloomberg\API\ConstantLi +st.pm cp lib/Bloomberg/API/Error.pm blib\lib\Bloomberg\API\Error.pm cp lib/Bloomberg/API/Message.pm blib\lib\Bloomberg\API\Message.pm cp lib/Bloomberg/API/Datetime.pm blib\lib\Bloomberg\API\Datetime.pm cp lib/Bloomberg/API/Name.pm blib\lib\Bloomberg\API\Name.pm cp lib/Bloomberg/API/ProviderSession.pm blib\lib\Bloomberg\API\Provide +rSession.p m cp lib/Bloomberg/API/Topic.pm blib\lib\Bloomberg\API\Topic.pm cp lib/Bloomberg/API/TopicList.pm blib\lib\Bloomberg\API\TopicList.pm cp lib/Bloomberg/API/Schema.pm blib\lib\Bloomberg\API\Schema.pm cp lib/Bloomberg/API.pm blib\lib\Bloomberg\API.pm cp lib/Bloomberg/API/Element.pm blib\lib\Bloomberg\API\Element.pm cp lib/Bloomberg/API/Operation.pm blib\lib\Bloomberg\API\Operation.pm cp lib/Bloomberg/API/Internal.pm blib\lib\Bloomberg\API\Internal.pm C:/PROGRA~1/MINGW-~1/I686-5~1.0-P/mingw32/bin/gcc.exe -c -I. -I/inclu +de -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECU +STOMIZE -D PRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_ +PERLIO -DP ERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields +-O2 -DVERSION=\"3.5.1.1\" -DXS_VERSION=\"3.5.1.1\" "-IC:\Perl\l +ib\CORE" bloomberg_api_internal_wrap.c In file included from C:\Perl\lib\CORE/win32thread.h:4:0, from C:\Perl\lib\CORE/perl.h:2826, from bloomberg_api_internal_wrap.c:731: C:\Perl\lib\CORE/win32.h:295:13: error: conflicting types for 'mkstemp +' extern int mkstemp(const char *path); ^ In file included from C:\Perl\lib\CORE/perl.h:676:0, from bloomberg_api_internal_wrap.c:731: C:/PROGRA~1/MINGW-~1/I686-5~1.0-P/mingw32/i686-w64-mingw32/include/std +lib.h:381: 15: note: previous declaration of 'mkstemp' was here int __cdecl mkstemp(char *template_name); ^ In file included from C:\Perl\lib\CORE/win32.h:356:0, from C:\Perl\lib\CORE/win32thread.h:4, from C:\Perl\lib\CORE/perl.h:2826, from bloomberg_api_internal_wrap.c:731: C:\Perl\lib\CORE/sys/socket.h:34:0: warning: "ENOTSOCK" redefined #define ENOTSOCK WSAENOTSOCK ^ In file included from C:\Perl\lib\CORE/perl.h:1215:0, from bloomberg_api_internal_wrap.c:731: C:/PROGRA~1/MINGW-~1/I686-5~1.0-P/mingw32/i686-w64-mingw32/include/err +no.h:146:0 : note: this is the location of the previous definition #define ENOTSOCK 128 ^ In file included from bloomberg_api_internal_wrap.c:732:0: C:\Perl\lib\CORE/XSUB.h:565:0: warning: "popen" redefined # define popen PerlProc_popen ^ In file included from C:\Perl\lib\CORE/win32.h:105:0, from C:\Perl\lib\CORE/win32thread.h:4, from C:\Perl\lib\CORE/perl.h:2826, from bloomberg_api_internal_wrap.c:731: C:/PROGRA~1/MINGW-~1/I686-5~1.0-P/mingw32/i686-w64-mingw32/include/std +io.h:499:0 : note: this is the location of the previous definition #define popen _popen ^ In file included from bloomberg_api_internal_wrap.c:732:0: C:\Perl\lib\CORE/XSUB.h:566:0: warning: "pclose" redefined # define pclose PerlProc_pclose ^ In file included from C:\Perl\lib\CORE/win32.h:105:0, from C:\Perl\lib\CORE/win32thread.h:4, from C:\Perl\lib\CORE/perl.h:2826, from bloomberg_api_internal_wrap.c:731: C:/PROGRA~1/MINGW-~1/I686-5~1.0-P/mingw32/i686-w64-mingw32/include/std +io.h:500:0 : note: this is the location of the previous definition #define pclose _pclose ^ bloomberg_api_internal_wrap.c:1596:34: fatal error: blpapi_correlation +id.h: No s uch file or directory compilation terminated. dmake: Error code 129, while making 'bloomberg_api_internal_wrap.o' C:\Users\JuanC\Desktop\downloads\blpapi_perl_3.5.1.1>
Can you please help me to fix the problem? Thanks in advance, JCM

In reply to Bloomberg API installation by jc_perlfan

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.