Re: Problem Installing VimClojure + lein-vimclojure

2011-01-27 Thread Stefan Rohlfing
As it seems the Nailgun client has to be installed manually. 

This is what I did so far:

1) 
Downloadedhttp://kotka.de/projects/vimclojure/vimclojure-nailgun-client-2.2.0.zip
 the 
Nailgun Client and extracted it.
2) Added the following commands to my ~/.vimrc file:

let vimclojure#WantNailgun = 1
let vimclojure#NailgunClient = 
/home/sovonex/Clojure/Add-ins/vimclojure-nailgun-client/ng.exe
let clj_want_gorilla = 1

Opened a Clojure file from my Leiningen project in Vim but received the 
following error message:

*Could not determine the Namespace of the file.*
*[...]*
*Reason:*
*Error executing Nail! (126)*
*/bin/bash: /home/sovonex/Clojure/Add-ins/vimclojure-nailgun-client/ng.exe: 
Permission 
denied*

Pointing to ng.exe in my ~/.vimrc file is definitely not correct as I am not 
using Windows but Kubuntu 10.10.
The missing piece to a successful installation therefore is probably the 
building of the Nailgun client. Does anybody know how to build the Nailgun 
client on Linux when using VimClojure + lein-vimclojure?

Best regards,

Stefan



-- 
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: Problem Installing VimClojure + lein-vimclojure

2011-01-27 Thread Miki


 Does anybody know how to build the Nailgun client on Linux when using 
 VimClojure + lein-vimclojure?

 Clone the project from https://bitbucket.org/kotarak/vimclojure. Then (cd 
client  make), there should be a client/ng.

HTH,
--
Miki 

-- 
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: Problem Installing VimClojure + lein-vimclojure

2011-01-27 Thread Stefan Rohlfing
Hi Miki,

Thanks for your help. Now the Nailgun client is running.

Best regards,

Stefan

-- 
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: Problem Installing VimClojure + lein-vimclojure

2011-01-27 Thread Meikel Brandmeyer
Hi,

On 28 Jan., 05:15, Stefan Rohlfing stefan.rohlf...@gmail.com wrote:

 Pointing to ng.exe in my ~/.vimrc file is definitely not correct as I am not
 using Windows but Kubuntu 10.10.
 The missing piece to a successful installation therefore is probably the
 building of the Nailgun client. Does anybody know how to build the Nailgun
 client on Linux when using VimClojure + lein-vimclojure?

These are the instructions from the README contained in the vim plugin
zip:

Building the Nailgun interface

You have to download and install the client program once. Unless there
is a note in the release notes it will be compatible with future
releases. The client can be downloaded from:
http://kotka.de/projects/vimclojure/vimclojure-nailgun-client-.zip.

After unzipping the archive, simply type make in the subdirectory from
the zip archive. This will compile the nailgun client. For Windows the
client is already pre-compiled as ng.exe.

Configure the location of the nailgun client in your .vimrc:

let vimclojure#NailgunClient = /path/to/your/ng

It will default to just ng which should work if the client is on your
PATH.

Note: You might need to check the Makefile for special lib
requirements to compile the nailgun client, eg. on OpenSolaris.

Please let me know if they are unclear in some way or lacking in
information.

Note: there is also a vimclojure google group if you have vimclojure
specific needs.

Sincerely
Meikel

-- 
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: Problem Installing VimClojure + lein-vimclojure

2011-01-27 Thread Stefan Rohlfing
Hi Meikel,

Thanks for pointing me to the installation instructions. I somehow must have 
missed that part.

I have already joined the VimClojure Group and will probably have some more 
questions while learning how to use this plugin.

Best regards,

Stefan

-- 
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