Mailing List Archive

httpd24threading branch build failure
Hello.
I've tried to build httpd24threading branch of mod_perl on OpenIndiana
with the following config:

$ /usr/perl5/5.16/bin/perl Makefile.PL INSTALLDIRS=perl
INSTALLSITELIB=/usr/apache2/2.4/lib/perl
INSTALLARCHLIB=/usr/apache2/2.4/lib/perl
INSTALLSITEARCH=/usr/apache2/2.4/lib/perl
INSTALLPRIVLIB=/usr/apache2/2.4/lib/perl
SITEARCHEXP=/usr/apache2/2.4/lib/perl
SITELIBEXP=/usr/apache2/2.4/lib/perl
INSTALLMAN1DIR=/usr/apache2/2.4/man/man1
INSTALLMAN3DIR=/usr/apache2/2.4/man/man3
INSTALLSCRIPT=/usr/apache2/2.4/bin MP_NO_THREADS=1
MP_APXS=/usr/apache2/2.4/bin/apxs MP_APR_CONFIG=/usr/apr/bin/apr-1-config
$ /usr/gnu/bin/make

Note MP_NO_THREADS=1 option.

The build fails with

/usr/gcc/4.7/bin/gcc -m32
-I/export/home/alp/srcs/oi-userland/components/apache2-modules/mod_perl-24/build/i86/src/modules/perl
-I/export/home/alp/srcs/oi-userland/components/apache2-modules/mod_perl-24/build/i86/xs
-I/usr/apr/include -I/usr/apr-util/include -I/usr/include/openldap
-I/usr/apache2/2.4/include -DPTR_IS_LONG -fno-strict-aliasing -pipe
-fstack-protector -DPERL_USE_SAFE_PUTENV
-I/usr/perl5/5.16/lib/i86pc-solaris-64int/CORE -DMOD_PERL -DMP_COMPAT_1X
-DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -fPIC -DPIC \
-c modperl_util.c && mv modperl_util.o modperl_util.lo
modperl_util.c: In function ‘perl_parse_require_line’:
modperl_util.c:1013:14: error: ‘interp’ undeclared (first use in this
function)
modperl_util.c:1013:14: note: each undeclared identifier is reported
only once for each function it appears in
make[2]: *** [modperl_util.lo] Error 1
make[2]: Leaving directory
`/export/home/alp/srcs/oi-userland/components/apache2-modules/mod_perl-24/build/i86/src/modules/perl'
make[1]: *** [modperl_lib] Error 2
--
С уважением,
Александр Пыхалов,
системный администратор ЮГИНФО ЮФУ.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: httpd24threading branch build failure [ In reply to ]
On 05/12/2014 10:41 AM, Alexander Pyhalov wrote:
> Hello.
> I've tried to build httpd24threading branch of mod_perl on OpenIndiana
> with the following config:
>
> $ /usr/perl5/5.16/bin/perl Makefile.PL INSTALLDIRS=perl
> INSTALLSITELIB=/usr/apache2/2.4/lib/perl
> INSTALLARCHLIB=/usr/apache2/2.4/lib/perl
> INSTALLSITEARCH=/usr/apache2/2.4/lib/perl
> INSTALLPRIVLIB=/usr/apache2/2.4/lib/perl
> SITEARCHEXP=/usr/apache2/2.4/lib/perl
> SITELIBEXP=/usr/apache2/2.4/lib/perl
> INSTALLMAN1DIR=/usr/apache2/2.4/man/man1
> INSTALLMAN3DIR=/usr/apache2/2.4/man/man3
> INSTALLSCRIPT=/usr/apache2/2.4/bin MP_NO_THREADS=1
> MP_APXS=/usr/apache2/2.4/bin/apxs MP_APR_CONFIG=/usr/apr/bin/apr-1-config
> $ /usr/gnu/bin/make
>
> Note MP_NO_THREADS=1 option.
>
> The build fails with

Hi,

thanks for testing. I think I've just fixed this problem at
<http://svn.apache.org/r1593957>. Please try it again with this latest
commit, maybe there are more places like that.

Regards,
Jan Kaluza

>
> /usr/gcc/4.7/bin/gcc -m32
> -I/export/home/alp/srcs/oi-userland/components/apache2-modules/mod_perl-24/build/i86/src/modules/perl
> -I/export/home/alp/srcs/oi-userland/components/apache2-modules/mod_perl-24/build/i86/xs
> -I/usr/apr/include -I/usr/apr-util/include -I/usr/include/openldap
> -I/usr/apache2/2.4/include -DPTR_IS_LONG -fno-strict-aliasing -pipe
> -fstack-protector -DPERL_USE_SAFE_PUTENV
> -I/usr/perl5/5.16/lib/i86pc-solaris-64int/CORE -DMOD_PERL -DMP_COMPAT_1X
> -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -fPIC -DPIC \
> -c modperl_util.c && mv modperl_util.o modperl_util.lo
> modperl_util.c: In function ‘perl_parse_require_line’:
> modperl_util.c:1013:14: error: ‘interp’ undeclared (first use in this
> function)
> modperl_util.c:1013:14: note: each undeclared identifier is reported
> only once for each function it appears in
> make[2]: *** [modperl_util.lo] Error 1
> make[2]: Leaving directory
> `/export/home/alp/srcs/oi-userland/components/apache2-modules/mod_perl-24/build/i86/src/modules/perl'
>
> make[1]: *** [modperl_lib] Error 2


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: httpd24threading branch build failure [ In reply to ]
On 05/12/2014 17:06, Jan Kaluža wrote:

> thanks for testing. I think I've just fixed this problem at
> <http://svn.apache.org/r1593957>. Please try it again with this latest
> commit, maybe there are more places like that.

Hello.
Thanks for fixing this, the latest version works for me.

--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: httpd24threading branch build failure [ In reply to ]
On 05/13/2014 09:30 AM, Alexander Pyhalov wrote:
> On 05/12/2014 17:06, Jan Kaluža wrote:
>
>> thanks for testing. I think I've just fixed this problem at
>> <http://svn.apache.org/r1593957>. Please try it again with this latest
>> commit, maybe there are more places like that.
>
> Hello.
> Thanks for fixing this, the latest version works for me.
>

Great,
thanks for letting us know :).

Jan Kaluza


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