From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12940 invoked by alias); 12 Feb 2004 17:04:36 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 12904 invoked from network); 12 Feb 2004 17:04:29 -0000 Received: from unknown (HELO joker.webarchitects.co.uk) (62.49.20.1) by sources.redhat.com with SMTP; 12 Feb 2004 17:04:29 -0000 Date: Thu, 12 Feb 2004 17:04:00 -0000 From: Chris Croome To: rhug-rhats@sources.redhat.com Subject: Re: Naoko tomcat fails with a signal 11 on /etc/init.d/tomcat start on Fedora 1 Message-ID: <20040212170426.GB8256@webarchitects.co.uk> References: <20040208022645.GC15048@webarchitects.co.uk> <20040210100154.GA3439@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040210100154.GA3439@redhat.com> User-Agent: Mutt/1.5.4i X-SW-Source: 2004-02/txt/msg00003.txt.bz2 Hi On Tue 10-Feb-2004 at 10:01:55AM +0000, Gary Benson wrote: > > You probably need to rebuild the rpms. OK, I have built and installed all the SRPMs in the order on this list: http://sources.redhat.com/ml/rhug-rhats/2003-11/msg00009.html And everything has gone OK apart from tomcat which fails to build with errors that seem to be related to apr. I have double checked that the httpd-dev and all apr rpms are installed: # apt-get install httpd-devel apr apr-devel apr-util apr-util-devel Reading Package Lists... Done Building Dependency Tree... Done httpd-devel is already the newest version. apr is already the newest version. apr-devel is already the newest version. apr-util is already the newest version. apr-util-devel is already the newest version. 0 upgraded, 0 newly installed, 0 removed and 0 not upgraded. Following is the error when building the tomcat rpm, any suggestions about what I can do in order to build this? Do I need apache from rawhide rather than from Fedora 1? In file included from /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:59: /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:77:25: apr_general.h: No such file or directory /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:78:23: apr_pools.h: No such file or directory /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:79:25: apr_strings.h: No such file or directory /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:80:24: apr_tables.h: No such file or directory /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:81:24: apr_tables.h: No such file or directory /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:82:22: apr_time.h: No such file or directory /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:83:28: apr_network_io.h: No such file or directory /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:84:27: apr_file_info.h: No such file or directory In file included from /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:115, from /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:59: /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_main.h:141: error: syntax error before "apr_pool_t" /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_main.h:150: error: syntax error before "apr_pool_t" /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_main.h:232: error: syntax error before '*' token /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_main.h:232: warning: data definition has no type or storage class In file included from /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa.h:117, from /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:59: /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_request.h:114: error: syntax error before "apr_pool_t" /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_request.h:114: warning: no semicolon at end of struct or un ion /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_request.h:146: error: syntax error before '*' token /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_request.h:146: warning: data definition has no type or stor age class /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/include/wa_request.h:147: error: syntax error before '}' token /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:62: error: syntax error before '*' token /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:62: warning: data definition has no type or storage clas s /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c: In function `wa_init': /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:82: error: `APR_SUCCESS' undeclared (first use in this f unction) /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:82: error: (Each undeclared identifier is reported only once /usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib/wa_main.c:82: error: for each function it appears in.) make[2]: *** [wa_main.lo] Error 1 make[2]: Leaving directory `/usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp/lib' make[1]: *** [subdir] Error 2 make[1]: Leaving directory `/usr/local/src/rpms/build/tomcat-4.1.27/upstream/connectors/webapp' make: *** [lib-build] Error 2 error: Bad exit status from /usr/local/src/rpms/tmp/rpm-tmp.58652 (%build) RPM build errors: Bad exit status from /usr/local/src/rpms/tmp/rpm-tmp.58652 (%build) Looking forwards to Fedora 2 :-) Thanks Chris -- Chris Croome web design http://www.webarchitects.co.uk/ web content management http://mkdoc.com/