I keep finding an error in Util.pm

/usr/local/lib/perl5/site_perl/5.30.0/x86_64-linux/Embperl/Util.pm line
108.

106 
107         my $sess ;
108         $sess = $Embperl::req -> app -> udat ;
109         *{"$package\:\:udat"} = $sess if ($sess) ;
110         $sess = $Embperl::req -> app -> mdat ;


On Fri, Nov 01, 2019 at 08:46:34PM -0700, Neil Gunton wrote:
 
l Whel you say that seems to have worked, you mean you did the steps and
> it worked for you? If so, that's great! :-)
> 
> I'm sorry that's all I know, and it was all really from other people's
> advice. I agree it would be nice if the "official" tarball from Gerald
> could be updated, but he seems a bit unresponsive these days. Not sure
> what he's up to, but it would be great if the current Embperl could be
> brought up to date, yes. Meanwhile we have cludges like the one below. :P
> 
> Neil
> 
> Ruben Safir wrote:
> > On Fri, Nov 01, 2019 at 06:50:21PM -0700, Neil Gunton wrote:
> >> Copy the steps since that link is weird:
> >>
> >> Aha! Apparently this is what you need to do:
> >>
> >> 1. https://salsa.debian.org/perl-team/modules/packages/libembperl-perl
> >> 2. Download the .tar.gz source file (download button on the right)
> >> 3. tar xvfz libembperl-perl-master.tar.gz
> >> 4. cd libembperl-perl-master
> >> 5. apt-get install quilt
> >> 6. export QUILT_PATCHES=debian/patches
> >> 7. quilt push -a
> >> 8. perl Makefile.PL
> >> 9. make
> >> 10. make install
> >>
> >> The 'quilt' package is apparently what's used to apply those patches.
> >>
> > 
> > wow - that seems to have worked.
> > 
> > It would be GREAT to have that source code as a simple tarball.
> > 
> > I can host it, if needed, on my www.nylxs.com server.  I already have
> > lots of mirrors.
> > 
> > 
> >> It seemed to work, at least it got through the compile stage ok and I
> >> was able to do 'make install'.
> >>
> >> Ruben Safir wrote:
> >>> On Fri, Nov 01, 2019 at 09:59:07AM -0700, Neil Gunton wrote:
> >>>> Sorry if this is stupid obvious, but I had issues with Embperl when I
> >>>> finally upgraded to Debian Stretch. I was trying to use the "official"
> >>>> version. Eventually I got it working using the Debian version, which
> >>>> evidently had some patches. Maybe take a look at the current Debian
> >>>> source version? Again, sorry if this is complete BS, just an idea.
> >>>>
> >>> I appreciate that!  But I can not find the source code, only debian
> >>> packages.  can you point out to me the existing debian code base?  I
> >>> don't run debian.   I run opensuse and Artix.
> >>>
> >>> Thanks!
> >>>
> >>> Ruben
> >>>
> >>>
> >>>
> >>>> Neil
> >>>>
> >>>> Ruben Safir wrote:
> >>>>> Hello
> >>>>>
> >>>>> I think this was partly covered a few months back but embperl is not 
> >>>>> compiling.  Evidently Perl removed a variable tht the vode was depending
> >>>>> on.
> >>>>>
> >>>>> 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_4/xs -fwrapv -fno-strict-aliasing -pipe
> >>>>> -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE
> >>>>> -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fPIC
> >>>>> -I/usr/local/lib/perl5/5.30.0/x86_64-linux/CORE -DMOD_PERL
> >>>>> -DMP_COMPAT_1X -fgnu89-inline -DLINUX -D_REENTRANT -D_GNU_SOURCE  -O2
> >>>>> -DVERSION=\"2.5.0_4\" -DXS_VERSION=\"2.5.0_4\" -fPIC
> >>>>> "-I/usr/local/lib/perl5/5.30.0/x86_64-linux/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
> >>>>>                      ^
> >>>>> epnames.h:329:21: note: in definition of macro ‘sv_objcount’
> >>>>>  #define sv_objcount PL_sv_objcount
> >>>>>                      ^~~~~~~~~~~~~~
> >>>>> epnames.h:329:21: note: each undeclared identifier is reported only once
> >>>>> for each function it appears in
> >>>>>  #define sv_objcount PL_sv_objcount
> >>>>>                      ^
> >>>>> epnames.h:329:21: note: in definition of macro ‘sv_objcount’
> >>>>>  #define sv_objcount PL_sv_objcount
> >>>>>                      ^~~~~~~~~~~~~~
> >>>>> make: *** [Makefile:577: Embperl.o] Error 1
> >>>>>
> >>>>>
> >>>>> There seem to be fixes floating around.  The archive only goes to 2.05_4
> >>>>> and I think there are several newer versions.
> >>>>>
> >>>>> Does anyone have one?
> >>>>>
> >>>>> 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 extermination camps, 
but incompatible with living as a free human being. -RI Safir 2013


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

Reply via email to