How to build clojure_contrib with Clojure v 1.6? - clojure

I've downloaded the current stable version of Clojure on my Macbook, which is 1.6.
However, I only find the way to build clojure_contrib with clojure 1.3 or older.
So how can I build it with clojure v1.6 ?

I know, I'm giving answer to another question, but still.
You don't need to build clojure-contrib. If it's some book/tutorial you are reading - grab clojure-1.3. If you are porting old project to clojure-1.6 - switch it to new modular clojure-contrib (http://dev.clojure.org/display/community/Where+Did+Clojure.Contrib+Go).

Related

C++ Ecipse: Save Before Running a Program

I try to learn C++ and because I'm already familiar with Eclipse (PHP, JavaScript, HTML (CSS), Java) I downloaded Eclipse for C / C++ Developers.
The others versions of Eclipse I used over the past years always had an easy way to save automatically before doing certain things. And Eclipse for C / C++ Developers seamed to have the same thing and it might be that it actually worked yesterday (but then again, I was really tired).
Everything I found regarding this is either what's described in this question or a subset of what's described there. However, this doesn't work for me. (I of course tried restarting Eclipse.)
I'm running the newest version (which I downloaded yesterday from the official website) of Eclipse for C / C++ Developers in the 64 bit version for Linux on an Ubuntu machine. I checked for updates via the internal tool and Eclipse is up to date.
This is what "About Eclipse" says:
Eclipse IDE for C/C++ Developers
Version: Mars.1 Release (4.5.1)
Build id: 20150924-1200

How I install Haskell under Linux ? - a bug in the official doc?

I would like to start with Haskell and I am at this page, the page clearly says
Get and install GHC 7.6.3 prior to building the platform
but if you click the link to GHC 7.6.3 ( the published version at this point in time )
Stop!
For most users, we recommend installing the Haskell Platform instead of GHC. The current Haskell Platform release includes a recent GHC release as well as some other tools (such as cabal), and a larger set of libraries that are known to work together.
What should I do ?
I'm interested in using Haskell in conjunction with C++11, so I'm particularly interested in building the interpreter and the essential libraries from the source and what is the best way to use Haskell in general, if Haskell provides more than 1 version of the interpreter and what are all the possible solutions, this informations do not help me in finding a way.
I'm under Ubuntu 13.10 amd64 and I would like to know what is the best way to start with Haskell .
The Linux source distribution of the Haskell Platform does not include GHC. So if you actually want to build everything from source, then you need GHC separately first.
But most people get the platform via a binary installer, or, on Linux, via their distribution. So you should check whether Ubuntu 13.10 has the Haskell Platform, and it seems it does, so I recommend you start from there.
You can also try out https://www.fpcomplete.com/. The website has interactive tutorials and allows you to run haskell without having to install it on your machine.

Install latest cppunit in windows

I am trying to install CppUnit on Windows.
I have downloaded it from here, decompressed it, and noticed that all files have ,v in their name, and no extension.
The instructions for installation (in included files, as well as on every site I found that suggests installation for Windows, are for Linux. (example installing CppUnit for Windows Instructions).
Others, just to build: (example: installing CppUnit for Visual Studio Instructions or Second answer on same topic).
The accepted answer on the above link has a comment saying that the person who accepted it "Sorted it, I downloaded another version" - after he had exactly the same problem as I did - but did not specify what version or from where...
The link I have above is the latest version.
I was able to find a very old version, 1.12.1, from 2008, that would almost build (with lots of errors), on Windows. I am using it now to learn how to implement CppUnit. Still, it is 4 years old... I would like to be able to use the latest build...
Please, can someone give me some suggestion that I can implement, and works, in Windows, to install the latest cppUnit ?
Thank you.
The first download you made is an archive of the CVS repository. This explains the strange ,v "extensions" you see on the files. It is not what you should download. And indeed, the correct download you made (version 1.12.1) is 4 years old. It was the latest stable version though, so it should normally build. I don't know what the exact problems were you encountered.
There are however two newer options. There is CppUnit2, which is available here. And there is an independent fork of the original project available here.
Perhaps you can check either of those out and see if they are less problematic for you.
The fork Bart mentions on freedesktop.org appears to be the (only?) continuation of CppUnit version 1, and at this moment has version 1.13.2.
Note that for this version, if you want to use the test runner on Win64, you'll have to make a small modification described here until that has made it to a newer release.

How to build OpenJDK Shark against llvm 3.0?

Recently I learned that there's an openjdk shark project, which uses llvm to make hotspot vm more portable. Since I used to work on jdk and is interested in llvm right now, this is a match made in heaven. So first thing first, how to build openjdk shark against llvm 3.0? To be more specific, which repository in http://hg.openjdk.java.net/ should I begin with? jdk7u, jdk7u2, jdk8, or icedtea?
I prefer latest update release of jdk7 if possible. And I intend to build that in a mac os x.
I made some progress. Here's what I did:
started with this repository
applied llvm 3.0 patch mentioned here
and bunch of other make file hacks
But there is a road blocker. To support JSR 292, a.k.a invoke dynamic, something called Richochet frames has been introduced into Hotspot JVM, which unfortunately hasn't been implemented in zero yet. So the building fails not only on Mac OS X but also on other platforms.
The good news is Chris Phillips from Redhat is working on it. I also learned that the most relevant mailing lists are mlvm-dev and zero-dev at openjdk.java.net, in case someone is interested in the same topic too.

Is there a downloadable distribution of Thrift for Windows?

I've been reading quite a bit about Thrift and it looks like a technology I'd really like to use. I'm having all sorts of trouble building the Windows distribution. I know a patch exists to build a Windows version, however I have not had much luck with this either.
Does anyone know of a pre-built distribution for Windows?
Or any suggestions on how to get the latest version of Thrift built (without turning my Windows machine into a pseudo *nix box).
Thanks
Rich
Thrift 0.8 now has VS projects for both the compiler and C++ library. Get the snapshot release or the latest off of SVN
http://thrift.apache.org/download/
Edit: 0.8 has been officially released and the source is available as a tarball on the download page.
Edit2: The SVN trunk now has a cross-platform sample project under thrift/contrib/transport-sample
I ported the client part of Thrift to Windows C++ for my own open-source project. It should be easily usable in other Win32 or WinCE projects.
http://peoplesnote.codeplex.com - src\Evernote API\Thrift
Yes there is, just download the exe from here:
http://thrift.apache.org/download/
exe listed for download there is standalone executable, no installation is needed.
I have used it to generate Smalltalk code, did not test other languages.