Wie erstellt man die Apache Tomcat Native Library?Java

Java-Forum
Anonymous
 Wie erstellt man die Apache Tomcat Native Library?

Post by Anonymous »

Ich habe meine Apache Tomcat-Installation von 9.0.57 auf 9.0.127 unter Ubuntu 22.04 aktualisiert (mit anderen Worten, ich habe die apt-Version entfernt und die aktualisierte Version manuell installiert). Alles funktioniert einwandfrei, außer dass das Catalina-Protokoll beim Start eine Meldung enthält:

INFORMATION: Eine ältere Version [1.2.31] der Apache Tomcat Native-Bibliothek ist installiert, während Tomcat eine Mindestversion von [1.3.0] empfiehlt

Daher wollte ich auch die Native-Bibliothek aktualisieren und habe die Version 1.3.5 von heruntergeladen https://github.com/apache/tomcat-native/tags und folgte der Erklärung in der Datei ./native/BUILDING.
Ich habe alle erforderlichen Bibliotheken installiert, aber wenn ich das tue

Code: Select all

configure --with-apr=/usr/lib/x86_64-linux-gnu/libapr-1.so.0.7.0 --with-ssl=/usr/bin/openssl
Ich erhalte nur das Ergebnis „Befehl nicht gefunden“. Also wurde mir klar, dass ich keine Ahnung von GNU Make Tools habe und entdeckte, dass es so etwas wie „automake“ gibt, aber es gibt mir Fehlermeldungen:

Code: Select all

configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
configure.ac:50: error: required file 'build/config.guess' not found
configure.ac:50:   'automake --add-missing' can install 'config.guess'
configure.ac:50: error: required file 'build/config.sub' not found
configure.ac:50:   'automake --add-missing' can install 'config.sub'
configure.ac:51: error: required file 'build/install-sh' not found
configure.ac:51:   'automake --add-missing' can install 'install-sh'
automake: error: no 'Makefile.am' found for any configure output
Jetzt weiß ich nicht, wie ich weitermachen soll oder was ich tun soll. Wie erstellt man die Bibliothek richtig?
Es ist sogar möglich, die Bibliothek mit installiertem lib-apr1 und libapr1-dev zu erstellen, oder ist der Quellcode von apr erforderlich?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post