[Swift-user] OS X dependencies

Jonathan Monette jonmon at mcs.anl.gov
Sat Apr 14 19:20:31 CDT 2012


What source are you building? Trunk? 0.93?

Also, are you sure you added the right bin directory to your path? After a build you need to add dist/swift-svn/bin

On Apr 14, 2012, at 19:02, Gustav Larsson <larsson at uchicago.edu> wrote:

> Hi,
> 
> I am trying to run Swift from a source build on OS X (10.8, dev
> preview 2 / Java 1.6.0_31). The ANT build was successful and I added
> the swift/bin to my PATH, so that I can run it. My problems however
> are runtime errors:
> 
> 1.
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/griphyn/vdl/karajan/Loader
> 
> So, I went ahead and added karajan/build to my CLASSPATH. Fixed.
> 
> 2.
> Two more errors like this, resulting in adding swift/build and
> util/build as well to my CLASSPATH. Fixed.
> 
> 3.
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/thoughtworks/xstream/converters/Converter
> 
> Now, I could probably download xstream and get this to work, but
> talking to Mike Wilde, he seemed puzzled that I should have to go
> through this process, so is there something I'm missing?
> 
> Thanks!
> 
> Regards,
> Gustav
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user



More information about the Swift-user mailing list