Re: How to post? cpan install DBI fails
James E Keenan <[email protected]> Sat, 29 Jun 2024 18:48:31 -0400
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
On 6/29/24 18:22, C.J. Collier wrote: > I think you figured the mailing list out. >=20 > Can you tell us about your environment?=C2=A0 On what system are you=20 > attempting to install?=C2=A0 Why aren't you using cpanm or your system = packages? >=20 > On Sat, Jun 29, 2024, 15:16 Dennis German=20 > <[email protected] <mailto:[email protected]>= >=20 > wrote: >=20 > __ >=20 > I have been having a wonderful discussion with ezmlm. >=20 > After reading careful, all her recommendations and subscribing and > acknowledging, > I cannot seem to understand how to post to the mailing list. >=20 > ++++++++++++++++++++++++++++++++++++++++++++ >=20 > I am attempting to * > * >=20 > *cpan > install DBI* >=20 > results in: >=20 > ... > *In file included from Perl.xs:7: > Perl.xs: In function =E2=80=98dbi_get_state=E2=80=99: > DBIXS.h:498:32: warning: cast between incompatible function types > from =E2=80=98void (*)(PerlInterpreter *, CV *)=E2=80=99 {aka =E2=80= =98void (*)(struct > interpreter *, struct cv *)=E2=80=99} to =E2=80=98dbistate_t ** (*)= (PerlInterpreter > *)=E2=80=99 {aka =E2=80=98struct dbistate_st ** (*)(struct interpre= ter *)=E2=80=99} > [-Wcast-function-type] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 dbi_state_lval_p =3D > (_dbi_state_lval_t)CvXSUB(cv);=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^ > DBIXS.h:506:27: note: in expansion of macro =E2=80=98_DBISTATE_DECL= ARE_COMMON=E2=80=99 > =C2=A0# define DBISTATE_DECLARE _DBISTATE_DECLARE_COMMON > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 ^~~~~~~~~~~~~~~~~~~~~~~~ > Perl.xs:13:1: note: in expansion of macro =E2=80=98DBISTATE_DECLARE= =E2=80=99 > =C2=A0DBISTATE_DECLARE; > =C2=A0^~~~~~~~~~~~~~~~ > "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"=20 > -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap > '/home/xgmkbck7ggwp/.cpan/build/DBI-1.643-1/typemap'=C2=A0 DBI.xs >= DBI.xsc > mv DBI.xsc DBI.c* >=20 > Is this a problem on my end? >=20 What you have posted simply appears to be warnings emitted by your=20 C-compiler when 'cpan' is running its 'make' phase. Behind the scene,=20 what 'cpan' is doing (to over-simplify) is saying: $ perl Makefile.PL $ make $ make test $ make install Those warnings are being emitted in the 2nd step above. They are places=20 where the maintainers of DBI should be touching up the C-level code, but=20 they do not prevent DBI from building. Did you see any strings with=20 'error:' in them being emitted during 'make'? If 'make' completes=20 successfully, 'cpan' then invokes 'make test' and 'make install'. Did=20 you get any test failures? HTH Jim Keenan