[MacPorts] #26963: building db46 on 10.6.4 fails: cannot find jni.h

MacPorts noreply at macports.org
Sat Oct 23 04:06:00 PDT 2010


#26963: building db46 on 10.6.4 fails: cannot find jni.h
--------------------------------------+-------------------------------------
 Reporter:  kelvin.bitnick@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  High                      |   Milestone:                                       
Component:  ports                     |     Version:  1.9.1                                
 Keywords:  build failure db46 jni.h  |        Port:  db46                                 
--------------------------------------+-------------------------------------
 On a fresh 10.6.4, installing macports 1.9.1 went fine up to db46. from
 there, I got the following:


 --->  Building db46
 Error: Target org.macports.build returned: shell command failed
 Log for db46 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
 Error: The following dependencies failed to build: xrender xorg-libX11
 xorg-libxcb python26 db46 gdbm openssl sqlite3 xorg-libpthread-stubs xorg-
 xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-
 xf86bigfontproto xorg-xtrans xorg-renderproto
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>

 in the logfile:


 :info:build ../dist/../libdb_java/db_java_wrap.c:123:17: error: jni.h: No
 such file or directory:info:build
 ../dist/../libdb_java/db_java_wrap.c:147: error: expected ')' before '*'
 token
 :info:build ../dist/../libdb_java/db_java_wrap.c:196: error: expected ')'
 before '*' token:info:build ../dist/../libdb_java/db_java_wrap.c:200:
 error: expected '=', ',', ';', 'asm' or '__attribute__
 ' before '*' token


 and in
 /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h
 :


 /*
  * @(#)jni.h    1.62 06/02/02
  *
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * SUN PROPRIETARY/CONFIDENTIAL.  Use is subject to license terms.
  */

 /*
  * We used part of Netscape's Java Runtime Interface (JRI) as the starting
  * point of our design and implementation.
  */

 /******************************************************************************
  * Java Runtime Interface
  * Copyright (c) 1996 Netscape Communications Corporation. All rights
 reserved.
 *****************************************************************************/

 #ifndef _JAVASOFT_JNI_H_
 #define _JAVASOFT_JNI_H_

 #include <stdio.h>
 #include <stdarg.h>

 /* jni_md.h contains the machine-dependent typedefs for jbyte, jint
    and jlong */
 ...


 I've just installed macports 1.9.1 from scratch on 10.5.8 and no such
 error was triggered

-- 
Ticket URL: <https://trac.macports.org/ticket/26963>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list