digitalmars.D.learn - dmd & gdc in archlinux
- %u <asmasm hotmail.com> Mar 06 2011
- =?UTF-8?B?IkrDqXLDtG1lIE0uIEJlcmdlciI=?= <jeberger free.fr> Mar 06 2011
- %u <asmasm hotmail.com> Mar 06 2011
- %u <asmasm hotmail.com> Mar 06 2011
- Jonathan M Davis <jmdavisProg gmx.com> Mar 07 2011
- %u <asmasm hotmail.com> Mar 07 2011
- %u <asmasm hotmail.com> Mar 08 2011
- =?UTF-8?B?IkrDqXLDtG1lIE0uIEJlcmdlciI=?= <jeberger free.fr> Mar 07 2011
- Andrew Wiley <debio264 gmail.com> Mar 07 2011
- Jonathan M Davis <jmdavisProg gmx.com> Mar 07 2011
i can't install dmd or gdc in arch linux from AUR i don't way?
Mar 06 2011
Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable %u wrote:i can't install dmd or gdc in arch linux from AUR i don't way?
platform (32 or 64 bits)? And what error do you get? Jerome --=20 mailto:jeberger free.fr http://jeberger.free.fr Jabber: jeberger jabber.fr
Mar 06 2011
in dmd: this the error massage object.d: Error: module object is in file 'object.d' which cannot be read import path[0] = /usr/include/d import path[1] = /usr/include/d/druntime/import in gdc: i can't install it and i use this command yaourt -R gdc
Mar 06 2011
== Quote from %u (asmasm hotmail.com)'s articlei can't install it and i use this command yaourt -R gdc
i mean yaourt -S gdc
Mar 06 2011
On Monday, March 07, 2011 09:09:02 Andrew Wiley wrote:On Sun, Mar 6, 2011 at 10:55 PM, %u <asmasm hotmail.com> wrote:== Quote from %u (asmasm hotmail.com)'s articlei can't install it and i use this command yaourt -R gdc
i mean yaourt -S gdc
It looks like in the official repositories, we have dmd, but you're not installing libtango or libphobos. You must install one of them. If you're after D2, you're back in the AUR with gdc2-hg or dmd2/libphobos2.
For anyone wanting dmd, I'd advise simply downloading the zip file, unzipping it wherever you want it and add /path/to/unzipped/dmd2/linux/bin to your path. Bam. It works. There's no need to actually install it with the distro's package manager and put it in /usr/bin or whatnot. That's what I've been doing for ages, regardless of my distro (I currently use Arch), and it just works without having to worry about what the distro is up to. So, I don't know what the best way to deal with gdc is, but for dmd, it's insanely simple to just use the official zip file. That's what I'd recommend that _anyone_ do in Linux, regardless of distro. - Jonathan M Davis
Mar 07 2011
== Quote from Jonathan M Davis (jmdavisProg gmx.com)'s articleand add /path/to/unzipped/dmd2/linux/bin to your path.
how can i add path ?
Mar 07 2011
== Quote from Jonathan M Davis (jmdavisProg gmx.com)'s articleOn Monday, March 07, 2011 12:10:27 %u wrote:== Quote from Jonathan M Davis (jmdavisProg gmx.com)'s articleand add /path/to/unzipped/dmd2/linux/bin to your path.
how can i add path ?
/etc/bash.bashrc.local or whatever is appropriate for your system. On my Arch system, I believe that I put it in /etc/bash.bashrc.local. Regardless, you add a line similar to this to your bashrc file: export PATH=$PATH:/path/to/unzipped/dmd2/linux/bin On my system, it's export PATH=$PATH:/home/jmdavis/dmd2/linux/bin - Jonathan M Davis
Jonathan M Davis you are the best thanks
Mar 08 2011
Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable %u wrote:=3D=3D Quote from %u (asmasm hotmail.com)'s articlei can't install it and i use this command yaourt -R gdc
i mean yaourt -S gdc
The gdc package is woefully out of date. You should install either gdc1-hg (for D1) or gdc2-hg (for D2) both of which are reasonably maintained (note however that they cannot be installed together). Jerome --=20 mailto:jeberger free.fr http://jeberger.free.fr Jabber: jeberger jabber.fr
Mar 07 2011
On Sun, Mar 6, 2011 at 10:55 PM, %u <asmasm hotmail.com> wrote:== Quote from %u (asmasm hotmail.com)'s articlei can't install it and i use this command yaourt -R gdc
i mean yaourt -S gdc
It looks like in the official repositories, we have dmd, but you're not installing libtango or libphobos. You must install one of them. If you're after D2, you're back in the AUR with gdc2-hg or dmd2/libphobos2.
Mar 07 2011
On Monday, March 07, 2011 12:10:27 %u wrote:== Quote from Jonathan M Davis (jmdavisProg gmx.com)'s articleand add /path/to/unzipped/dmd2/linux/bin to your path.
how can i add path ?
Put it in the appropriate bashrc file - be it your personal .bashrc or /etc/bash.bashrc.local or whatever is appropriate for your system. On my Arch system, I believe that I put it in /etc/bash.bashrc.local. Regardless, you add a line similar to this to your bashrc file: export PATH=$PATH:/path/to/unzipped/dmd2/linux/bin On my system, it's export PATH=$PATH:/home/jmdavis/dmd2/linux/bin - Jonathan M Davis
Mar 07 2011









%u <asmasm hotmail.com> 