On Sat, Apr 04, 2009 at 09:56:00PM +0200, Konrad Hinsen wrote: > I tried to install your server, but I got stuck with the posix > package. There are no installation instructions, and from looking at > the Makefile it seems like I need to provide information about my JVM > that I don't know where to get from. Do you happen to know how to > install the posix library under MacOS X 10.4/PPC?
Yeah, I'll try providing some documentation for that. As for MacOS X, I don't have any, so we have to figure it out together, or hope that anyone else knows how to do it :) For the posix library, we need to build two things: * libposix.so - at least under linux its called this way. This is the bridge between java and the posix functions, which OS X should provide (the functions, that is) * posix.jar - which is just the jar for the java classes The second one should be no problem (I removed the JUnit dependency, as we have no need of testing the library). The first one is the problem here, I guess. You need to edit two variables: 1) JAVATOP: This is the directory in which all the java stuff is installed. Have a look at /System/Library/Frameworks/JavaVM.framework/ or some directory of that. Could this be correct? 2) ARCH: This is your system architecture. To be more precise, this is just the name of a subdirectory of JAVATOP/jre/lib. For me, this is i386 for my laptop, and amd64 for my desktop. It could be something like ppc for you. If they are set, everything *should* work. OTOH, I haven't even used OS X for once, so this all is just guesswork. After the library is build, you have to put it somewhere, where the jvm can find it. You can execute (println (System/getProperty "java.library.path")) to see where java look for that by default. Ah yes, this also can tell you where the java directory is. Ah yes, P.S.: I guess, that Mac OS X shared libraries end with .dylib instead of .so. Am I right? This means, that you possibly have to substitute libposix.so with libposix.dylib. I'm sorry, that this is such a mess. Maybe I'll use something that is more portable for building, like autofoo. If you know how to build JNI libraries, you could also build the library by hand. P.P.S.: HELP! Anybody knows a nice way to do this? Maybe ant can help. Regards, Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---