Mail Archives: cygwin/1999/04/20/13:27:42
Is anyone working in the cygwin b20.1 environment
on WinNT, using the perl5.005_03 binary linked
(statically or dynamically) with the cygwin libraries
*and* is able to successfully build the latest (or
any) version of the DBI modules? (I scanned the mailing
list archives and couldn't find any similar issue having
previously been raised)
Basically, after going through the README*'s and
applying the patch, using the following perl5:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=cygwin_nt-4.0, osvers=20.1, archname=cygwin32
uname='cygwin_nt-4.0 cartmanpc 20.1 (0.311) 1998-12-3 20:39:18 i686
unknown '
hint=previous, useposix=false, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='gcc2', optimize='-O', gccversion=egcs-2.91.66 19990314 (egcs-1.1.2
release)
cppflags=''
ccflags =''
stdchar='char', d_stdstdio=undef, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld', ldflags =''
libpth=/usr/H-i586-cygwin32/lib /usr/i586-cygwin32/lib
/usr/egcs-2.91.66
libs=-lcygwin -lm -lc -lkernel32 -lwsock32
libc=/usr/i586-cygwin32/lib/libc.a, so=dll, useshrplib=false,
libperl=libperl.a
Dynamic Linking:
dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
cccdlflags='-DCYGWIN32 -DDLLIMPORT ', lddlflags=''
Characteristics of this binary (from libperl):
Built under cygwin_nt-4.0
Compiled at Apr 15 1999 10:29:30
@INC:
/usr/local/lib/perl5/5.00503/cygwin32
/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/cygwin32
/usr/local/lib/perl5/site_perl
I consistently end up with the following
errors when attempting to build the latest
version (1.06) of DBI :
gcc2 -c -O -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -DCYGWIN32 -DDLLIMPORT
-I/usr/local/lib/perl5/5.00503/cygwin32/CORE -DDBI_NO_THREADS Perl.c
In file included from /usr/local/lib/perl5/5.00503/cygwin32/CORE/perl.h:1265,
from DBIXS.h:14,
from Perl.xs:1:
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:44: warning: `Error' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embed.h:23: warning: this is the location
of the previous definitionIn file included from
/usr/local/lib/perl5/5.00503/cygwin32/CORE/perl.h:1288,
from DBIXS.h:14,
from Perl.xs:1:
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cop.h:331: warning: `cxstack' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:232: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cop.h:332: warning: `cxstack_ix' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:233: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cop.h:333: warning: `cxstack_max' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:234: warning: this is the location
of the previous definition
In file included from /usr/local/lib/perl5/5.00503/cygwin32/CORE/perl.h:2133,
from DBIXS.h:14,
from Perl.xs:1:
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:869: warning: `DBsingle' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:41: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:870: warning: `DBsub' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:42: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:873: warning: `curstash' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:230: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:874: warning: `debstash' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:238: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:875: warning: `defgv' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:240: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:876: warning: `diehook' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:244: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:877: warning: `dirty' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:245: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:878: warning: `dowarn' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:251: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:879: warning: `errgv' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:256: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:881: warning: `perl_destruct_level' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:315: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:882: warning: `perldb' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:316: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:887: warning: `stdingv' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:340: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:888: warning: `sv_arenaroot' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:343: warning: this is the location
of the previous definition
/usr/local/lib/perl5/5.00503/cygwin32/CORE/embedvar.h:892: warning: `tainted' redefined
/usr/local/lib/perl5/5.00503/cygwin32/CORE/cw32imp.h:347: warning: this is the location
of the previous definition
Perl.xsi: In function `XS_DBD__Perl__db_DESTROY':
Perl.xsi:143: parse error before `('
Perl.xsi:158: parse error before `('
Perl.xsi:158: parse error before `)'
Perl.xsi:168: parse error before `('
Perl.xsi: In function `XS_DBD__Perl__st_DESTROY':
Perl.xsi:427: parse error before `('
make: *** [Perl.o] Error 1
Being relatively brand-new to Win32, this is causing
the frustration level to rise rather quickly! (I
have no problem whatsoever performing the same
build on UNIX)
Does any have any recommendations/suggestions, or
know where I could locate a pre-built perl5 binary
which already supports DBI *and* runs on cygwin
(ie, provides POSIX compatibility such as fork() ,
etc)?
Thank you in advance!
--
-----------------------------------------------------------------
Michael Goddard 600 Tech Park
"Nulli secundus"
Billerica MA 01821 1-978-916-7534
-----------------------------------------------------------------
All opinions expressed are my own, not those of Nortel Networks.
-----------------------------------------------------------------
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -