Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2003 15:34:03 -0600 (CST)
From:      Quincey Koziol <koziol@ncsa.uiuc.edu>
To:        ports@freebsd.org
Subject:   Problems with www/mod_perl
Message-ID:  <200311112134.hABLY3xE091083@sleipnir.ncsa.uiuc.edu>

next in thread | raw e-mail | index | archive | help
Hi all,
    I'm having problems building the www/mod_perl port.  I've got apache2
installed and also perl 5.8.2, could these be a factor?  Does mod_perl have
to be used with apache 1.3.x?  I've appended the error output below.

    Thanks,
        Quincey Koziol
        koziol@ncsa.uiuc.edu

==============================================================

--->  Installing 'mod_perl-1.28' from a port (www/mod_perl)
--->  Building '/usr/ports/www/mod_perl'
===>  Cleaning for libtool-1.3.5_1
===>  Cleaning for p5-URI-1.27
===>  Cleaning for expat-1.95.6_1
===>  Cleaning for apache-1.3.29_1
===>  Cleaning for p5-HTML-Parser-3.34
===>  Cleaning for p5-HTML-Tagset-3.03
===>  Cleaning for p5-libwww-5.70
===>  Cleaning for mod_perl-1.28
===>  Extracting for mod_perl-1.28
>> Checksum OK for mod_perl-1.28.tar.gz.
===>  Patching for mod_perl-1.28
===>  Applying FreeBSD patches for mod_perl-1.28
===>   mod_perl-1.28 depends on file: /usr/local/sbin/apxs - found
===>   mod_perl-1.28 depends on file: /usr/local/lib/perl5/site_perl/5.8.2/LWP.pm - found
===>  Configuring for mod_perl-1.28
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.28
 + id: Perl/v5.8.2 (freebsd) [/usr/local/bin/perl]
Now please type 'make' to build libperl.so
Checking CGI.pm VERSION..........ok
Checking for LWP::UserAgent......ok
Checking for HTML::HeadParser....ok
Checking if your kit is complete...
Looks good
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.28
(cd ./apaci && PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.28/lib: make)
cc -DPIC -fPIC -O2 -pipe -march=k6 -I/usr/local/lib/perl5/5.8.2/mach/CORE -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.2/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include  -DMOD_PERL_VERSION=\"1.28\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.28\" -DMOD_PERL_PREFIX=\"/usr/local/lib/perl5/site_perl/5.8.2/i386-freebsd\" -I/usr/local/include/apache2 -DMOD_PERL -O2 -pipe -march=k6 -O2 -pipe -march=k6 -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: http_conf_globals.h: No such file or directory
In file included from mod_perl.c:58:
mod_perl.h:248: syntax error before `table'
mod_perl.h:260: syntax error before `*'
mod_perl.h:260: warning: data definition has no type or storage class
mod_perl.h:262: syntax error before `*'
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: syntax error before `array_header'
mod_perl.h:1035: syntax error before `table'
mod_perl.h:1050: syntax error before `table'
mod_perl.h:1066: syntax error before `table'
mod_perl.h:1110: syntax error before `pool'
mod_perl.h:1120: syntax error before `pool'
mod_perl.h:1121: syntax error before `pool'
mod_perl.h:1123: syntax error before `pool'
mod_perl.h:1124: syntax error before `pool'
mod_perl.h:1155: syntax error before `*'
mod_perl.h:1156: syntax error before `*'
mod_perl.h:1156: syntax error before `pool'
mod_perl.h:1156: warning: data definition has no type or storage class
mod_perl.h:1157: syntax error before `*'
mod_perl.h:1157: warning: data definition has no type or storage class
mod_perl.h:1161: syntax error before `*'
mod_perl.h:1170: syntax error before `pool'
mod_perl.h:1174: syntax error before `pool'
mod_perl.h:1175: syntax error before `*'
mod_perl.h:1175: warning: data definition has no type or storage class
mod_perl.h:1200: syntax error before `*'
mod_perl.h:1201: syntax error before `*'
mod_perl.h:1202: syntax error before `*'
mod_perl.h:1203: syntax error before `*'
mod_perl.h:1204: syntax error before `*'
mod_perl.h:1266: syntax error before `*'
mod_perl.h:1267: syntax error before `*'
mod_perl.h:1270: syntax error before `*'
mod_perl.h:1281: syntax error before `*'
mod_perl.h:1281: warning: data definition has no type or storage class
mod_perl.h:1282: syntax error before `*'
mod_perl.h:1282: warning: data definition has no type or storage class
mod_perl.h:1291: syntax error before `pool'
mod_perl.c:186: syntax error before `perl_handlers'
mod_perl.c:187: warning: braces around scalar initializer
mod_perl.c:187: warning: (near initialization for `perl_handlers[0]')
mod_perl.c:187: warning: initialization makes integer from pointer without a cast
mod_perl.c:187: warning: excess elements in scalar initializer
mod_perl.c:187: warning: (near initialization for `perl_handlers[0]')
mod_perl.c:188: warning: braces around scalar initializer
mod_perl.c:188: warning: (near initialization for `perl_handlers[1]')
mod_perl.c:188: warning: initialization makes integer from pointer without a cast
mod_perl.c:188: warning: excess elements in scalar initializer
mod_perl.c:188: warning: (near initialization for `perl_handlers[1]')
mod_perl.c:189: warning: braces around scalar initializer
mod_perl.c:189: warning: (near initialization for `perl_handlers[2]')
mod_perl.c:190: warning: data definition has no type or storage class
mod_perl.c:193: `this_module_needs_to_be_ported_to_apache_2_0' undeclared here (not in a function)
mod_perl.c:193: initializer element is not constant
mod_perl.c:193: (near initialization for `perl_module.version')
mod_perl.c:194: warning: initialization makes integer from pointer without a cast
mod_perl.c:195: warning: initialization makes integer from pointer without a cast
mod_perl.c:196: warning: initialization from incompatible pointer type
mod_perl.c:198: warning: initialization from incompatible pointer type
mod_perl.c:199: warning: initialization makes integer from pointer without a cast
mod_perl.c:200: warning: initialization from incompatible pointer type
mod_perl.c:201: warning: initialization from incompatible pointer type
mod_perl.c:202: warning: initialization from incompatible pointer type
mod_perl.c:203: warning: initialization from incompatible pointer type
mod_perl.c:204: warning: initialization from incompatible pointer type
mod_perl.c:205: warning: initialization from incompatible pointer type
mod_perl.c:206: warning: initialization from incompatible pointer type
mod_perl.c:207: warning: excess elements in struct initializer
mod_perl.c:207: warning: (near initialization for `perl_module')
mod_perl.c:209: warning: excess elements in struct initializer
mod_perl.c:209: warning: (near initialization for `perl_module')
mod_perl.c:212: warning: excess elements in struct initializer
mod_perl.c:212: warning: (near initialization for `perl_module')
mod_perl.c:215: warning: excess elements in struct initializer
mod_perl.c:215: warning: (near initialization for `perl_module')
mod_perl.c:218: warning: excess elements in struct initializer
mod_perl.c:218: warning: (near initialization for `perl_module')
mod_perl.c: In function `seqno_check_max':
mod_perl.c:235: `array_header' undeclared (first use in this function)
mod_perl.c:235: (Each undeclared identifier is reported only once
mod_perl.c:235: for each function it appears in.)
mod_perl.c:235: `vars' undeclared (first use in this function)
mod_perl.c:235: syntax error before `)'
mod_perl.c:242: structure has no member named `vars'
mod_perl.c:243: structure has no member named `vars'
mod_perl.c: At top level:
mod_perl.c:256: syntax error before `pool'
mod_perl.c:305: syntax error before `pool'
mod_perl.c: In function `mp_fake_request_rec':
mod_perl.c:307: `p' undeclared (first use in this function)
mod_perl.c:309: `s' undeclared (first use in this function)
mod_perl.c:311: `hook' undeclared (first use in this function)
mod_perl.c: At top level:
mod_perl.c:317: syntax error before `pool'
mod_perl.c: In function `perl_restart_handler':
mod_perl.c:321: `s' undeclared (first use in this function)
mod_perl.c:322: `p' undeclared (first use in this function)
mod_perl.c: At top level:
mod_perl.c:327: syntax error before `pool'
mod_perl.c: In function `perl_restart':
mod_perl.c:357: `s' undeclared (first use in this function)
mod_perl.c:357: `p' undeclared (first use in this function)
mod_perl.c: At top level:
mod_perl.c:420: syntax error before `*'
mod_perl.c:420: syntax error before `*'
mod_perl.c: In function `xs_dl_librefs':
mod_perl.c:425: `array_header' undeclared (first use in this function)
mod_perl.c:425: `arr' undeclared (first use in this function)
mod_perl.c:434: `p' undeclared (first use in this function)
mod_perl.c: At top level:
mod_perl.c:462: syntax error before `*'
mod_perl.c: In function `unload_xs_so':
mod_perl.c:466: `librefs' undeclared (first use in this function)
mod_perl.c: In function `mp_dso_unload':
mod_perl.c:485: `array_header' undeclared (first use in this function)
mod_perl.c:485: `librefs' undeclared (first use in this function)
mod_perl.c:487: `pool' undeclared (first use in this function)
mod_perl.c:487: syntax error before `)'
mod_perl.c: At top level:
mod_perl.c:554: syntax error before `pool'
mod_perl.c: In function `perl_module_init':
mod_perl.c:557: warning: passing arg 1 of `ap_add_version_component' from incompatible pointer type
mod_perl.c:557: too few arguments to function `ap_add_version_component'
mod_perl.c:565: warning: passing arg 1 of `ap_add_version_component' from incompatible pointer type
mod_perl.c:565: too few arguments to function `ap_add_version_component'
mod_perl.c:569: `s' undeclared (first use in this function)
mod_perl.c:569: `p' undeclared (first use in this function)
mod_perl.c: At top level:
mod_perl.c:594: syntax error before `pool'
mod_perl.c: In function `perl_startup':
mod_perl.c:599: `s' undeclared (first use in this function)
mod_perl.c:604: `server_argv0' undeclared (first use in this function)
mod_perl.c:642: `p' undeclared (first use in this function)
mod_perl.c:774: warning: passing arg 1 of `Perl_newSVpv' makes pointer from integer without a cast
mod_perl.c:775: warning: passing arg 1 of `Perl_newSVpv' makes pointer from integer without a cast
mod_perl.c:788: structure has no member named `PerlRequire'
mod_perl.c:789: structure has no member named `PerlRequire'
mod_perl.c:797: structure has no member named `PerlModule'
mod_perl.c:798: structure has no member named `PerlModule'
mod_perl.c:819: `null_cleanup' undeclared (first use in this function)
mod_perl.c: At top level:
mod_perl.c:920: syntax error before `pool'
mod_perl.c: In function `perl_child_exit_cleanup':
mod_perl.c:926: structure has no member named `pool'
mod_perl.c: At top level:
mod_perl.c:929: syntax error before `pool'
mod_perl.c: In function `perl_child_init':
mod_perl.c:933: `s' undeclared (first use in this function)
mod_perl.c:934: `p' undeclared (first use in this function)
mod_perl.c:939: structure has no member named `pool'
mod_perl.c:940: `null_cleanup' undeclared (first use in this function)
mod_perl.c: At top level:
mod_perl.c:949: syntax error before `pool'
mod_perl.c: In function `perl_child_exit':
mod_perl.c:953: `s' undeclared (first use in this function)
mod_perl.c:954: `p' undeclared (first use in this function)
mod_perl.c: In function `per_request_cleanup':
mod_perl.c:1118: structure has no member named `sigsave'
mod_perl.c:1119: structure has no member named `sigsave'
mod_perl.c: In function `perl_per_request_init':
mod_perl.c:1416: structure has no member named `dir_env'
mod_perl.c:1416: structure has no member named `env'
mod_perl.c:1422: structure has no member named `dir_env'
mod_perl.c:1422: structure has no member named `env'
mod_perl.c: In function `perl_call_handler':
mod_perl.c:1506: warning: initialization makes pointer from integer without a cast
mod_perl.c:1667: `SERVER_ERROR' undeclared (first use in this function)
mod_perl.c: In function `perl_setup_env':
mod_perl.c:1733: `array_header' undeclared (first use in this function)
mod_perl.c:1733: `arr' undeclared (first use in this function)
mod_perl.c:1734: `table_entry' undeclared (first use in this function)
mod_perl.c:1734: `elts' undeclared (first use in this function)
mod_perl.c:1734: syntax error before `)'
*** Error code 1

Stop in /usr/ports/www/mod_perl/work/mod_perl-1.28/apaci.
*** Error code 1

Stop in /usr/ports/www/mod_perl/work/mod_perl-1.28.
*** Error code 1

Stop in /usr/ports/www/mod_perl.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade12251.4 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped / !:failed)
	! www/mod_perl	(missing header)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311112134.hABLY3xE091083>