PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Pantera, Joseph F dot " <jpantera at gibsondunn dot com>
Subject: RE: Failure of "nmake" with Sybperl 2.13 and Win32...
Date: Oct 26 2001 7:07PM

Disregard...  Windows thing...  I altered my %SYBASE% to be
C:\PROGRA~1\SYBASE and it worked.

- Joe Pantera

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
Joseph F. Pantera      	Unix, Database & Network Systems Administrator
                        Gibson Dunn & Crutcher LLP
                        mail: jpantera@gibsondunn.com
                        phone:  (213) 229-7673
                   	fax:    (213) 229-6673
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-

>  -----Original Message-----
> From: 	Pantera, Joseph F.  
> Sent:	Friday, October 26, 2001 11:48 AM
> To:	SybPerl Discussion List
> Subject:	Failure of "nmake" with Sybperl 2.13 and Win32...
> 
> Sybperl / Michael:
> 	I am trying to compile Sybperl on a Win32 machine (Windows 2000)
> with the Visual C++ (6.0) compiler and the Sybase 12.0 OpenClient
> installed (locally).  When I try to run "nmake" I get the following error,
> which appears to (??) be due to fact the compiler is placing the back-tick
> (\) in the OpenClient "include" path.  I have checked, and the
> "ctpublic.h" file that is causing the "missing" error, is in deeded
> located in "C:\PROGRAM FILES\SYBASE\OCS-12_0\INCLUDE" 
> (%SYBASE%\%SYBASE_OCS%\INCLUDE).  All of my Sybase variables are set as
> follows:
> 
> SYBASE=c:\program files\sybase
> SYBASE_OCS=OCS-12_0
> 
> Any ideas on how to resolve this issue?  Perhaps the OpenClient 12.X logic
> with "%SYBASE_OCS%" does not work with nmake?  Thanks in advance...
> 
> - Joe Pantera
> 
> My "nmake" run:
> 
> C:\downloads\perl\sybperl-2.13>nmake
> 
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> 
> Skip ..\blib\lib\Sybase\CTlib.pm (unchanged)
>         cl -c -Ic:\program files\sybase/OCS-12_0\include -nologo -O1 -MD
> -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
> -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD
> -DNDEBUG    -DVERSION=\"2.13\"  -DXS_VERSION=\"2.13\"  -IC:\Perl\lib\CORE
> -DCTLIBVS=100 -DSYBPLVER=\"2.13\" -DDO_TIE CTlib.c
> Command line warning D4024 : unrecognized source file type
> 'files\sybase/OCS-12_0\include', object file assumed
> Command line warning D4027 : source file 'files\sybase/OCS-12_0\include'
> ignored
> 
> CTlib.c
> CTlib.xs(41) : fatal error C1083: Cannot open include file: 'ctpublic.h':
> No such file or directory
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> -=-
> Joseph F. Pantera      	Unix, Database & Network Systems
> Administrator
>                         Gibson Dunn & Crutcher LLP
>                         mail: jpantera@gibsondunn.com
>                         phone:  (213) 229-7673
>                    	fax:    (213) 229-6673
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> -=-
> 

==============================================================================

This message may contain confidential and privileged information.  If it has been sent to you in error, please reply to advise the sender of the error and then immediately delete this message.
"PLEASE NOTE: Our e-mail and web site address has changed to gibsondunn.com"

==============================================================================