On Thu, May 25, 2023 at 3:15 PM Daniel Sahlberg
<daniel.l.sahlb...@gmail.com> wrote:
>
> Den tors 25 maj 2023 kl 19:41 skrev Rahr, Jeffrey A (US) 
> <jeffrey.r...@baesystems.com>:
>>
>> I am trying to build the perl swig links in Subversion 1.14.2.
>>
>> Unfortunately this is on a non internet connected system with no ability to 
>> export build logs.
>>
>>
>> Environment:
>>
>> Centos 7
>>
>> Perl 5.36.1
>>
>> Swig 4.1.1
>>
>> gcc 4.8.5

Stop there. Don't build this by hand. Get the latest working SRPM, in
order get the dependencies straightened out, and update the .spec file
from that. RHEL 7, in particular, as an incompatible sqlite library.
And RHEL is being peculiar about publishing the "libserf-devel"
package for the serf libraries.


>> make swig-pl-lib
>>
>> generates a message of "PL_current_context" undeclared on the line - # 
>> define PERL-GET-CONTEXT    PL_current_context
>>
>> in the file perl/5.36.1/lib/5.36.1/x86_64-linux-thread-multi/CORE/thread.h
>>
>>
>> Anyone have any idea where PL_current_context is defined? Guessing this is 
>> more of a subversion/perl integration issue as opposed to a subversion issue 
>> and possibly a problem with the perl build and a libc (v2.17) that is no 
>> longer being updated on Centos 7.
>
>
> I'm by no means a Perl expert, but I just downloaded 5.36.1 from perl.org and 
> in this archive, the file thread.h contains the following (lines 386-388):
> [[[
> extern PERL_THREAD_LOCAL void *PL_current_context;
>
> #  define PERL_GET_CONTEXT        PL_current_context
> ]]]
> (I assume the "-" in your message was mistyped.). Is it the same in your 
> thread.h? The paths you mention doesn't quite match up so maybe there is 
> something with your perl source.
>
> Kind regards,
> Daniel Sahlberg

Reply via email to