Re: Leiningen on OpenBSD
I'm going to listen to Aaron's initial advice and follow the path of least resistance by switching from OpenBSD to Linux (Arch) for Clojure development. Thanks all for your help. -- 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
Re: Leiningen on OpenBSD
On Sat, Jul 23, 2011 at 10:24 AM, Scott Scites railca...@gmail.com wrote: While walking through the Clojure/Heroku/Database tutorial the Leiningen REPL fails to display a prompt. When I control-c out, the final output before closing shows a connection being made and the prompt. If I change out of the project directory and lein repl I get the connection and the prompt as I would expect. Is there a solution to this problem? How might I debug the issue? Should I file a bug with the Leiningen project? Feel free to file a bug on the github issue tracker for Leiningen, provided you're running a compliant Java 1.5 or higher. (not GCJ, for instance.) When you run a repl inside a project directory, Leiningen starts a socket server inside your project, and it runs what is essentially a telnet client inside Leiningen's own process. (This is due to a shortcoming of ant where stdin isn't visible from your project's process.) So you can try to determine if the failure is in the client or the server. One way to check would be to set the LEIN_REPL_PORT environment variable to something like 2000, then try to connect via telnet or netcat in a separate terminal. If it works, then the problem is with the I/O inside the Leiningen JVM rather than the code that Leiningen runs inside your project's process. Another thing to check would be to see if clojure.contrib.server-socket/create-socket-repl (from contrib 1.2) works. If not, then it's probably not a Leiningen bug. -Phil -- 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
Re: Leiningen on OpenBSD
It appears that the ports tree does offer a sun jdk now that you can build, but it is 1.7. If you are running 4.9 and are using the jdk from the ports tree, this could also be the source of your problem. Cheers, Aaron Bedra -- Clojure/core http://clojure.com On 07/23/2011 09:57 PM, Aaron Bedra wrote: The java that you cobble together for openbsd is really a mess. Unless they have a working version of the standard jdk, I wouldn't bother. I love and support the openbsd project, but I stay away from any kind of java on openbsd. Cheers, Aaron Bedra -- Clojure/core http://clojure.com On Jul 23, 2011, at 10:24 AM, Scott Scitesrailca...@gmail.com wrote: While walking through the Clojure/Heroku/Database tutorial the Leiningen REPL fails to display a prompt. When I control-c out, the final output before closing shows a connection being made and the prompt. If I change out of the project directory and lein repl I get the connection and the prompt as I would expect. Is there a solution to this problem? How might I debug the issue? Should I file a bug with the Leiningen project? Thank you. -- 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 -- Cheers, Aaron Bedra -- Clojure/core http://clojure.com -- 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
Re: Leiningen on OpenBSD
On Jul 24, 6:21 pm, Aaron Bedra aaron.be...@gmail.com wrote: It appears that the ports tree does offer a sun jdk now that you can build, but it is 1.7. If you are running 4.9 and are using the jdk from the ports tree, this could also be the source of your problem. Thanks for your help! I'm running OpenBSD 5.0 beta with jdk 1.7. Does Leiningen not run on 1.7 yet? Scott Cheers, Aaron Bedra -- Clojure/corehttp://clojure.com On 07/23/2011 09:57 PM, Aaron Bedra wrote: The java that you cobble together for openbsd is really a mess. Unless they have a working version of the standard jdk, I wouldn't bother. I love and support the openbsd project, but I stay away from any kind of java on openbsd. Cheers, Aaron Bedra -- Clojure/core http://clojure.com On Jul 23, 2011, at 10:24 AM, Scott Scitesrailca...@gmail.com wrote: While walking through the Clojure/Heroku/Database tutorial the Leiningen REPL fails to display a prompt. When I control-c out, the final output before closing shows a connection being made and the prompt. If I change out of the project directory and lein repl I get the connection and the prompt as I would expect. Is there a solution to this problem? How might I debug the issue? Should I file a bug with the Leiningen project? Thank you. -- 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 -- Cheers, Aaron Bedra -- Clojure/corehttp://clojure.com -- 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
Re: Leiningen on OpenBSD
On Sun, Jul 24, 2011 at 8:39 PM, scitesy railca...@gmail.com wrote: On Jul 24, 6:21 pm, Aaron Bedra aaron.be...@gmail.com wrote: It appears that the ports tree does offer a sun jdk now that you can build, but it is 1.7. If you are running 4.9 and are using the jdk from the ports tree, this could also be the source of your problem. Thanks for your help! I'm running OpenBSD 5.0 beta with jdk 1.7. Does Leiningen not run on 1.7 yet? I would like to support 1.7 but haven't tried it myself. I have heard reports of it working OK on Linux systems. If you could try the same thing with 1.7 on Linux, it would be helpful so we know whether it's OpenBSD or 1.7. thanks, Phil -- 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
Re: Leiningen on OpenBSD
FWIW, lein and JDK 1.7 play fine together on both my linux systems (Ubuntu 10.10 and 11.04). -- 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
Leiningen on OpenBSD
While walking through the Clojure/Heroku/Database tutorial the Leiningen REPL fails to display a prompt. When I control-c out, the final output before closing shows a connection being made and the prompt. If I change out of the project directory and lein repl I get the connection and the prompt as I would expect. Is there a solution to this problem? How might I debug the issue? Should I file a bug with the Leiningen project? Thank you. -- 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
Re: Leiningen on OpenBSD
The java that you cobble together for openbsd is really a mess. Unless they have a working version of the standard jdk, I wouldn't bother. I love and support the openbsd project, but I stay away from any kind of java on openbsd. Cheers, Aaron Bedra -- Clojure/core http://clojure.com On Jul 23, 2011, at 10:24 AM, Scott Scites railca...@gmail.com wrote: While walking through the Clojure/Heroku/Database tutorial the Leiningen REPL fails to display a prompt. When I control-c out, the final output before closing shows a connection being made and the prompt. If I change out of the project directory and lein repl I get the connection and the prompt as I would expect. Is there a solution to this problem? How might I debug the issue? Should I file a bug with the Leiningen project? Thank you. -- 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 -- 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