This is the mail archive of the rhug-rhats@sources.redhat.com mailing list for the RHUG project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Naoko tomcat fails with a signal 11 on /etc/init.d/tomcat start on Fedora 1


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/   


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]