Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Authentication-Warning: ginger.cc.utexas.edu: grouse owned process doing -bs Date: Wed, 1 Aug 2001 13:18:44 -0500 (CDT) From: Michael Hoffman To: Cygwin Subject: Cygutils Perl module RPMs; XML::Parser, XML::DOM; Unicode Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII A quick question is: are the Cygutils perl module RPMs still being maintained? Charles Wilson reports at that there is an RPM for XML::Parser, but I cannot find it on the new Cygutils web site. I couldn't get XML::Parser to test correctly because of some Unicode issues, described below with a workaround. The reason these are failing is that perl is failing to decode literals like "\xe7\xa5\x89" as UTF-8, even with use utf8. Changing it to pack('U1',unpack('U1',"\xe7\xa5\x89")) provides a workaround. Does anyone know why I have to do this? I could not get XML::Parser to build with the latest win32bin release of expat, 1.95.2, nor could I get the source of that version to compile. The expat bugs indicate that 1.95.2 might have some cygwin problems . Sadly, I have even more trouble getting things like XML::DOM to work (due in part to failure for testing of libxml-enno-1.02). Any suggestions? Here's a more detailed summary of the tests: XML-Parser-2.30 (worked around) Failed Test Status Wstat Total Fail Failed List of Failed ------------------------------------------------------------ t/encoding.t 4 2 50.00% 2, 4 t/parament.t 12 1 8.33% 7 libxml-enno-1.02 Failed Test Status Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- t/build_dom.t 2 1 50.00% 2 t/chk_batch.t 56 21 37.50% 1, 3-4, 7, 14-15, 17-18, 21, 27-29, 31-32, 35, 41-43, 46, 49, 56 t/dom_attr.t 255 65280 23 5 21.74% 3, 20-23 t/dom_extent.t 255 65280 2 1 50.00% 2 t/dom_jp_astress.t 255 65280 4 1 25.00% 4 t/dom_jp_attr.t 255 65280 23 21 91.30% 3-23 t/dom_jp_cdata.t 3 1 33.33% 3 t/dom_jp_example.t 5 2 40.00% 3, 5 t/dom_jp_minus.t 2 1 50.00% 2 t/dom_jp_modify.t 255 65280 16 15 93.75% 2-16 t/dom_jp_print.t 255 65280 3 2 66.67% 2-3 t/dom_print.t 3 1 33.33% 2 t/xql_sin2.t 3 1 33.33% 3 Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=cygwin, osvers=1.1.6(0.3032), archname=cygwin uname='cygwin_nt-5.0 fifer 1.1.6(0.3032) 2000-11-21 21:00 i686 unknown ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -DHAS_SBRK_PROTO -fno-strict-aliasing', optimize='-O2', cppflags='-DPERL_USE_SAFE_PUTENV -DHAS_SBRK_PROTO -fno-strict-aliasing' ccversion='', gccversion='2.95.2-5 19991024 (cygwin experimental)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 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 =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -lcrypt perllibs=-lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_6_1.a 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: USE_LARGE_FILES Locally applied patches: v5.6.1-TRIAL1 Built under cygwin Compiled at Dec 21 2000 21:39:40 @INC: /usr/lib/perl5/5.6.1/cygwin /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl . Cygnus Win95/NT Configuration Diagnostics Current System Time: Wed Aug 1 14:05:39 2001 WinNT Ver 5.0 build 2195 Service Pack 2 Path: /home/root/bin /usr/local/bin /usr/bin /bin /cygdrive/c/WINNT/system32 /cygdrive/c/WINNT /cygdrive/c/WINNT/System32/Wbem . /usr/local/lib SysDir: C:\WINNT\System32 WinDir: C:\WINNT PWD = `/home/root/.cpan/build/libxml-enno-1.02/t/out' USER = `root' MAKE_MODE = `unix' HOME = `/home/root' Use `-r' to scan registry a: fd N/A N/A c: hd FAT32 18189Mb 61% CP UN d: fd N/A N/A e: cd N/A N/A f: cd N/A N/A h: net NTFS 175Mb 7% CP CS UN PA FC Users C:\cygwin\bin /usr/bin user binmode C:\cygwin\lib /usr/lib user binmode C:\cygwin / user binmode c: /cygdrive/c user binmode,noumount h: /cygdrive/h user binmode,noumount Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\sh.exe 56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll 18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll 119k 2001/06/06 C:\cygwin\bin\cygjpeg6b.dll 163k 2001/05/06 C:\cygwin\bin\cygpng2.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll 35k 2000/12/05 C:\cygwin\bin\cygitk30.dll 390k 2000/12/05 C:\cygwin\bin\cygtcl80.dll 5k 2000/12/05 C:\cygwin\bin\cygtclpip80.dll 10k 2000/12/05 C:\cygwin\bin\cygtclreg80.dll 623k 2000/12/05 C:\cygwin\bin\cygtk80.dll 49k 2001/02/03 C:\cygwin\bin\cygz.dll 21k 2001/06/20 C:\cygwin\bin\cygintl.dll 45k 2001/07/04 C:\cygwin\bin\cygjbig1.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 21k 2001/06/28 C:\cygwin\bin\cyghistory5.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 135k 2001/06/28 C:\cygwin\bin\cygreadline5.dll 245k 2001/06/12 C:\cygwin\bin\cygtiff3.dll 41k 2001/07/04 C:\cygwin\bin\cygXpm-noX4.dll 45k 2001/07/04 C:\cygwin\bin\cygXpm-X4.dll 678k 2001/05/21 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: dll major: 1003 dll minor: 2 dll epoch: 19 dll bad signal mask: 19005 dll old termios: 5 dll malloc env: 28 api major: 0 api minor: 39 shared data: 3 dll identifier: cygwin1 mount registry: 2 cygnus registry name: Cygnus Solutions cygwin registry name: Cygwin program options name: Program Options cygwin mount registry name: mounts v2 cygdrive flags: cygdrive flags cygdrive prefix: cygdrive prefix cygdrive default prefix: build date: Sun May 20 23:28:17 EDT 2001 shared id: cygwin1S3 Use -h to see help about each section -- Michael Hoffman Cold Spring Harbor Laboratory -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/