[MacPorts] #29115: db46 @4.6.21_6: jni.h: No such file or directory

MacPorts noreply at macports.org
Mon Apr 25 11:31:21 PDT 2011


#29115: db46 @4.6.21_6: jni.h: No such file or directory
-----------------------------------+----------------------------------------
 Reporter:  tommazzo@…             |       Owner:  blair@…           
     Type:  defect                 |      Status:  new               
 Priority:  Normal                 |   Milestone:                    
Component:  ports                  |     Version:  1.9.2             
 Keywords:                         |        Port:  db46              
-----------------------------------+----------------------------------------

Comment(by enomao@…):

 Replying to [comment:6 ryandesign@…]:
 > For both of you, the relevant error in all that output is:
 >
 > {{{
 > :info:build ../dist/../libdb_java/db_java_wrap.c:123:17: error: jni.h:
 No such file or directory
 > }}}
 >
 > This is the old "db46 requires the Java for Mac OS X development
 headers" error. I was told Mac OS X 10.6.7 clears up this error by once
 again including the needed header in Mac OS X itself, instead of requiring
 a separate development package. (And I see both of you are running Darwin
 10.7.3, which I believe is a machine-specific version of Mac OS X 10.6.7.)
 Perhaps that is why the port did not print the error message. However,
 perhaps the real underlying problem still exists. Does it go away if you
 install the Java development headers? For Snow Leopard, the correct
 package to install is https://connect.apple.com/cgi-
 bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719


 Hello,
 I installed the the "Java development headers" and the problem went away.
 I was able to install arb. Thanks

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


More information about the macports-tickets mailing list