Re: Build failure

Ruben Safir <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Tue, Jul 12, 2016 at 01:48:43PM +1000, Jie Gao wrote:
> * Ruben Safir <[email protected]> wrote:
> 
> > Date: Mon, 11 Jul 2016 23:32:49 -0400
> > From: Ruben Safir <[email protected]>
> > To: [email protected]
> > Subject: Re: Build failure
> > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
> >  Thunderbird/45.1.1
> > 
> > On 07/11/2016 11:30 PM, Jie Gao wrote:
> > > Are you using the right apxs?
> > > 
> > > 
> > 
> > This is a static build from source, I believe.  There used to be a
> > detailed set of examples in the docs, but no more.
>  
> Please post output of "make bugreport" in mod_perl.
> 
Hi

I am bringing this back up again because I just fell into the trap
again, and there is no solution.  I have tried every combination of
compiling mod_perl at this point and it just doesn't function out of the
packages.

There is nothing called make bugreport.

:(

This is my attempt at a STATIC build

 perl5.26.1 Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX="$HOME/src/httpd-2.4.27" MP_AP_CONFIGURE="--with-mpm=prefork"

 config.status: creating build/rules.mk
 config.status: creating build/pkg/pkginfo
 config.status: creating build/config_vars.sh
 config.status: creating include/ap_config_auto.h
 config.status: include/ap_config_auto.h is unchanged
 config.status: executing default commands
 configure: summary of build options:

config.status: creating build/rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating build/config_vars.sh
config.status: creating include/ap_config_auto.h
config.status: include/ap_config_auto.h is unchanged
config.status: executing default commands
configure: summary of build options:

    Server Version: 2.4.27
    Install prefix: /usr/local/apache2
    C compiler:     gcc
    CFLAGS:           -pthread
    LDFLAGS:          -L/usr/lib
    LIBS:           
    CPPFLAGS:         -DLINUX -D_REENTRANT -D_GNU_SOURCE
    C preprocessor: gcc -E

Configuring Apache/2.4.27 mod_perl/2.0.10 Perl/v5.26.1
Use of uninitialized value $httpd_version in string lt at
lib/ModPerl/MapUtil.pm line 51.
Checking if your kit is complete...
Looks good
ERROR from evaluation of
/home/ruben/src/mod_perl-2.0.10/Apache-Reload/Makefile.PL: Use of
uninitialized value $v in substitution (s///) at
Apache-Test/lib/Apache/TestRun.pm line 1100.

Searching this error brought me right back to my own email from 
last year.

And this is a completely new OS, Artix (arch with openrc)
This is a fresh compile of perl5.26.1 (all the binary perls failed to
work and caused Apache stop working and silently crash).

modperl 2.0.10
Apache 2.4.27

I see the Debian team has a apache 2.4 mod_perl working.  I honestly
don't know how they did it.




> 
> Regards,
> 
> 
> Jie
> 
> > 
> > > Regards,
> > > 
> > > 
> > > Jie
> > > 
> > > * Ruben Safir <[email protected]> wrote:
> > > 
> > >> Date: Mon, 11 Jul 2016 23:00:09 -0400
> > >> From: Ruben Safir <[email protected]>
> > >> To: Ruben Safir <[email protected]>
> > >> CC: [email protected]
> > >> Subject: Re: Build failure
> > >> User-Agent: Mutt/1.5.21 (2010-09-15)
> > >>
> > >> no activity?
> > >>
> > >>
> > >> On Sun, Jul 10, 2016 at 04:43:25AM -0400, Ruben Safir wrote:
> > >>> I'm trying to build modperl with apache source and it is failing
> > >>> this is 
> > >>> modperl 2.0.9
> > >>> apache 2.4.20
> > >>> Perl 5.24 stock from Manjaro
> > >>>
> > >>> % perl Makefile.PL MP_USE_STATIC=1         MP_AP_PREFIX=/home/ruben/src/httpd-2.4.20/         MP_AP_CONFIGURE="--with-mpm=prefork"
> > >>> ...
> > >>>
> > >>> Configuring Apache/2.4.20 mod_perl/2.0.9 Perl/v5.24.0
> > >>> Use of uninitialized value $httpd_version in string lt at lib/ModPerl/MapUtil.pm line 51.
> > >>> Checking if your kit is complete...
> > >>> Looks good
> > >>> ERROR from evaluation of /home/ruben/src/mod_perl-2.0.9/Apache-Reload/Makefile.PL: Use of uninitialized value $v in substitution (s///) at Apache-Test/lib/Apache/TestRun.pm line 1100.
> > >>>
> > >>>
> > >>> -- 
> > >>> 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
> > >>
> > >> -- 
> > >> 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
> > >>
> > > 
> > 
> > 
> > -- 
> > 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

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.