[MacPorts] #22902: Keep getting some Java error or something related with db46.

MacPorts noreply at macports.org
Sun Jan 3 04:44:43 PST 2010


#22902: Keep getting some Java error or something related with db46.
------------------------------------------+---------------------------------
 Reporter:  the.justin.mueller@…          |       Owner:  blair@…           
     Type:  defect                        |      Status:  new               
 Priority:  Normal                        |   Milestone:                    
Component:  ports                         |     Version:  1.8.1             
 Keywords:                                |        Port:  db46              
------------------------------------------+---------------------------------

Comment(by Nomis101@…):

 Yesterday I did a clean install of MacPorts, but I think this was a bad
 idea, because now I'm not able anymore to install Mercurial. db46 doesn't
 install because of the same "error: jni.h: No such file or directory" as
 in the attachment. So I found out there was a dead link to the Headers
 folder in /System/Library/Frameworks/JavaVM.framework. So I removed it and
 reinstalled the "JavaForMacOSX10.6Update1", but after that I had the dead
 link back. So I fixed this by hand. But it still doesn't work. So I've
 tried:
 export
 JINCLUDE=-I/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Headers
 Doesn't work. Than:
 export
 JAVA_INCLUDES="-I/System/Library/Frameworks/JavaVM.framework/Headers"
 Doesn't work. db46 doesn't build because of "error: jni.h: No such file or
 directory". I'am sure it builds without any problem before this
 "JavaForMacOSX10.6Update1".
 Please, how can I fix this?  I need Mercurial!

 Mac OS X 10.6.2, Java 1.6, x86_64

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


More information about the macports-tickets mailing list