Konrad Hinsen <konrad.hin...@laposte.net> writes: > On 05.04.2009, at 17:35, Christian von Essen wrote: > >> 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 :) > > I looked at this yesterday. Apparently all those headers and > libraries are for JNI, which works quite differently under MacOS, > where all that is part of the JavaVM framework. Under MacOSX, there > is thus no JAVATOP at all. > > I got the library to compile with: > > CXXFLAGS = -I/System/Library/Frameworks/JavaVM.framework/Headers - > DPOSIX_STRERROR_R -DSIGDANGER -DSIGMAX -DHAS_SEM_POST - > Dsigthreadmask=pthread_sigmask -fPIC > > libposix.jnilib: $(POSIX_OBJS) > g++ -bundle -o libposix.dnilib $(POSIX_OBJS) -lpthread > > I didn't find the time to test it yet though. Is there a simpler test > than installing and testing clj-server? > > Konrad. >
Hi, I know it's been quite some time. POSIX dependency is gone now. It should be easier to use the server. Just use "ant -lib cpptasks.jar dist" to build the library and the client, run the server with java -cp clojure.jar:clojure-server.jar clojure.main clj-server and connect to it using clj-client. clojure-server.jar, clj-server and clj-client can be found in the dist directory. I hope it works. 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 Note that posts from new members are moderated - please be patient with your first post. 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 -~----------~----~----~----~------~----~------~--~---