Perl DBD::Sybase 1.14.01 for Active State Perl 5.16 Windows XP/Vista/7/8 32bit AND 64bit
Sybase Openclient is included in the Sybase Developer’s Kit, and ASE PC Client. If you don’t have a license, you can download the ASE 15.7 Developer Edition for Windows which will include it. The PPMs require Openclient 15.7 for Windows.
Install ActiveState Perl from http://www.activestate.com (free) and install DBI if it isn’t already installed. It should be but you never know…
Now, the easy part. Install the DBD-Sybase-1.14 1.14 PPM:
- download DBD-Sybase-1.14
- extract zip file to temporary directory (e.g. c:\test)
- Start -> Run -> cmd.exe (as Administrator)
- cd \test
- ppm install DBD-Sybase.ppd
- exit
That’s it It should automatically install the DBD::Sybase for Perl 5.16 32bit or 64bit depending on which version of Active State Perl you have installed.
If you want to know how I built the PPMs, take a look at HOWTO: Building Perl module DBD::Sybase 1.14 on Windows (32bit or 64bit) with ActiveState Perl 5.16, Microsoft Visual Studio and Sybase OpenClient 15.7
Jason,
DBD::Sybase (Peppler version) can also be used with ActiveState Perl on Solaris... I had a friend that built ActiveState Perl on Solaris so that it would exactly match his PC installation. After a little work, I had the DBD::Sybase drivers working too.
Cory Sane
Cory,
That is wonderful to hear! I need to figure out how to build Sybase Openclient with the MinGW compiler (http://mingw-w64.sourceforge.net/) as I can't justify the need to purchase another Microsoft Visual Studio license.
As a last resort, if I can't get it to work with MinGW, I might have to use the FreeTDS libraries. I would prefer to stay with Openclient as it has a far more complete API when dealing with Sybase database systems.
Jason