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: =?iso-8859-1?Q?Pochet_Fr=E9d=E9ric?= <Frederic dot Pochet at cockerill-sambre dot com>
Subject: Sybperl 2.10 installation on NT 4.0
Date: Jan 5 1999 5:04PM

hello,

I try to install sybperl 2.10 but the installation abort when it try to
compile ctlib.c.
the command "Perl Makefile.pl" works fine.
The error arise when I issue the command nmake . Here are the messages:
/***********************************************************************
*********/
F:\Temp\sybperl-2.10>nmake

Microsoft (R) Program Maintenance Utility   Version 1.62.7022
Copyright (C) Microsoft Corp 1988-1997. All rights reserved.

        cl.exe -c -ID:\Syb1151\include -Od -MD -DNDEBUG -TP -GX -DWIN32
-D_CONSO
LE -DNO_STRICT -DPERL_OBJECT -Od -MD -DNDEBUG -TP -GX
-DVERSION=\"2.10\"  -D
XS_VERSION=\"2.10\"
-IC:\UTILITIES\PERL\5.00502\lib\MSWin32-x86-object\CORE -DC
TLIBVS=100 -DSYBPLVER=\"2.10\" -DDO_TIE CTlib.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 11.00.7022 for
80x86
Copyright (C) Microsoft Corp 1984-1997. All rights reserved.

CTlib.c
D:\Syb1151\include\cstypes.h(735) : error C2143: syntax error : missing
';' befo
re '->'
D:\Syb1151\include\cstypes.h(735) : error C2238: unexpected token(s)
preceding '
;'
CTlib.xs(230) : error C2065: 'info' : undeclared identifier
CTlib.xs(230) : error C2065: 'key' : undeclared identifier
CTlib.xs(230) : error C2065: 'keylen' : undeclared identifier
CTlib.xs(230) : error C2275: 'sv' : illegal use of this type as an
expression
CTlib.xs(230) : error C2065: 'flag' : undeclared identifier
CTlib.xs(231) : error C2040: 'attr_store' : 'int' differs in levels of
indirecti
on from 'int (struct _con_info *,char *,int,struct sv *,int)'
CTlib.xs(231) : error C2146: syntax error : missing ';' before
identifier 'ConIn
fo'
CTlib.xs(231) : fatal error C1004: unexpected end of file found
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
/***********************************************************************
*********/

My C compiler is the VC++ v5.0.
The error doesn't arise when I try to nmake the version 2.09.

Any help/suggestions would be greatly appreciated!

Thanks in advance.

F.Pochet

==========================================
Frederic Pochet
DBA DB Distribuees

Cockerill Sambre

*
Rue Vieille Fosse
B-4400 Flemalle
Belgium

*  +32 4 236 20 71
*   +32 4 236 21 00
*  frederic.pochet@cockerill-sambre.com
==========================================