S
sbk
how do i dig deeper into this issue?
i'm trying to install XML:arser:
[...]
make[1]: Entering directory `/home/netops/.cpan/build/XML-Parser-2.36-
mgvNC9/Expat'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/opt/vdops/bin/perl /opt/vdops/lib/perl5/5.8.8/ExtUtils/xsubpp -
noprototypes -ty
pemap /opt/vdops/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap
Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
cc -c -I/opt/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"2.36\" -
DXS_VERSION=\"2.36\" -fpic "-I/opt/vdops/lib/perl5/5.8.8/i686-linux-
thread-multi/CORE" Expat.c
In file included from /opt/vdops/lib/perl5/5.8.8/i686-linux-thread-
multi/CORE/op.h:497,
from /opt/vdops/lib/perl5/5.8.8/i686-linux-thread-
multi/CORE/perl.h:2754,
from Expat.xs:15:
/opt/vdops/lib/perl5/5.8.8/i686-linux-thread-multi/CORE/reentr.h:612:
error: field ‘_crypt_struct’ has incomplete type
make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory `/home/netops/.cpan/build/XML-Parser-2.36-
mgvNC9/Expat'
make: *** [subdirs] Error 2
(/usr/bin/make exited with 512)
the relevant section (around line 612) from 'reentr.h' looks like
this:
#ifdef HAS_CRYPT_R
#if CRYPT_R_PROTO == REENTRANT_PROTO_B_CCD
CRYPTD* _crypt_data;
#else
struct crypt_data _crypt_struct;
#endif
#endif /* HAS_CRYPT_R */
so, presumably, the data type "_crypt_struct" hasn't been defined
==> where should this be defined?
--sk
stuart kendrick
fhcrc
i'm trying to install XML:arser:
[...]
make[1]: Entering directory `/home/netops/.cpan/build/XML-Parser-2.36-
mgvNC9/Expat'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/opt/vdops/bin/perl /opt/vdops/lib/perl5/5.8.8/ExtUtils/xsubpp -
noprototypes -ty
pemap /opt/vdops/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap
Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
cc -c -I/opt/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"2.36\" -
DXS_VERSION=\"2.36\" -fpic "-I/opt/vdops/lib/perl5/5.8.8/i686-linux-
thread-multi/CORE" Expat.c
In file included from /opt/vdops/lib/perl5/5.8.8/i686-linux-thread-
multi/CORE/op.h:497,
from /opt/vdops/lib/perl5/5.8.8/i686-linux-thread-
multi/CORE/perl.h:2754,
from Expat.xs:15:
/opt/vdops/lib/perl5/5.8.8/i686-linux-thread-multi/CORE/reentr.h:612:
error: field ‘_crypt_struct’ has incomplete type
make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory `/home/netops/.cpan/build/XML-Parser-2.36-
mgvNC9/Expat'
make: *** [subdirs] Error 2
(/usr/bin/make exited with 512)
the relevant section (around line 612) from 'reentr.h' looks like
this:
#ifdef HAS_CRYPT_R
#if CRYPT_R_PROTO == REENTRANT_PROTO_B_CCD
CRYPTD* _crypt_data;
#else
struct crypt_data _crypt_struct;
#endif
#endif /* HAS_CRYPT_R */
so, presumably, the data type "_crypt_struct" hasn't been defined
==> where should this be defined?
--sk
stuart kendrick
fhcrc