Hey people,

I'm trying to build Apache::MP3, but I'm seeing failures. 

===>  Configuring for mod_perl-1.29_1
Will configure via APXS (apxs=/usr/local/sbin/apxs)
PerlDispatchHandler.........enabled
PerlChildInitHandler........enabled
PerlChildExitHandler........enabled
PerlPostReadRequestHandler..enabled
PerlTransHandler............enabled
PerlHeaderParserHandler.....enabled
PerlAccessHandler...........enabled
PerlAuthenHandler...........enabled
PerlAuthzHandler............enabled
PerlTypeHandler.............enabled
PerlFixupHandler............enabled
PerlHandler.................enabled
PerlLogHandler..............enabled
PerlInitHandler.............enabled
PerlCleanupHandler..........enabled
PerlRestartHandler..........enabled
PerlStackedHandlers.........enabled
PerlMethodHandlers..........enabled
PerlDirectiveHandlers.......enabled
PerlTableApi................enabled
PerlLogApi..................enabled
PerlUriApi..................enabled
PerlUtilApi.................enabled
PerlFileApi.................enabled
PerlConnectionApi...........enabled
PerlServerApi...............enabled
PerlSections................enabled
PerlSSI.....................enabled
Will run tests as User: 'nobody' Group: 'wheel'
Configuring mod_perl for building via APXS
 + Creating a local mod_perl source tree
 + Setting up mod_perl build environment (Makefile)
 + id: mod_perl/1.29
 + id: Perl/v5.8.7 (freebsd) [/usr/local/bin/perl5.8.7]
Now please type 'make' to build libperl.so
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......ok
Checking for HTML::HeadParser....ok
Writing Makefile for Apache
Writing Makefile for Apache::Connection
Writing Makefile for Apache::Constants
Writing Makefile for Apache::File
Writing Makefile for Apache::Leak
Writing Makefile for Apache::Log
Writing Makefile for Apache::ModuleConfig
Writing Makefile for Apache::PerlRunXS
Writing Makefile for Apache::Server
Writing Makefile for Apache::Symbol
Writing Makefile for Apache::Table
Writing Makefile for Apache::URI
Writing Makefile for Apache::Util
Disabling apxs_install target; deferred to pkg-install
Writing Makefile for mod_perl
===>  Building for mod_perl-1.29_1
(cd ./apaci && PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.29/lib: make)
cc -DPIC -fPIC -O -pipe -I/usr/local/lib/perl5/5.8.7/mach/CORE
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include
-DMOD_PERL_VERSION=\"1.29\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.29\"
-DMOD_PERL_PREFIX=\"/usr/local/lib/perl5/site_perl/5.8.7/i386-freebsd-64int\"
-I/usr/local/include/apache2 -DMOD_PERL -O -pipe -march=pentiumpro -O -pipe
-march=pentiumpro -march=pentiumpro -c mod_perl.c && mv mod_perl.o mod_perl.lo
In file included from mod_perl.h:162,
                 from mod_perl.c:58:
apache_inc.h:128:31: http_conf_globals.h: No such file or directory
In file included from mod_perl.c:58:
mod_perl.h:248: error: syntax error before "table"
mod_perl.h:260: error: syntax error before '*' token
mod_perl.h:260: warning: data definition has no type or storage class
mod_perl.h:262: error: syntax error before '*' token
mod_perl.h:262: warning: data definition has no type or storage class
In file included from mod_perl.c:58:
mod_perl.h:1022: error: syntax error before "array_header"
mod_perl.h:1035: error: syntax error before "table"
mod_perl.h:1050: error: syntax error before "table"

Now, I think that's because I'm using apache2. 

[EMAIL PROTECTED] p5-Apache-MP3]# pkg_info | grep apache
apache-2.0.55       Version 2 of Apache web server with prefork MPM.
apache-ant-1.6.5_1  Java- and XML-based build tool, conceptually similar to
mak
[EMAIL PROTECTED] p5-Apache-MP3]# pkg_info | grep mod_perl
mod_perl2-2.0.2,2   Embeds a Perl interpreter in the Apache2 server

How can I tell this package that I want mod_perl2, not mod_perl?

Thanks,
Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

Attachment: pgptK6f071kdU.pgp
Description: PGP signature

Reply via email to