Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clojure can't find and compile scripts in the current directory #4

Open
mcandre opened this issue Mar 7, 2011 · 1 comment
Open

Comments

@mcandre
Copy link

mcandre commented Mar 7, 2011

Specs:

Clojure 1.2.0 and 1.3.0 (tried 'em both, and MacPorts Clojure and Homebrew Clojure)
Mac OS X 10.6.6
MacBook Pro 5,1

$ cat hello.clj
#!/usr/bin/env clj

(ns hello
    (:gen-class))

(defn -main
    [greetee]
    (println (str "Hello " greetee "!")))
$ clj
Clojure 1.3.0-master-SNAPSHOT
user=> (compile 'hello)
CompilerException java.io.IOException: No such file or directory, compiling:(hello.clj:3)
@t1anchen
Copy link

You can create a directory named "classes" in current working directory, then try compiling it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants