Building from source for ubuntu

monarch_dodra monarchdodra at gmail.com
Sun Jul 7 03:25:50 PDT 2013


I'm building a nix environment for dmd, and am having problems 
buiding dmd from source on it.

I'm following the instructions on the wiki:
http://wiki.dlang.org/Building_DMD

The first thing I've run into seems that the X64 instructions are 
out of date? it says to do "make -f posix.mak MODEL=64", but that 
doesn't seem to do anything...
Anyways, that's just minor detail.

I'm hitting a wall at building phobos, because of curl:
make -f posix.mak DMD=../dmd/src/dmd
/usr/bin/ld: cannot find -lcurl

I've isntalled curl via apt-get ("sudo apt-get curl"), and it 
seems to be installed. Just not in ld:
which curl
/usr/bin/curl
cd /usr/bin/ld
bash: cd: /usr/bin/ld: Not a directory

Bit of help on either of these two isues? Then I'll update the 
wiki.


More information about the Digitalmars-d-learn mailing list