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: RE: Sybperl 2.10 installation on NT 4.0
Date: Jan 7 1999 11:57AM

hello Michael,

Your work around doesn't work well because I have then another errors
(tooooooooooo many). Somebody else told me to try to compile with the
option -D_WIN32 and not -DWIN32 but it doesn't work too.

On my PC, I have two perl installation.
When I run the "perl Makefile.PL" command with the oldest version (the
perl5_00402-bindist04-bc.zip distribution), I can then compile and test
successfully the sybperl module with the perl newer version (the
sybperl-2_10_tar.gz distribution).

thanks for your help

F.Pochet

===========================================================
here are the make file generated by:

the perl5_00402-bindist04-bc.zip distribution:
 

the sybperl-2_10_tar.gz distribution:
 

===========================================================
here is the two output of the perl -V command:

the perl5_00402-bindist04-bc.zip distribution:

Summary of my perl5 (5.0 patchlevel 4 subversion 02) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32
    uname=''
    hint=recommended, useposix=true, d_sigaction=undef
    bincompat3=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cl', optimize='-O', gccversion=
    cppflags='-DWIN32'
    ccflags ='-MD -DWIN32'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=n, randbits=15
  Linker and Libraries:
    ld='link', ldflags ='-nologo -subsystem:windows'
    libpth=c:\Program Files\DevStudio\Vc\lib
    libs=oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.li
b advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib
wsock32.
lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
    libc=msvcrt.lib, so=dll
    useshrplib=undef, libperl=undef
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='', lddlflags='-dll'


Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING
  Built under MSWin32
  Compiled at Aug  9 1997 21:42:37
  %ENV:
    PERL5LIB=";"
  @INC:

    C:\UTILITIES\PERL\lib\site
    C:\UTILITIES\PERL\lib
    c:\perl\lib
    c:\perl\lib\site
    c:\perl\lib\site
    .

the sybperl-2_10_tar.gz distribution:

Summary of my perl5 (5.0 patchlevel 5 subversion 02) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-object
    uname=''
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cl.exe', optimize='-Od -MD -DNDEBUG -TP -GX', gccversion=
    cppflags='-DWIN32'
    ccflags ='-Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT
-DPERL_O
BJECT'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release -machine:x86'
    libpth=C:\Progra~1\DevStudio\VC\lib
    libs= oldnames.lib kernel32.lib user32.lib gdi32.lib  winspool.lib
comdlg32.
lib advapi32.lib shell32.lib ole32.lib  oleaut32.lib netapi32.lib
uuid.lib wsock
32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib
PerlCRT.lib
    libc=PerlCRT.lib, so=dll, useshrplib=yes, libperl=perlcore.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release
-machine:x86'



Characteristics of this binary (from libperl):
  Built under MSWin32
  Compiled at Dec 23 1998 15:26:13
  %ENV:
    PERL5LIB=";"
  @INC:

    C:\UTILITIES\PERL\5.00502\lib/MSWin32-x86-object
    C:\UTILITIES\PERL\5.00502\lib
    C:\UTILITIES\PERL\site\5.00502\lib
    C:\UTILITIES\PERL\site\lib
    .
===========================================================

==========================================
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
==========================================

> ----------
> From: 	Michael Peppler[SMTP:mpeppler@MBAY.NET]
> Reply To: 	SYBPERL-L@listproc.net
> Sent: 	mercredi 6 janvier 1999 18:58
> To: 	SybPerl Discussion List
> Cc: 	sybperl-l@listproc.net
> Subject: 	Sybperl 2.10 installation on NT 4.0
> 
> >>>>> "Frederic" == Frederic Pochet  writes:
> 
> Frederic> Hello Michael, I agree with you, I don't find any executable
> Frederic> code at line 735.  I send you my distribution of sybperl and
> Frederic> the sybase include files of version 11.5.1 for NT with the
> Frederic> EBF 8021 for open client (so I have OC 11.1.1).
> 
> OK - I though this was familiar.
> 
> The problem is that CS_VOID is not defined.
> 
> One quick fix would be to add 
> 
> EXTRA_DEFS=-DDO_TIE -DCS_VOID=void
> 
> in the CONFIG file and then rebuild...
> 
> Michael
> -- 
> Michael Peppler         -||-  Data Migrations Inc.
> mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
> Int. Sybase User Group  -||-  http://www.isug.com
> Sybase on Linux mailing list: ase-linux-list@isug.com
>