pilot-link 0.11.8 has been out for a month or so, and I haven't seen an updated ebuild yet, so here is my attempt... The configure script has changed a bit, and I had to patch the makefile to install the Java bindings properly. The Makefile has the directory "i386" hardcoded into it - someone with more ebuild knowledge than me will have to change it, as I haven't got a non-x86 machine to test on... Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 15689 [details] pilot-link 0.11.8 ebuild
Created attachment 15690 [details] Makfefile patch to install Java bindings The Makefile has "i386" hardcoded - this needs to be changed...
I have tested this on x86 and it installs and seems to work fine. Probably needs some testing on the Java side, since that part was rewritten.
This is now in portage testing, but appears to be a different package to this one. Tried both and received the following error: <pre>ibjpisock.so ./libjpisock.c libjpisock.c: In function `jint Java_org_gnu_pilotlink_PilotLink_createDB(JNIEnv*, _jobject*, long int, long long int, _jstring*, long long int)': libjpisock.c:198: invalid conversion from `jint*' to `int*' libjpisock.c: In function `jint Java_org_gnu_pilotlink_PilotLink_openDB(JNIEnv*, _jobject*, long int, _jstring*)': libjpisock.c:231: invalid conversion from `jint*' to `int*' libjpisock.c: In function `jint Java_org_gnu_pilotlink_PilotLink_getRecordCount(JNIEnv*, _jobject*, long int, long int)': libjpisock.c:245: invalid conversion from `jint*' to `int*' libjpisock.c: In function `_jobject* Java_org_gnu_pilotlink_PilotLink_getRecordByIndex(JNIEnv*, _jobject*, long int, long int, long int)': libjpisock.c:259: invalid conversion from `jint*' to `int*' libjpisock.c:259: invalid conversion from `jint*' to `int*' libjpisock.c:259: invalid conversion from `jint*' to `int*' make[3]: *** [java_lib] Error 1 make[3]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings/Java' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8' make: *** [all-recursive-am] Error 2 !!! ERROR: app-pda/pilot-link-0.11.8 failed. !!! Function src_compile, Line 57, Exitcode 2 !!! (no error message)</pre> I tried both the one currently in portage and by downloading the one here as they appeared to be a bit different. I received the same error on both. This is blocking my ability to update evolution as it is a required package (and I use the functions it provides). I don't know java so can't help with the actual programming, but glad to test it out. Also, I'm using blackdown java. I have both installed, is there a way I can tell it to try to compile with Sun java?
I found my issue was related to java-config errors. I'm resolved... and this is probably a closed bug? http://forums.gentoo.org/viewtopic.php?t=76147 includes what my problem was and how I resolved it with some help.
fine, so this can be closed :)