<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 25, 2014 at 7:06 PM, Adam D. Ruppe <span dir="ltr"><<a href="mailto:destructionator@gmail.com" target="_blank">destructionator@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><br></div>
OR you download and run the binary zip. The instructions aren't very good, but this is really easy.<br></blockquote><div><br></div><div>Yes, that works great on my Mint laptop and, I guess, the majority of modern distros.<br>
But let's try your advice on CentOS 5 (and please don't ask me why some people still use it -- I have no idea, too):<br></div><div>$ uname -a<br>Linux ip-10-182-148-229 2.6.18-274.7.1.el5xen #1 SMP Thu Oct 20 17:06:34 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux<br>
</div><div>$ wget <a href="http://downloads.dlang.org/releases/2014/dmd.2.065.0.zip">http://downloads.dlang.org/releases/2014/dmd.2.065.0.zip</a> -q<br>$ unzip -q dmd.2.065.0.zip<br></div><div>$ cat test.d<br>import std.stdio; void main() { writeln("Hello, old Linux system!"); }<br>
$ ./dmd2/linux/bin64/dmd -L-L/usr/lib64 test.d<br>/usr/bin/ld: cannot find -l:libphobos2.a<br>collect2: ld returned 1 exit status<br>--- errorlevel 1<br><br></div><div>O-ops!..<br></div></div></div></div>