From: Chris Croome <chris@webarchitects.co.uk>
To: rhug-rhats@sources.redhat.com
Subject: Re: Naoko tomcat fails with a signal 11 on /etc/init.d/tomcat start on Fedora 1
Date: Thu, 12 Feb 2004 17:04:00 -0000 [thread overview]
Message-ID: <20040212170426.GB8256@webarchitects.co.uk> (raw)
In-Reply-To: <20040210100154.GA3439@redhat.com>
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 <chris@webarchitects.co.uk>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
next prev parent reply other threads:[~2004-02-12 17:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-08 2:26 Chris Croome
2004-02-10 10:01 ` Gary Benson
2004-02-12 17:04 ` Chris Croome [this message]
2004-02-13 17:30 ` Gary Benson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040212170426.GB8256@webarchitects.co.uk \
--to=chris@webarchitects.co.uk \
--cc=rhug-rhats@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).