[MacPorts] #28684: Clojure won't compile my programs

MacPorts noreply at macports.org
Sun Mar 6 16:46:19 PST 2011


#28684: Clojure won't compile my programs
-----------------------------------------+----------------------------------
 Reporter:  andrew.pennebaker@…          |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                       
Component:  ports                        |     Version:  1.9.2                                
 Keywords:                               |        Port:  clojure                              
-----------------------------------------+----------------------------------
 It seems that Clojure doesn't add the current directory to the compile
 path.

 Specs:

  * Clojure 1.2.0
  * !MacPorts 1.9.2
  * Mac OS X 10.6.6
  * !MacBook Pro 5,1

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

 (println "Hello World!")
 $ clj hello.clj
 Hello World!
 $ clj
 Clojure 1.2.0
 user=> (compile 'hello)
 Hello World!
 java.io.IOException: No such file or directory (NO_SOURCE_FILE:0)
 user=> *compile-path*
 "classes"
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/28684>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list