Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F312D1A3 for ; Tue, 6 Nov 2012 22:24:12 +0000 (UTC) Received: (qmail 94714 invoked by uid 500); 6 Nov 2012 22:24:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 94641 invoked by uid 500); 6 Nov 2012 22:24:11 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 94632 invoked by uid 99); 6 Nov 2012 22:24:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 22:24:11 +0000 Date: Tue, 6 Nov 2012 22:24:11 +0000 (UTC) From: "sam marshall (JIRA)" To: issues@commons.apache.org Message-ID: <2018675559.77303.1352240651945.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (DAEMON-265) OS X 10.8: Cannot build jsvc with java 7 installed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 sam marshall created DAEMON-265: ----------------------------------- Summary: OS X 10.8: Cannot build jsvc with java 7 installed Key: DAEMON-265 URL: https://issues.apache.org/jira/browse/DAEMON-265 Project: Commons Daemon Issue Type: Bug Components: Jsvc Affects Versions: 1.0.10 Environment: OS X 10.8.2 Oracle JDK 1.7.0_09 Reporter: sam marshall I followed the instructions here to build jsvc: https://tomcat.apache.org/tomcat-7.0-doc/setup.html#Unix_daemon When I run the configure script, I get this: {code} *** Java compilation tools *** checking for JDK os include directory... Cannot find jni_md.h in /System/Library/Frameworks/JavaVM.framework/Home/ configure: error: You should retry --with-os-type=SUBDIR {code} As a workaround, I can make it work like this: {code} ./configure --with-java=/System/Library/Frameworks/JavaVM.framework/Versions/A/ {code} However, the workaround shouldn't really be necessary on a standard install. As Oracle JDK 1.7 is now the default/only supported JDK on OS X, this ought to work out of the box. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira