Re: An idea why apreq isnt building
Mithun Bhattacharya <[email protected]> Mon, 1 Dec 2025 01:49:07 -0600
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <CAHTPV9LVHKJzQOC50Q5sQsA24_sBz4uasxurSJRPtg41T6nPfw@mail.gmail.com> |
--00000000000078a02b0644df372b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks that helped me figure out what broke. I used to run perlbrew with -Accflags=3D-fPIC which I foolishly assumed is not required. Adding it back got me through ! It's a different matter why perl doesn't use that by default since I do see it is set by default under Dynamic Linking for cccdlflags. Do note I did not have to use -Duseshrplib - I assume my -Duserelocatableinc did whatever was necessary. On Sun, Nov 30, 2025, 1:05=E2=80=AFPM Edward J. Sabol <[email protected]= om> wrote: > On Nov 30, 2025, at 4:01=E2=80=AFAM, Mithun Bhattacharya <[email protected]= m> wrote: > > This is blowing up for -fPIC which I see both the Perl and Apache build= s > are using - am I missreading the error ? > > It's saying your Perl (specifically libperl.a) wasn't built with -fPIC. M= y > googling suggests that you add "-Duseshrplib -Dccflags=3D-fPIC" to your > "perlbrew install" command. > > Hope this helps, > Ed > > --00000000000078a02b0644df372b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div>Thanks that helped me figure out what broke.<div dir= =3D"auto"><br></div><div dir=3D"auto">I used to run perlbrew with -Accflags= =3D-fPIC which I foolishly assumed is not required. Adding it back got me t= hrough !</div><div dir=3D"auto"><br></div><div dir=3D"auto">It's a diff= erent matter why perl doesn't use that by default since I do see it is = set by default under Dynamic Linking for cccdlflags.=C2=A0</div><div dir=3D= "auto"><br></div>Do note I did not have to use=C2=A0-Duseshrplib - I assume= my -Duserelocatableinc did whatever was necessary.</div><div dir=3D"auto">= <br></div><div dir=3D"auto"><br><br><div class=3D"gmail_quote gmail_quote_c= ontainer" dir=3D"auto"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Nov 30= , 2025, 1:05=E2=80=AFPM Edward J. Sabol <<a href=3D"mailto:edwardjsabol@= gmail.com">[email protected]</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">On Nov 30, 2025, at 4:01=E2=80=AFAM, Mithu= n Bhattacharya <<a href=3D"mailto:[email protected]" target=3D"_blank" re= l=3D"noreferrer">[email protected]</a>> wrote:<br> > This is blowing up for -fPIC which I see both the Perl and Apache buil= ds are using - am I missreading the error ?<br> <br> It's saying your Perl (specifically libperl.a) wasn't built with -f= PIC. My googling suggests that you add "-Duseshrplib -Dccflags=3D-fPIC= " to your "perlbrew install" command.<br> <br> Hope this helps,<br> Ed<br> <br> </blockquote></div></div></div> --00000000000078a02b0644df372b--