Re: How to post? cpan install DBI fails

"C.J. Collier" <[email protected]> Sat, 29 Jun 2024 15:22:34 -0700
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <CAJj0Outq-O0M-9L_uNNJeNKWbkAna4GQWNU85CZS7GECt0dS=Q@mail.gmail.com>
--000000000000969727061c0ecd67
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I think you figured the mailing list out.

Can you tell us about your environment?  On what system are you attempting
to install?  Why aren't you using cpanm or your system packages?

On Sat, Jun 29, 2024, 15:16 Dennis German <[email protected]>
wrote:

> I have been having a wonderful discussion with ezmlm.
>
> After reading careful, all her recommendations and subscribing and
> acknowledging,
> I cannot seem to understand how to post to the mailing list.
>
> ++++++++++++++++++++++++++++++++++++++++++++
>
> I am attempting to
>
>
> *cpan install DBI*
>
> results in:
>
> ...
>
>
>
>
>
>
>
>
>
>
>
>
> *In file included from Perl.xs:7: Perl.xs: In function =E2=80=98dbi_get_s=
tate=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 interpreter *)=E2=80=99} [-Wcast-function-type]
>              dbi_state_lval_p =3D
> (_dbi_state_lval_t)CvXSUB(cv);               \
>                                 ^ DBIXS.h:506:27: note: in expansion of
> macro =E2=80=98_DBISTATE_DECLARE_COMMON=E2=80=99  # define DBISTATE_DECLA=
RE
> _DBISTATE_DECLARE_COMMON
> ^~~~~~~~~~~~~~~~~~~~~~~~ Perl.xs:13:1: note: in expansion of macro
> =E2=80=98DBISTATE_DECLARE=E2=80=99  DBISTATE_DECLARE;  ^~~~~~~~~~~~~~~~ "=
/usr/bin/perl"
> "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap
> '/usr/share/perl5/ExtUtils/typemap' -typemap
> '/home/xgmkbck7ggwp/.cpan/build/DBI-1.643-1/typemap'  DBI.xs > DBI.xsc mv
> DBI.xsc DBI.c*
>
> Is this a problem on my end?
>
> I would appreciate any help or suggestions.
>
> Sincerely,
> Dennis German
>

--000000000000969727061c0ecd67
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">I think you figured the mailing list out.<div dir=3D"auto=
"><br></div><div dir=3D"auto">Can you tell us about your environment?=C2=A0=
 On what system are you attempting to install?=C2=A0 Why aren&#39;t you usi=
ng cpanm or your system packages?</div></div><br><div class=3D"gmail_quote"=
><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Jun 29, 2024, 15:16 Dennis G=
erman &lt;<a href=3D"mailto:[email protected]">DGerman@real-wo=
rld-systems.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><u></u>

 =20

   =20
 =20
  <div>
    <p>I have been having a wonderful discussion with ezmlm.</p>
    <p>After reading careful, all her recommendations and subscribing
      and acknowledging,<br>
      I cannot seem to understand how to post to the mailing list.</p>
    <p>++++++++++++++++++++++++++++++++++++++++++++<br>
    </p>
    <p> </p>
    <div lang=3D"x-unicode">
      <p>I am attempting to <b><font face=3D"Courier New, Courier, monospac=
e"><br>
          </font></b></p>
      <p><b><font face=3D"Courier New, Courier, monospace">cpan<br>
            install DBI</font></b></p>
      <p>results in:</p>
      <p>...<br>
        <font face=3D"Courier New, Courier, monospace"><b>In file included
            from Perl.xs:7:<br>
            Perl.xs: In function =E2=80=98dbi_get_state=E2=80=99:<br>
            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=98db=
istate_t **
            (*)(PerlInterpreter *)=E2=80=99 {aka =E2=80=98struct dbistate_s=
t **
            (*)(struct interpreter *)=E2=80=99} [-Wcast-function-type]<br>
            =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 \<br>
            =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 ^<br>
            DBIXS.h:506:27: note: in expansion of macro =E2=80=98_<font col=
or=3D"#00fa92">DBISTATE_DECLARE_COMMON=E2=80=99</font><br>
            =C2=A0# define DBISTATE_DECLARE _DBISTATE_DECLARE_COMMON<br>
            =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 ^~~~~~~~~~~~~~~~~~~~~~~~<br>
            Perl.xs:13:1: note: in expansion of macro =E2=80=98<font color=
=3D"#00fa92">DBISTATE_DECLARE</font>=E2=80=99<br>
            =C2=A0DBISTATE_DECLARE;<br>
            =C2=A0^~~~~~~~~~~~~~~~<br>
            &quot;/usr/bin/perl&quot;
            &quot;/usr/share/perl5/vendor_perl/ExtUtils/xsubpp&quot;=C2=A0 =
-typemap
            &#39;/usr/share/perl5/ExtUtils/typemap&#39; -typemap
            &#39;/home/xgmkbck7ggwp/.cpan/build/DBI-1.643-1/typemap&#39;=C2=
=A0 DBI.xs
            &gt; DBI.xsc<br>
            mv DBI.xsc DBI.c</b><br>
        </font></p>
      <p>Is this a problem on my end?</p>
      <p>I would appreciate any help or suggestions.</p>
      <p>Sincerely,<br>
        Dennis German<br>
      </p>
    </div>
  </div>

</blockquote></div>

--000000000000969727061c0ecd67--