Date: Mon, 18 Feb 2008 08:46:22 -0700 From: James <oscartheduck@gmail.com> To: Da Rock <rock_on_the_web@hotmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: mod_webapp port broken Message-ID: <1203349582.5865.11.camel@pclmills> In-Reply-To: <BAY143-W5B11210C219394461980E8D210@phx.gbl> References: <BAY143-W5B11210C219394461980E8D210@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2008-02-18 at 09:09 +0000, Da Rock wrote: > I'm tearing my hair out here- I'm having absolutely no luck with getting a calendar server and my latest sore point is the mod_webapp port which won't build because of missing includes. > > I ran a search but it appears that is only marked broken for certain archs, well I'm only running a poxy little pentium box - not 64bit processor. Here is my output: > > Building for mod_webapp-4.1.24_2 > /bin/mkdir -p /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/build > /bin/mkdir -p /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/build/objs > /usr/bin/perl "/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/support/scandoc.pl" \ > -i "/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/support/template.pl" \ > -p "/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/build/docs/api-c/" \ > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/*.h > Reading "/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa.h" > Reading "/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa_config.h" > parsing class wa_connection > parsing class wa_virtualhost > parsing class wa_application > Reading "/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa_main.h" > parsing class wa_chain > parsing class wa_provider > Reading "/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa_request.h" > parsing class wa_hostdata > parsing class wa_ssldata > parsing class wa_handler > parsing class wa_request > Reading "/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa_version.h" > gmake[1]: Entering directory `/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp' > > gmake[1]: Entering directory "/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib" > gmake[2]: Entering directory `/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib' > /usr/local/build-1/libtool --silent --mode=compile \ > cc -c /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/wa_main.c -o wa_main.lo \ > -I. -I/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include -I/usr/local/include/apache22 \ > \ > -O2 -fno-strict-aliasing -pipe > In file included from /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/wa_main.c:59: > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa.h:77:25: apr_general.h: No such file or directory > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa.h:78:23: apr_pools.h: No such file or directory > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa.h:79:25: apr_strings.h: No such file or directory > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa.h:80:24: apr_tables.h: No such file or directory > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa.h:82:22: apr_time.h: No such file or directory > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa.h:83:28: apr_network_io.h: No such file or directory > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa.h:84:27: apr_file_info.h: No such file or directory > In file included from /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa.h:115, > from /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/wa_main.c:59: > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa_main.h:141: error: syntax error before "apr_pool_t" > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa_main.h:150: error: syntax error before "apr_pool_t" > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa_main.h:232: error: syntax error before '*' token > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa_main.h:232: warning: data definition has no type or storage class > In file included from /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa.h:117, > from /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/wa_main.c:59: > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa_request.h:114: error: syntax error before "apr_pool_t" > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/include/wa_request.h:146: error: syntax error before "apr_table_t" > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/wa_main.c:62: error: syntax error before '*' token > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/wa_main.c:62: warning: data definition has no type or storage class > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/wa_main.c: In function `wa_init': > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/wa_main.c:82: error: `APR_SUCCESS' undeclared (first use in this function) > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/wa_main.c:82: error: (Each undeclared identifier is reported only once > /usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/wa_main.c:82: error: for each function it appears in.) > gmake[2]: *** [wa_main.lo] Error 1 > gmake[2]: Leaving directory `/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp/lib' > gmake[1]: *** [subdir] Error 2 > gmake[1]: Leaving directory `/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/webapp' > gmake: *** [lib-build] Error 2 > *** Error code 2 > > Stop in /usr/ports/www/mod_webapp. > > Now, I've run this several times with various changes all with the same result. I've checked my $LOCALBASE and $PORTSDIR variables which point to /usr/local and /usr/ports respectively. I've run make using -Dwith-apr-include=/usr/local/include/apr-1 - all no good. > > Am I missing something? And if you want to mark it as broken thats ok, but I'd like to know how to get around it myself... It installs fine over here. First check the simple things: run make clean, update your ports tree, run portupgrade, and try again. Best James
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1203349582.5865.11.camel>