Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2005 23:31:24 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        fredericdelagoublaye@free.fr
Cc:        Panagiotis Astithas <past@ebs.gr>, freebsd-java@FreeBSD.org
Subject:   Re: java sqlite on FreeBSD 6.0
Message-ID:  <20051204233124.46e6cdfc.nork@FreeBSD.org>
In-Reply-To: <4392DC45.50402@ebs.gr>
References:  <001801c5f8c6$b89b3680$0400a8c0@iava> <4392DC45.50402@ebs.gr>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sun, 04 Dec 2005 14:08:37 +0200
Panagiotis Astithas <past@ebs.gr> wrote:
> > configure: WARNING: setting generic JNI include file directives!
> > setting JNI include file directives: -I/usr/local/include -I/usr/local/include/freebsd6.0
> This must be your problem. The configure script does not find the jdk 
> header files. For jdk14 you should have -I/usr/local/jdk1.4.2/include 
> -I/usr/local/jdk1.4.2/include/freebsd.

	Yes.
	Please configure with --with-jdk=/usr/local/jdk1.4.2 --without-sqlite,
	and apply attached patch.

	I considered to make javasqlite ports, but I give up:-).
	At least, there are 1 master port and 3 slave ports.
	I think that these relations have CONFLICT:-(.

	databases/javasqlite2-14
		--with-jdk=/usr/local/jdk1.4.2 --without-sqlite3
	databases/javasqlite2-15
		--with-jdk=/usr/local/jdk1.4.2 --without-sqlite
	databases/javasqlite3-14
		--with-jdk=/usr/local/jdk1.5.0 --without-sqlite3
	databases/javasqlite3-15
		--with-jdk=/usr/local/jdk1.5.0 --without-sqlite

[-- Attachment #2 --]
--- configure.orig	Mon May 16 19:03:35 2005
+++ configure	Sun Dec  4 23:18:13 2005
@@ -7485,6 +7485,9 @@
     linux* )
         JNIINCLUDE="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux"
         ;;
+    freebsd* )
+        JNIINCLUDE="-I$JAVA_HOME/include -I$JAVA_HOME/include/freebsd"
+        ;;
     *)
         JNIINCLUDE="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/${build_os}"
         { echo "$as_me:$LINENO: WARNING: setting generic JNI include file directives!" >&5

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051204233124.46e6cdfc.nork>