Front page | perl.perl5.porters |
Postings from April 2000
perl 5.6.0 on cygwin/win32
Thread Next
From:
paul van der Meij
Date:
April 12, 2000 13:23
Subject:
perl 5.6.0 on cygwin/win32
Message ID:
38F4E560.C9ABCA9A@wxs.nl
L.S.
I have generated perl version 5.6.0 OK on Cygwin B20.1 with 'late'
snapshots, and
am trying to generate additional win32-perl modules.
question:
am I doing something that is possible, or can I only use the mingw32 gcc
environment for this purpose ???
I generated 'Win32API-Registry-0.17' (I did perl Makefile.PL POLLUTE=1),
without errors but
it does not work
---------
perl test.pl (from the WIN32API... module) results in
1..139
"REG_LEGAL_CHANGE_FILTER" is not implemented by the Win32API::Registry
module on
this architecture at test.pl line 12
Can't continue after import errors at test.pl line 12
BEGIN failed--compilation aborted at test.pl line 12.
--------
Generating libwin32-0.151 results in more errors
----------
make
gcc -c -fno-strict-aliasing -DPERL_POLLUTE -DUSEIMPORTLIB -O
-DVERSION=\"0
.07\" -DXS_VERSION=\"0.07\" -I/opt/perl/5.6.0/cygwin/lib/CORE File.c
In file included from /opt/perl/5.6.0/cygwin/lib/CORE/win32.h:484,
from /opt/perl/5.6.0/cygwin/lib/CORE/perl.h:1649,
from File.xs:15:
/opt/perl/5.6.0/cygwin/lib/CORE/win32iop.h:213: warning: `clearerr'
redefined
/opt/gnu/b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-c
ygwin32/include/stdio.h:285: warning: this is the location of the
previous defin
ition
In file included from /opt/perl/5.6.0/cygwin/lib/CORE/perl.h:1649,
from File.xs:15:
/opt/perl/5.6.0/cygwin/lib/CORE/win32.h:79: redefinition of `struct tms'
/opt/perl/5.6.0/cygwin/lib/CORE/win32.h:348: warning: redefinition of
`caddr_t'
/opt/gnu/b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-c
ygwin32/include/sys/types.h:69: warning: `caddr_t' previously declared
here
File.xs: In function `constant':
File.xs:80: `F3_120M_512' undeclared (first use in this function)
File.xs:80: (Each undeclared identifier is reported only once
File.xs:80: for each function it appears in.)
make[1]: *** [File.o] Error 1
make: *** [subdirs] Error 2
--------------------------------
perl -V
---------------------------------------
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=cygwin, osvers=1.1.0(0.1832), archname=cygwin
uname='cygwin_nt-4.0 pc2 1.1.0(0.1632) 2000-02-01 00:25:56 i686
unknown '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=unde
f
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef
usesocks=undef
Compiler:
cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release)
cppflags='-fno-strict-aliasing'
ccflags ='-fno-strict-aliasing'
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
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize
=4
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /opt/gnu/b20/H-i586-cygwin32/i586-cygwin32/lib
/usr/li
b
libs=-lm -lcygwin -lkernel32
libc=/opt/gnu/b20/H-i586-cygwin32/i586-cygwin32/lib/libc.a, so=dll,
useshrpl
ib=true, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Locally applied patches:
v5.6.0-RC3
Built under cygwin
Compiled at Apr 10 2000 22:55:45
@INC:
/usr/perl/lib
/usr/perl/site_perl
/opt/perl/5.6.0/cygwin/lib
/opt/perl/5.6.0/lib
/opt/perl/cygwin/site_perl
/opt/perl/site_perl
--
Paul van der Meij, Hengelo, the Netherlands
Thread Next
-
perl 5.6.0 on cygwin/win32
by paul van der Meij