noslenj123 has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Troubles installing Dbd::Sybase
by noslenj123 (Scribe) on May 26, 2005 at 18:26 UTC | |
|
Re: Troubles installing Dbd::Sybase
by derby (Abbot) on May 26, 2005 at 18:28 UTC | |
|
Re: Troubles installing Dbd::Sybase
by PodMaster (Abbot) on May 27, 2005 at 00:04 UTC | |
by noslenj123 (Scribe) on Jun 06, 2005 at 19:30 UTC |