Opened 3 years ago

Closed 3 years ago

#62778 closed defect (duplicate)

db48: fatal error: 'jni.h' file not found

Reported by: ZotSci21 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: db48

Description

Hello! I am new to using the Macports and the terminal, so please forgive me for my ignorance in asking this question. I am trying to install openCv with Java bindings by using:

sudo port install opencv +java

As indicated from the installation protocols from this website: http://javagrinders-arc.blogspot.com

The command gets all the way to the "building db48" stage when the command execution fails. I have attached the open log that is generated from the error report. Any and all advice is extremely welcome, and again sorry for any ignorance that may come with this question. We all have to start somewhere!

This is on a late 2013 iMac running Catalina.

Attachments (1)

MacPorts.docx (37.0 KB) - added by ZotSci21 3 years ago.
Error report generated

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by ZotSci21

Attachment: MacPorts.docx added

Error report generated

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Port: db48 added
Resolution: duplicate
Status: newclosed
Summary: Error code: CHILDSTATUS 23380 2db48: fatal error: 'jni.h' file not found

The log says:

:info:build ../dist/../libdb_java/db_java_wrap.c:137:10: fatal error: 'jni.h' file not found
:info:build #include <jni.h>
:info:build          ^~~~~~~
:info:build 1 error generated.

So this is a duplicate of #57743.

P.S: It's easier for us if you just attach the unmodified main.log to the ticket rather than convert it to a Word document first.

Note: See TracTickets for help on using tickets.