Re: Build Error When Running make swig-pl-lib on Centos 7/Perl 5.36.1/Swig 4.1.1 - Subversion 1.14.2

2023-05-25 Thread Nico Kadel-Garcia
On Thu, May 25, 2023 at 3:15 PM Daniel Sahlberg
 wrote:
>
> Den tors 25 maj 2023 kl 19:41 skrev Rahr, Jeffrey A (US) 
> :
>>
>> 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-CONTEXTPL_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_CONTEXTPL_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


Re: Build Error When Running make swig-pl-lib on Centos 7/Perl 5.36.1/Swig 4.1.1 - Subversion 1.14.2

2023-05-25 Thread Daniel Sahlberg
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
>
>
> make swig-pl-lib
>
> generates a message of "PL_current_context" undeclared on the line - #
> define PERL-GET-CONTEXTPL_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_CONTEXTPL_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


Build Error When Running make swig-pl-lib on Centos 7/Perl 5.36.1/Swig 4.1.1 - Subversion 1.14.2

2023-05-25 Thread Rahr, Jeffrey A (US)
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


make swig-pl-lib

generates a message of "PL_current_context" undeclared on the line - # define 
PERL-GET-CONTEXTPL_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.


The build works on RedHat 8 in a similar environment. The only maor difference 
is gcc v8.5.0 and libc v2.28


Thanks for any insight or ideas.