From: p3consulting at mac.com (p3consulting) Date: Fri, 14 May 2004 10:29:53 +0200 Subject: [Pljava-dev] Problems compiling under Mac OS X Message-ID: Hello, Here some reports of problems I have got trying compiling pljava under Mac OS X: 1. the jni.h file is in the JavaVM framework This requires a simple modification of the pljva/C/Makefile #----------------------------------------------------------------------- -- # # Makefile-- # Makefile for pljava # #----------------------------------------------------------------------- -- NAME := pljava include $(MODULEROOT)/Makefile.global ifeq ($(PORTNAME), win32) DLL_BUILD := 1 else ifeq ($(PORTNAME), cygwin) DLL_BUILD := 1 override CPPFLAGS := -DCYGWIN $(CPPFLAGS) else ifeq ($(PORTNAME), darwin) DLL_BUILD := 0 override CPPFLAGS := -DDARWIN -framework JavaVM $(CPPFLAGS) else JRE_INCL := $(PORTNAME) ifeq ($(host_cpu), i686) JRE_LIB := lib/i386/client else JRE_LIB := lib/$(host_cpu)/client endif endif endif endif 2. every #include should be converted to #ifdef DARWIN #include #else #include #endif 3. ant 1.5.1 is installed by default on Mac OS X the build fails with BUILD FAILED file:/Volumes/Data2/download_osx/PostgreSQL/org.postgresql.pljava/ build.xml:30: Could not create task or type of type: depend. Ant could not find the task or a class this task relies upon. Should I have to install another ant version ? Another .jar missing ? Any idea ? Pascal Pochet p3consulting at mac.com ---------------------------------- PGP KeyID: 0x208C5DBF Fingerprint: 9BFB 245C 5BFE 7F1D 64B7 C473 ABB3 4E83 208C 5DBF -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2369 bytes Desc: not available URL: