Trying to build 1.3.1 I did the fit manipulations as suggested (I know very 
little about git) and I get
[root@evfediamdv1 tomcat-native-1.3.1-src]# ./jnirelease.sh -f 
--with-apr=/root/rpmbuild/SOURCES/apr-1.6.3 --ver=1.3.1

Using apr source from: `/root/rpmbuild/SOURCES/apr-1.6.3'
Using: /bin/elinks -dump -dump-width 80 -dump-charset iso-8859-1 -no-numbering 
-no-references -no-home ...
Using /bin/perl
Using GIT repo       : `https://gitbox.apache.org/repos/asf/tomcat-native.git`
Using version        : `1.3.1`
HEAD is now at 0d6da8c122 Tag Tomcat Native 1.3.1
Fetching tcjava
WARNING: git subtree is not up to date with
         https://gitbox.apache.org/repos/asf/tomcat.git
         Either correct now by running
         'git checkout 1.3.x'
         'git rm -rf java/org/apache/tomcat/jni'
         'git read-tree --prefix=java/org/apache/tomcat/jni/ -u 
tcjava/9.0.x:java/org/apache/tomcat/jni'
         'git commit'
         or run this script with -f (force)
FORCED run chosen
#define TCN_IS_DEV_VERSION      0
Buildfile: 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/xdocs/build.xml

build-prepare:
    [mkdir] Created dir: 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build
    [mkdir] Created dir: 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build/docs

build-static:
    [mkdir] Created dir: 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build/docs/images
     [copy] Copying 13 files to 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build/docs/images
     [xslt] Transforming into 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build/docs/miscellaneous
     [xslt] Processing 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/xdocs/miscellaneous/changelog.xml
 to 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build/docs/miscellaneous/changelog.html
     [xslt] Loading stylesheet 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/xdocs/style.xsl
     [xslt] Processing 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/xdocs/miscellaneous/tls-renegotiation.xml
 to 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build/docs/miscellaneous/tls-renegotiation.html
     [xslt] Transforming into 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build/docs/news
     [xslt] Processing 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/xdocs/news/2024.xml
 to 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build/docs/news/2024.html
     [xslt] Loading stylesheet 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/xdocs/style.xsl

build-main:
     [xslt] Transforming into 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build/docs
     [xslt] Processing 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/xdocs/index.xml 
to 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/build/docs/index.html
     [xslt] Loading stylesheet 
/usr/local/src/tomcat-native-1.3.1-src/tomcat-native-1.3.1-src/xdocs/style.xsl

BUILD SUCCESSFUL
Total time: 0 seconds

Looking for apr source in /root/rpmbuild/SOURCES/apr-1.6.3
Creating configure ...
Generating 'make' outputs ...
Traceback (most recent call last):
  File "/root/rpmbuild/SOURCES/apr-1.6.3/build/gen-build.py", line 230, in 
<module>
    main()
  File "/root/rpmbuild/SOURCES/apr-1.6.3/build/gen-build.py", line 47, in main
    headers = get_files(parser.get('options', 'headers'))
  File "/root/rpmbuild/SOURCES/apr-1.6.3/build/gen-build.py", line 223, in 
get_files
    for pat in string.split(patterns):
AttributeError: module 'string' has no attribute 'split'
Creating build-outputs.mk failed
[root@evfediamdv1 tomcat-native-1.3.1-src]#

Darryl Baker, GSEC, GCLD (he/him/his) 
Sr. System Administrator 
Distributed Application Platform Services 
Northwestern University 
4th Floor 
2020 Ridge Avenue 
Evanston, IL 60208-0801 
darryl.ba...@northwestern.edu <mailto:darryl.ba...@northwestern.edu> 
(847) 467-6674 <tel:+18474676674> 




On 2/4/25, 5:00 PM, "Dimitris Soumis" <dsou...@apache.org 
<mailto:dsou...@apache.org>> wrote:


The latest available APR devel package on RHEL 8 is version 1.6.3. (i.e
apr-devel-1.6.3-12.el8.x86_64)


If you attempt to build *tomcat-native 2.0.8*, you will encounter the
following error:


configure: error: Found APR 1.6.3. You need version 1.7.0 or newer
> installed.
>


However, *tomcat-native 1.3.1* is compatible with APR 1.6.3 and should be
built without issues.


For tomcat-native 2.0.8, since the APR version provided by the distribution
is obsolete, your only option would be to build a static version of APR
1.7.0 or later to meet the requirement.


There is no tomcat-native package available for RHEL 8.
Kind regards,
Dimitris


On Wed, Feb 5, 2025 at 12:27 AM Christopher Schultz <
ch...@christopherschultz.net <mailto:ch...@christopherschultz.net>> wrote:


> Darryl,
>
> On 2/3/25 1:17 PM, Darryl Baker wrote:
> > Would someone please point me to the documentation on building
> tomcat-native on RHEL 8 using the Red Hat supplied APR package?
>
> Do you need to build from source, or can you use the RHEL binary?
>
> $ sudo yum search tomcat-native
> ===== Name Exactly Matched: tomcat-native =====
> tomcat-native.x86_64 : Tomcat native library
>
> If you truly need to build, we can probably update the documentation to
> indicate which popular packages would be necessary before building from
> source.
>
> -chris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org 
> <mailto:users-unsubscr...@tomcat.apache.org>
> For additional commands, e-mail: users-h...@tomcat.apache.org 
> <mailto:users-h...@tomcat.apache.org>
>
>



Reply via email to