Hi, am hoping someone can help me with this. I am trying to build ARSperl-1.91 (a module for accessing the Remedy trouble ticketing system) on Strawberry Perl 5.16 on Windows Server 2008 R2 .

I started the install with cpan: install JMURPHY/ARSperl-1.91

That errored on the 'perl Makefile.PL' because that needs to be edited to include the path to the ARS libraries.

So I dropped out of cpan at that point and went to the build directory D:\strawberry\cpan\build\ARSperl-1.91-UzxqZ9, made the edit to Makefile.PL, and ran the 'perl Makefile.PL', it seemed to run normally.

For the make I am using the 'dmake' that comes with Strawberry. That gives me the error below, I am stuck for now on this and there is not much in Google on ARSperl, it is kind of obscure. I am hoping to get some ideas on what to try next.

Thanks!

D:\strawberry\cpan\build\ARSperl-1.91-UzxqZ9>dmake
...
gcc -c -I"D:\Integrations\arapi/include" -s -O2 -DWIN32 -DPERL_TEXTMODE_S CRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bit fields -s -O2 -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" "-ID:\strawberry\ perl\lib\CORE" -D_WIN32 -Wno-unused-variable -Wuninitialized -DARS32 -DARS4 52 -DPERL_PATCHLEVEL_IS=16 -DPERL_SUBVERSION_IS=1 -DPERL_BASEREV_IS=50 ARS.c
In file included from ARS.xs:27:0:
supportrev.h:105:12: error: conflicting types for 'strcasecmp'
supportrev.h:107:12: error: conflicting types for 'strncasecmp'
dmake: Error code 129, while making 'ARS.o'

The lines it is complaining about are
D:\strawberry\cpan\build\ARSperl-1.91-UzxqZ9>grep casecmp *.h
supportrev.h:/* roll our own strcasecmp and strncasecmp for Win */
supportrev.h:EXTERN int strcasecmp(char *s1, char *s2);
supportrev.h:EXTERN int strncasecmp(char *s1, char *s2, size_t n);


In reply to Build ARSperl-1.91 in Strawberry by geolobrad

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.