Oh Monks,

I have installed Develperside.net's Apache2/ModPerl package on my Win2k desktop. It uses a standard build of perl from CPAN and has no PPM utility like activeperl. So, you must build any modules you want to add.

I built a few common modules without problem once I found nmake.exe, cl.exe and a few other utilities that were needed and put them into the PATH. I even got DBD::Sybase installed.

I converted my web application to mod_perl and all was good until I wanted to set it all up on our production Win2k server. I can't get DBD::Sybase installed. When I run nmake I get

cl -c -Ic:\sybase/OCS-12_5/include -IC:/www/perl/site/lib/auto/DBI - +no logo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAV +E_DES_FCRY PT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSV +CRT_READFI X -MD -Zi -DNDEBUG -O1 -DVERSION=\"1.02\" -DXS_VERSION=\"1.02\" " +-I\www\per l\lib\CORE" Sybase.c Sybase.c \www\perl\lib\CORE\perl.h(380) : fatal error C1083: Cannot open includ +e file: 's ys/types.h': No such file or directory NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop.

It might be that since my desktop has visual studio installed that it has something that is needed? The weird thing is that on my desktop there is no 'sys/types.h' under the perl/lib/CORE either but for some reason it was not a problem.

I searched the web and pepplers site with no luck yet. I did see one related reference that indicated that a module might have been intended for linux if it's looking for 'sys/types.h'. Hmmmmm. Does anyone have any suggestions?


In reply to Troubles installing Dbd::Sybase by noslenj123

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.