building HTML-Parser-3.xx

Alejandro Calbazana acalbaza@calbazana.com
Fri Mar 11 15:37:00 GMT 2005


Hello,

I am still having problems building HTML-Parser-3.45 under cygwin.  For 
some reason EXTERN.h can not be found when compiling.  However, EXTERN.h 
is in the include path.  This occurs on HTML-Parser versions higher than 
2.25.  Versions > 2.25 include various .c and .xs files and each version 
 > 2.25 fails for the same reason. 

Would someone be kind enough to try and build the 3.45 package under 
cygwin?  I would be interested in how this turns out.  If anyone has any 
hints, I would really like to run my perl scripts under cygwin.

Cygcheck is attached as well as the full error dump.

Thanks!

Alejandro

$ cygcheck -s -r -v > cygcheck.txt
cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1005   (whats 
going on here?!)


$ locate EXTERN.h
/lib/perl5/5.8/cygwin/CORE/EXTERN.h
/usr/lib/perl5/5.8/cygwin/CORE/EXTERN.h


$ make  2>&1  | more
gcc -c   -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe 
-I/usr/local/include -DUSEIMPORTLIB -O3   -DVERSION=\"3.45\" 
-DXS_VERSION=\"3.45\"  "-I/usr/lib/per
l5/5.8/cygwin/CORE"  -DMARKED_SECTION Parser.c
Parser.xs:18:20: EXTERN.h: No such file or directory
Parser.xs:19:18: perl.h: No such file or directory
Parser.xs:20:18: XSUB.h: No such file or directory
Parser.xs:30:24: patchlevel.h: No such file or directory
In file included from Parser.xs:113:
hparser.h:61: parse error before "SV"
hparser.h:61: warning: no semicolon at end of struct or union
hparser.h:62: warning: data definition has no type or storage class
hparser.h:63: parse error before '}' token
hparser.h:66: parse error before "U32"
hparser.h:66: warning: no semicolon at end of struct or union
hparser.h:69: warning: data definition has no type or storage class
hparser.h:70: parse error before "offset"
hparser.h:70: warning: data definition has no type or storage class
....


$ uname -a
CYGWIN_NT-5.0 acalbaza1-lap 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 
unknown unknown Cygwin


$ mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
e: on /cygdrive/e type user (binmode,noumount)

$ perl -V
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:
    CYGWIN="ntsec tty"
  @INC:
    /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
    .

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050311/c568bde3/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: err.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050311/c568bde3/attachment-0001.txt>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list