Mailing List Archive

build problems
Any clue how I might build this out:?

cc -c -I/usr/local/apache2/include -I/usr/local/apache2/regex
-I/usr/local/apache2/os/unix -I/usr/include/apr-1
-I/home/ruben/src/Embperl-2.5.0/xs -D_REENTRANT -D_GNU_SOURCE -fwrapv
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/core_perl/CORE -DMOD_PERL -DMP_COMPAT_1X -fgnu89-inline
-DLINUX -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-DVERSION=\"2.5.0\" -DXS_VERSION=\"2.5.0\" -fPIC
"-I/usr/lib/perl5/core_perl/CORE" -DAPACHE -DAPACHE2 -DEP2 -o
Embperl.o Embperl.c
In file included from ep.h:174:0,
from Embperl.xs:16:
./Old.xs: In function ‘XS_Embperl__Req_log_svs’:
epnames.h:329:21: error: ‘PL_sv_objcount’ undeclared (first use in this
function); did you mean ‘PL_sv_count’?
#define sv_objcount PL_sv_objcount


mod_perl 2.0.10 and httpd 2.4

Ruben
--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: build problems [ In reply to ]
On Thu, Sep 28, 2017 at 04:00:15PM -0400, Ruben Safir wrote:
> Any clue how I might build this out:?
>
> cc -c -I/usr/local/apache2/include -I/usr/local/apache2/regex
> -I/usr/local/apache2/os/unix -I/usr/include/apr-1
> -I/home/ruben/src/Embperl-2.5.0/xs -D_REENTRANT -D_GNU_SOURCE -fwrapv
> -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/lib/perl5/core_perl/CORE -DMOD_PERL -DMP_COMPAT_1X -fgnu89-inline
> -DLINUX -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
> -DVERSION=\"2.5.0\" -DXS_VERSION=\"2.5.0\" -fPIC
> "-I/usr/lib/perl5/core_perl/CORE" -DAPACHE -DAPACHE2 -DEP2 -o
> Embperl.o Embperl.c
> In file included from ep.h:174:0,
> from Embperl.xs:16:
> ./Old.xs: In function ‘XS_Embperl__Req_log_svs’:
> epnames.h:329:21: error: ‘PL_sv_objcount’ undeclared (first use in this
> function); did you mean ‘PL_sv_count’?
> #define sv_objcount PL_sv_objcount
>

I'm not even sure what it is complaining about here or why. This is a
#define marco and I ran this through gvim and ctags and make
and doesn't show up in ctags, but neither does the #defines above
it prove any trouble and they aren't in ctags either after running ctags
-R ./

epnames.h
322 #ifndef perl_destruct_level
323 #define perl_destruct_level PL_perl_destruct_level
324 #endif
325 #ifndef sv_count
326 #define sv_count PL_sv_count
327 #endif
328 #ifndef sv_objcount
329 #define sv_objcount PL_sv_objcount
330 #endif
331 #ifndef op_mask
332 #define op_mask PL_op_mask
333 #endif
334 #ifndef maxo
335 #define maxo PL_maxo
336 #endif


It is not within the codebase either:

[ruben@www3 Embperl-2.5.0_4]$ grep -R PL_sv_objcount ./*
./epnames.h:#define sv_objcount PL_sv_objcount
[ruben@www3 Embperl-2.5.0_4]$

Maybe I should just comment it out.

>
> mod_perl 2.0.10 and httpd 2.4
>
> Ruben
> --
> So many immigrant groups have swept through our town
> that Brooklyn, like Atlantis, reaches mythological
> proportions in the mind of the world - RI Safir 1998
> http://www.mrbrklyn.com
>
> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> http://www.nylxs.com - Leadership Development in Free Software
> http://www2.mrbrklyn.com/resources - Unpublished Archive
> http://www.coinhangout.com - coins!
> http://www.brooklyn-living.com
>
> Being so tracked is for FARM ANIMALS and and extermination camps,
> but incompatible with living as a free human being. -RI Safir 2013
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: build problems [ In reply to ]
FWIW:

https://groups.google.com/forum/?_escaped_fragment_=topic/linux.debian.bugs.rc/_fA_FKv97H0#!topic/linux.debian.bugs.rc/_fA_FKv97H0



12/2/15 8:10 AM
Source: libembperl-perl
Version: 2.5.0-4
Severity: serious
Justification: upcoming transition
User: debia...@lists.debian.org
Usertags: perl-5.22-transition
Tags: sid stretch upstream

This package FTBFS with perl 5.22, in experimental:

epnames.h:329:21: error: 'PL_sv_objcount' undeclared (first use in this
function)
#define sv_objcount PL_sv_objcount
^

(This late test result follows a perl 5.22 fix for build-dep
libapache2-mod-perl2.)

I'll forward this upstream now.

Cheers,
Dominic.
Bug#806897: libembperl-perl: FTBFS with perl 5.22: 'PL_sv_objcount'
undeclared Axel Beckert 1/13/16 5:30 PM
Hi,


Dominic Hargreaves wrote:
> This package FTBFS with perl 5.22, in experimental:
>
> epnames.h:329:21: error: 'PL_sv_objcount' undeclared (first use in
> this function)
> #define sv_objcount PL_sv_objcount

This happens because PL_sv_objcount has been removed from Perl 5.22
(deprecated since 5.20). See e.g.
http://www.gossamer-threads.com/lists/perl/porters/311420 or
https://rt.perl.org/Public/Bug/Display.html?id=121876

Removing all occurrences of PL_sv_objcount and sv_objcount as well as
the according "-OBJs: %d" format strings from Embperl's source
suffices to make it build against 5.22. Unfortunately the test suite
fails afterwards.

Anyways, here's the patch to make the upstream code build again:



On Thu, Sep 28, 2017 at 05:37:45PM -0400, Ruben Safir wrote:
> On Thu, Sep 28, 2017 at 04:00:15PM -0400, Ruben Safir wrote:
> > Any clue how I might build this out:?
> >
> > cc -c -I/usr/local/apache2/include -I/usr/local/apache2/regex
> > -I/usr/local/apache2/os/unix -I/usr/include/apr-1
> > -I/home/ruben/src/Embperl-2.5.0/xs -D_REENTRANT -D_GNU_SOURCE -fwrapv
> > -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > -I/usr/lib/perl5/core_perl/CORE -DMOD_PERL -DMP_COMPAT_1X -fgnu89-inline
> > -DLINUX -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
> > -DVERSION=\"2.5.0\" -DXS_VERSION=\"2.5.0\" -fPIC
> > "-I/usr/lib/perl5/core_perl/CORE" -DAPACHE -DAPACHE2 -DEP2 -o
> > Embperl.o Embperl.c
> > In file included from ep.h:174:0,
> > from Embperl.xs:16:
> > ./Old.xs: In function ‘XS_Embperl__Req_log_svs’:
> > epnames.h:329:21: error: ‘PL_sv_objcount’ undeclared (first use in this
> > function); did you mean ‘PL_sv_count’?
> > #define sv_objcount PL_sv_objcount
> >
>
> I'm not even sure what it is complaining about here or why. This is a
> #define marco and I ran this through gvim and ctags and make
> and doesn't show up in ctags, but neither does the #defines above
> it prove any trouble and they aren't in ctags either after running ctags
> -R ./
>
> epnames.h
> 322 #ifndef perl_destruct_level
> 323 #define perl_destruct_level PL_perl_destruct_level
> 324 #endif
> 325 #ifndef sv_count
> 326 #define sv_count PL_sv_count
> 327 #endif
> 328 #ifndef sv_objcount
> 329 #define sv_objcount PL_sv_objcount
> 330 #endif
> 331 #ifndef op_mask
> 332 #define op_mask PL_op_mask
> 333 #endif
> 334 #ifndef maxo
> 335 #define maxo PL_maxo
> 336 #endif
>
>
> It is not within the codebase either:
>
> [ruben@www3 Embperl-2.5.0_4]$ grep -R PL_sv_objcount ./*
> ./epnames.h:#define sv_objcount PL_sv_objcount
> [ruben@www3 Embperl-2.5.0_4]$
>
> Maybe I should just comment it out.
>
> >
> > mod_perl 2.0.10 and httpd 2.4
> >
> > Ruben
> > --
> > So many immigrant groups have swept through our town
> > that Brooklyn, like Atlantis, reaches mythological
> > proportions in the mind of the world - RI Safir 1998
> > http://www.mrbrklyn.com
> >
> > DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> > http://www.nylxs.com - Leadership Development in Free Software
> > http://www2.mrbrklyn.com/resources - Unpublished Archive
> > http://www.coinhangout.com - coins!
> > http://www.brooklyn-living.com
> >
> > Being so tracked is for FARM ANIMALS and and extermination camps,
> > but incompatible with living as a free human being. -RI Safir 2013
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
>
> --
> So many immigrant groups have swept through our town
> that Brooklyn, like Atlantis, reaches mythological
> proportions in the mind of the world - RI Safir 1998
> http://www.mrbrklyn.com
>
> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> http://www.nylxs.com - Leadership Development in Free Software
> http://www2.mrbrklyn.com/resources - Unpublished Archive
> http://www.coinhangout.com - coins!
> http://www.brooklyn-living.com
>
> Being so tracked is for FARM ANIMALS and and extermination camps,
> but incompatible with living as a free human being. -RI Safir 2013
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org