Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returned a non zero error 1 #1

Open
sumithnetwork opened this issue Aug 3, 2021 · 0 comments
Open

Returned a non zero error 1 #1

sumithnetwork opened this issue Aug 3, 2021 · 0 comments

Comments

@sumithnetwork
Copy link

Step 27/35 : RUN mkdir -p /opt/tomcat-native && tar -zxf bin/tomcat-native.tar.gz -C /opt/tomcat-native --strip-components=1 && rm /opt/tomcat/bin/*tar.gz && cd /opt/tomcat-native/native && ./configure --libdir=/usr/lib/ --prefix="$CATALINA_HOME" --with-apr=/usr/bin/apr-1-config --with-java-home="$JAVA_HOME" --with-ssl=yes && make -j$(nproc) && make install && rm -rf /opt/tomcat-native /tmp/openssl
---> Running in 3d7346067798
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
Tomcat Native Version: 1.2.30
checking for chosen layout... tcnative
checking for APR... yes
configure: APR 1.4.8 detected.
setting CC to "gcc"
setting CPP to "gcc -E"
checking JAVA_HOME... failed

configure: error: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-0.b14.el7_2.x86_64 is not a directory

The command '/bin/sh -c mkdir -p /opt/tomcat-native && tar -zxf bin/tomcat-native.tar.gz -C /opt/tomcat-native --strip-components=1 && rm /opt/tomcat/bin/*tar.gz && cd /opt/tomcat-native/native && ./configure --libdir=/usr/lib/ --prefix="$CATALINA_HOME" --with-apr=/usr/bin/apr-1-config --with-java-home="$JAVA_HOME" --with-ssl=yes && make -j$(nproc) && make install && rm -rf /opt/tomcat-native /tmp/openssl' returned a non-zero code: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant