On 10/02/2023 16:05, Christopher Schultz wrote:
Mark,

I'm having trouble building on MacOS Ventura.

I've just tested building on Ventura and don't see that issue on Intel or M1. Everything is up to date (OS, Xcode, APR (homebrew) and OpenSSL (homebrew).

I can only guess some sort of local config issue. No idea what I am afraid. C build systems are largely a mystery to me.

Mark




I downloaded the source tarball file from https://dist.apache.org/repos/dist/dev/tomcat/tomcat-connectors/native/2.0.3/source/tomcat-native-2.0.3-src.tar.gz, untarred it, and then ran the following commands:

$ ./configure --with-apr=/usr/local/Cellar/apr/1.7.2/bin/apr-1-config --with-ssl=/usr/local/Cellar/openssl\@3/3.0.8
checking build system type... x86_64-apple-darwin22.3.0
checking host system type... x86_64-apple-darwin22.3.0
checking target system type... x86_64-apple-darwin22.3.0
checking for a BSD-compatible install... /usr/bin/install -c
./configure: line 2754: LT_INIT: command not found
checking for working mkdir -p... yes
Tomcat Native Version: 2.0.3
checking for chosen layout... tcnative
checking for APR... yes
configure: APR 1.7.2 detected.
./configure: line 3138: cd: /usr/local/Cellar/apr/1.7.2/bin/apr-1-config//usr/local/opt/apr/build-1: Not a directory
   setting CC to "clang"
   setting CPP to "clang -E"
  adding "-I/Library/Java/JavaVirtualMachines/jdk-16.0.2.jdk/Contents/Home/include" to TCNATIVE_PRIV_INCLUDES
checking for JDK os include directory...  darwin
  adding "-I/Library/Java/JavaVirtualMachines/jdk-16.0.2.jdk/Contents/Home/include/darwin" to TCNATIVE_PRIV_INCLUDES
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking for OpenSSL library... /usr/local/Cellar/openssl@3/3.0.8
using openssl from /usr/local/Cellar/openssl@3/3.0.8/lib and /usr/local/Cellar/openssl@3/3.0.8/include
checking OpenSSL library version >= 3.0.0... ok
  adding "-I/usr/local/Cellar/openssl@3/3.0.8/include" to TCNATIVE_PRIV_INCLUDES   setting TCNATIVE_LDFLAGS to "-L/usr/local/Cellar/openssl@3/3.0.8/lib -lssl -lcrypto"
   setting TCNATIVE_LIBS to ""
  setting TCNATIVE_LIBS to " -L/usr/local/Cellar/apr/1.7.2/bin/apr-1-config//usr/local/opt/apr/lib -lapr-1 -lpthread"
checking for apr_pollset_wakeup in -lapr-1... yes
   adding "-DHAVE_POLLSET_WAKEUP" to CFLAGS
cp: /apr_rules.mk: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: executing default commands

$ make
Makefile:46: [redacted]/tomcat-native-2.0.3-src/native/build/rules.mk: No such file or directory make: *** No rule to make target `[redacted]/tomcat-native-2.0.3-src/native/build/rules.mk'.  Stop.

The configure command appears to have succeeded but obviously something didn't work as expected.

-chris

On 2/8/23 10:45, Mark Thomas wrote:
The key differences of version 2.0.3 compared to 2.0.2 are:

- The windows binaries in this release have been built with OpenSSL
   3.0.8 and APR 1.7.2

The 2.0.x branch is primarily intended for use with Tomcat 10.1.x but can be used with earlier versions as long as the APR/native connector is not used.

The proposed release artefacts can be found at [1],
and the build was done using tag [2].

The Apache Tomcat Native 2.0.3 release is
  [ ] Stable, go ahead and release
  [ ] Broken because of ...

Thanks,

Mark


[1]
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-connectors/native/2.0.3
[2] https://gitbox.apache.org/repos/asf?p=tomcat-native.git;a=commit;h=2b617703217b2f94fc51afc0ad30e325f69853a2

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to