--- Sisyphus wrote:
>
> Robert Johnson wrote:
> >
> > Installing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Win32/API/API.dll
> > Installing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Win32/API/libAPI.dll.a
> > Files found in blib/arch: installing files in blib/lib into architecture
> > dependent library tree
> > Writing /usr/lib/perl5/site_perl/5.8/cygwin/auto/Win32/API/.packlist
> > Appending installation info to /usr/lib/perl5/5.8/cygwin/perllocal.pod
> >
>
> I don't see any mention of API.pm having been installed ? I'm not really
> sure about Cygwin's perl directory structure - I think you should at least
> have the file X/Win32/API.pm where 'X' denotes one of the @INC directories
> (probably '/usr/lib/perl5/site_perl/5.8/cygwin/').
it is there, but it is the old one, not the one im trying to update to.
[EMAIL PROTECTED] /usr/lib/perl5/site_perl/5.8/cygwin/Win32
$ ls -ltr
-r--r--r-- 1 RJohnson mkgroup-l-d 15018 Feb 11 2002 API.pm
>
> Instead of running:
> $ perl t/test.t
> try:
> $ perl -Mblib t/test.t
that works. it no longer segfaults, and also prints my "print $lpbuffer line":
[EMAIL PROTECTED] ~/Win32-API-0.21
$ perl -Mblib t/test.t
1..2
ok 1
ok 2
lpbuffer = c:\DOCUME~\RJohnson\LOCALS~\Temp\
make install still does the exact same thing as reported above.
but your simple test script to test the use Win32::API still segfaults with a
coredump.
and the original problem, Win32::SerialPort still dies on all tests
(coredumps). you suggest its probably not finding the (correct?) Win32 API. I
dont know why its not installing the API.pm.... i can't just copy the new
API.pm into that directory can i?
just for the record, here is my perl -V return. maybe theres something
obviously wrong in my setup, that im not aware of?
---------------------------------------------------------------------
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=cygwin, osvers=1.5.12(0.11642), archname=cygwin-thread-multi-64int
uname='cygwin_nt-4.0 loreley 1.5.12(0.11642) 2004-11-10 08:34 i686 unknown
unknown cygwin '
config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Doptimize=-O3
-Dman3ext=3pm'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include'
ccversion='', gccversion='3.4.1 (cygming special)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -ldb -lcrypt -lgdbm_compat
perllibs=-lcrypt -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under cygwin
Compiled at Jan 27 2005 11:10:54
%ENV:
PERL5LIB="C:\Program Files\ActiveState Perl Dev Kit 6.0
Deployment\lib\;C:\Perl\lib;C:\Perl\site\lib"
CYGWIN=""
@INC:
C
\Program Files\ActiveState Perl Dev Kit 6.0 Deployment\lib\;C
\Perl\lib;C
\Perl\site\lib
/usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8
.
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs