Trouble installing DBD::Sybase on Windows 2000 server
- From: joel.l.nelson@xxxxxxxx (Joel L Nelson)
- Date: Wed, 25 May 2005 16:51:15 -0700
I am using the "DeveloperSide.net" installation of Apache2/ModPerl2 which
requires that I build modules manually rather than using PPM.
I was able to get it installed on my Win2k desktop after copying files like
(nmake,cl,etc) to a directory in my path. But I can't get it installed on a
Win2k server that does not have ms-dev studio on it. But I don't know if
that's reason. This is what happens......
I kept getting error from cl.exe due to header files like sys/types.h not
found. I copied all of them from my dev studio box but now run into problems I
have no idea how to solve. I could find nothing to help in the net.
Does anyone have a clue about how to compile the module? Can I compile on one
machine and copy to the other?
This is what happens......
> \www\perl\bin\perl makefile.pl PREFIX=/www/perl
Have C:\www\perl\lib\Config.pm expected \www\perl\lib\Config.pm
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [lib]
Config says: [MSWin32-x86-multi-thread]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
Note (probably harmless): No library found for -llibtcl.lib
Note (probably harmless): No library found for -llibcomn.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
Using DBI 1.46 (for perl 5.008006 on MSWin32-x86-multi-thread) installed in
C:/w
ww/perl/site/lib/auto/DBI/
Writing Makefile for DBD::Sybase
> nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
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
-DHAVE_DES_FCRY
PT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFI
X -MD -Zi -DNDEBUG -O1 -DVERSION=\"1.02\" -DXS_VERSION=\"1.02\"
"-I\www\per
l\lib\CORE" Sybase.c
Sybase.c
Sybase.xs(43) : warning C4013: 'syb_set_timeout' undefined; assuming extern
retu
rning int
Sybase.xs(70) : warning C4013: 'syb_st_cancel' undefined; assuming extern
return
ing int
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
-DHAVE_DES_FCRY
PT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFI
X -MD -Zi -DNDEBUG -O1 -DVERSION=\"1.02\" -DXS_VERSION=\"1.02\"
"-I\www\per
l\lib\CORE" dbdimp.c
dbdimp.c
dbdimp.c(530) : warning C4018: '>' : signed/unsigned mismatch
dbdimp.c(1805) : warning C4101: 'STATES' : unreferenced local variable
dbdimp.c(2669) : warning C4018: '!=' : signed/unsigned mismatch
dbdimp.c(3461) : warning C4244: '=' : conversion from 'long ' to 'unsigned char
', possible loss of data
Running Mkbootstrap for DBD::Sybase ()
C:\www\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Sybase.bs
link -out:blib\arch\auto\DBD\Sybase\Sybase.dll -Lc:\sybase/OCS-12_5/lib
-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"\www\perl\lib\CORE"
-
machine:x86 Sybase.obj dbdimp.obj \www\perl\lib\CORE\perl58.lib
c:\sybase\OCS
-12_5\lib\libct.lib c:\sybase\OCS-12_5\lib\libcs.lib -def:Sybase.def
LINK : warning LNK4044: unrecognized option "Lc:\sybase/OCS-12_5/lib"; ignored
Creating library blib\arch\auto\DBD\Sybase\Sybase.lib and object
blib\arch\au
to\DBD\Sybase\Sybase.exp
Sybase.obj : error LNK2001: unresolved external symbol _strcmp
dbdimp.obj : error LNK2001: unresolved external symbol _strcmp
Sybase.obj : error LNK2001: unresolved external symbol __fltused
dbdimp.obj : error LNK2001: unresolved external symbol __fltused
Sybase.obj : error LNK2001: unresolved external symbol __imp__sprintf
dbdimp.obj : error LNK2001: unresolved external symbol __imp__sprintf
dbdimp.obj : error LNK2001: unresolved external symbol __imp__strrchr
dbdimp.obj : error LNK2001: unresolved external symbol _strcpy
dbdimp.obj : error LNK2001: unresolved external symbol __imp__strchr
dbdimp.obj : error LNK2001: unresolved external symbol __imp__strncpy
dbdimp.obj : error LNK2001: unresolved external symbol _strlen
dbdimp.obj : error LNK2001: unresolved external symbol __imp__strstr
dbdimp.obj : error LNK2001: unresolved external symbol __imp__atoi
dbdimp.obj : error LNK2001: unresolved external symbol __imp___strnicmp
dbdimp.obj : error LNK2001: unresolved external symbol __imp___pctype
dbdimp.obj : error LNK2001: unresolved external symbol __imp___isctype
dbdimp.obj : error LNK2001: unresolved external symbol __imp____mb_cur_max
dbdimp.obj : error LNK2001: unresolved external symbol _memset
dbdimp.obj : error LNK2001: unresolved external symbol __ftol
dbdimp.obj : error LNK2001: unresolved external symbol __imp__strtok
dbdimp.obj : error LNK2001: unresolved external symbol __imp__strncmp
dbdimp.obj : error LNK2001: unresolved external symbol __imp__strspn
dbdimp.obj : error LNK2001: unresolved external symbol __imp__atof
dbdimp.obj : error LNK2001: unresolved external symbol _strcat
dbdimp.obj : error LNK2001: unresolved external symbol __imp__strtol
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
blib\arch\auto\DBD\Sybase\Sybase.dll : fatal error LNK1120: 23 unresolved
extern
als
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
American Express made the following
annotations on 05/25/05 16:57:41
------------------------------------------------------------------------------
******************************************************************************
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."
******************************************************************************
==============================================================================
.
- Prev by Date: Re: [cgiapp] Re: Yet another callback system proposal
- Next by Date: RE: How to store query results in an array?
- Previous by thread: Re: [cgiapp] Re: Yet another callback system proposal
- Next by thread: Re: DBD::Oracle patch
- Index(es):
Relevant Pages
|
|