On Thursday, 13 February 2014 at 12:20:09 UTC, Sönke Ludwig wrote:
Looks like this is more common than it seemed. I can try to compile on the older Ubuntu 11.10 VM, or, if someone can donate an RPM recipe and the necessary commands, I could also set up a Fedora VM and provide a proper RPM package.

Ask and ye shall receive

https://github.com/GlobecSys/w3Vibe/blob/master/dmd.spec
https://github.com/GlobecSys/w3Vibe/blob/master/dub.spec

You should run this before:

$ yum install rpm-build binutils libstdc++-devel wget gcc gcc-c++ make openssl libcurl-devel tar kernel-devel

then you can run

$ rpm-build -ba dmd.spec
$ rpm -ivh ~/rpmbuild/RPMS/x86_64/dmd*.rpm
$ rpm-build -ba dub.spec

Your RPMs will be in ~/rpmbuilds/RPMS/x86_64

I didn't get into making a i686 version of the spec.. I assume it's just a matter of changing %define _archmodel 64 to %define _archmodel 32 in dmd.spec, but for dub I'm not too sure how it handles it.

Reply via email to