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-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org

Reply via email to