|
|
sybperl-l Archive
Up Prev Next
From: "Jason L dot Froebe" <jason at froebe dot net>
Subject: Re: Need help building DBD::Sybase on Windows
Date: Sep 18 2007 6:22PM
Hey Rob,
You're trying too hard! :) Michael already has an active state module
waiting for ya. Exact instructions are at
http://froebe.net/blog/2006/08/05/how-to-install-dbdsybase-on-windows-using-activestate-perl/
but it is basically just downloading the file and installing it.
jason
--- Rob Verschoor wrote:
> Folks,
>
> I'm trying to install DBD::Sybase on Windows but without success so
> far.
> I did follow the hints I found elsewhere and installed 'nmake', but
> still
> the build blows up, as shown below. I cannot figure out what's going
> wrong.
> For the record: Perl itself (v.5.8.8; ActiveState) is working just
> fine on
> this WinXP box.
>
> Wisdom much appreciated here.
> Thanks in advance,
>
> Rob V.
>
>
> cpan> install Sybase::CTlib
> [...]
> cp CTlib.pm ..\blib\lib\Sybase\CTlib.pm
> AutoSplitting ..\blib\lib\Sybase\CTlib.pm
> (..\blib\lib\auto\Sybase\CTlib)
> C:\Perl\bin\perl.exe
> C:\Perl\lib\ExtUtils\xsubpp -prototypes -typemap
> C:\Perl\lib\ExtUtils\typemap CTlib.xs > CTlib.xsc &&
> C:\Perl\bin\perl.exe -MExtUtils::Command -e mv CTlib.xsc CTlib.c
> gcc -c -Id:\syb150/OCS-15_0\include -DNDEBUG -DWIN32
> -D_CONSOLE
> -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -
> DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
> -DUSE_PERLIO
> -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2
> -DVERSION=\"2.18\"
> -DXS_VERSION=\"2.18\"
> "-IC:\Perl\lib\CORE" -DCTLIBVS=100 -DSYBPLVER=\"2.18\"
> -DDO_TIE CTlib.c
> gcc: no input files
> NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return
> code
> '0x1'
> Stop.
> NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return
> code
> '0x2'
> Stop.
> nmake -- NOT OK
> Running make test
> Can't test without successful make
> Running make install
> make had returned bad status, install seems impossible
>
>
> ---------------------------------------------------------------
> Rob Verschoor
>
> Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0
> and Replication Server 12.5
>
> Author of Sybase books (order online at www.sypron.nl/shop):
> "Tips, Tricks & Recipes for Sybase ASE" (ASE 15 edition)
> "The Complete Sybase ASE Quick Reference Guide"
> "The Complete Sybase Replication Server Quick Reference Guide"
>
> mailto:rob@sypron.nl
> http://www.sypron.nl
> Sypron B.V., Buziaustraat 24, 3034WD Rotterdam, The Netherlands
> ---------------------------------------------------------------
>
>
Jason L. Froebe
WebBlog http://jfroebe.livejournal.com
Tech log http://www.froebe.net/blog
Froebe Fibers http://www.froebe-fibers.com
|