Hello!
I'm having trouble with successfully setting up DBD::Sybase on win32
platform. I have perl. v5.10.0 installed successfully. I have downloaded
the DBD-Sybase-1.08.tar.gz file. With Winzip, uncompressed and untarred
the files. However please help me with my CONFIG file. How do I
successfully set my variables. I have copy and pasted the error msgs
below. I first ran the Makefile.PL in C:\Program
Files\Perl\DBD-Sybase\DBD-Sybase-1.08 folder. That didn't work. Then I
ran the Makefile.PL in C:\Progam Files\Sybase\DBD-Sybase\DBD-Sybase-1.08
folder. I got the same error msgs. It can't seem to find the Sybase
libraries. What should I configure or which variable to set so I can run
this script succesfully. The only change to my CONFIG file is:
SYBASE=$ENV{SYBASE}||'C:\Sybase' Is this correct syntax? Should also
add to EXTRA_LIBS= ? If so, would this be correct
EXTRA_LIBS='C:\Sybase\lib' ?
X:\>perl -v
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 5 registered patches, see perl -V for more detail)
Copyright 1987-2007, Larry Wall
Binary build 1003 [285500] provided by ActiveState
http://www.ActiveState.com
Built May 13 2008 16:52:49
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to
the
Internet, point your browser at http://www.perl.org/, the Perl Home
Page.
X:\>
Error msgs from Makefile.PL: I'm attaching text file. Pls review.
Thank you for any input to help and support!
Gennie
--------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information.Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies of
the original message. If you are the intended recipient, please be advised that
the content of this message is subject to access, review and disclosure by the
sender's Email System Administrator.
--------------------------------------------------------
X:\My Sandbox\Perl\DBD-Sybase\DBD-Sybase-1.08>perl Makefile.PL
Unknown Client Library version - assuming FreeTDS.
By default DBD::Sybase 1.05 and later use the 'CHAINED' mode (where available)
when 'AutoCommit' is turned off. Versions 1.04 and older instead managed
the transactions explicitly with a 'BEGIN TRAN' before the first DML
statement. Using the 'CHAINED' mode is preferable as it is the way that
Sybase implements AutoCommit handling for both its ODBC and JDBC drivers.
Checking if your kit is complete...
Looks good
Unable to find a perl 5 (by these names: C:\Program Files\Perl\bin\perl.exe per
.exe perl5.exe perl5.10.0.exe miniperl.exe, in these dirs: . C:\Program Files\P
rl\site\bin C:\Program Files\Perl\bin C:\Program Files\site\bin C:\Program File
\bin C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\Sybase\DLL C:\S
base\BIN C:\sybtools\WIN32 C:\sybtools\ASEP C:\Program Files\QuickTime\QTSystem
C:\Program Files\Perl\bin)
Note (probably harmless): No library found for -llibtcl.lib
Note (probably harmless): No library found for -llibintl.lib
Note (probably harmless): No library found for -lm
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for ws2_32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
*** Warning: whitespace characters in the current directory path (X:/My Sandbox
Perl/DBD-Sybase/DBD-Sybase-1.08) may cause problems
*** You're using Microsoft Visual C++ compiler or similar but
the LIB and INCLUDE environment variables are not both set.
You need to run the VCVARS32.BAT batch file that was supplied
with the compiler before you can use it.
A copy of vcvars32.bat can typically be found in the following
directories under your Visual Studio install directory:
Visual C++ 6.0: vc98\bin
Visual Studio .NET: vc7\bin
Find it, run it, then retry this.
If you think this error is not correct then just set the LIB and
INCLUDE environment variables to some value to disable the check.
X:\My Sandbox\Perl\DBD-Sybase\DBD-Sybase-1.08>