Thread overview
dmd & gdc in archlinux
Mar 06, 2011
%u
Mar 06, 2011
Jérôme M. Berger
Mar 06, 2011
%u
Mar 07, 2011
%u
Mar 07, 2011
Andrew Wiley
Mar 07, 2011
Jonathan M Davis
Mar 07, 2011
%u
Mar 07, 2011
Jonathan M Davis
Mar 08, 2011
%u
Mar 07, 2011
Jérôme M. Berger
March 06, 2011
i can't install dmd or gdc in arch linux from AUR
i don't way?
March 06, 2011
%u wrote:
> i can't install dmd or gdc in arch linux from AUR
> i don't way?
	For gdc, which package exactly are you trying to install? On what
platform (32 or 64 bits)? And what error do you get?

		Jerome
-- 
mailto:jeberger@free.fr
http://jeberger.free.fr
Jabber: jeberger@jabber.fr



March 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

March 07, 2011
== Quote from %u (asmasm@hotmail.com)'s article
> i can't install it and i use this command
> yaourt -R gdc

i mean yaourt -S gdc
March 07, 2011
On Sun, Mar 6, 2011 at 10:55 PM, %u <asmasm@hotmail.com> wrote:
> == Quote from %u (asmasm@hotmail.com)'s article
>> i 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.
March 07, 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 article
> > 
> >> i 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
March 07, 2011
%u wrote:
> == Quote from %u (asmasm@hotmail.com)'s article
>> i 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
-- 
mailto:jeberger@free.fr
http://jeberger.free.fr
Jabber: jeberger@jabber.fr



March 07, 2011
== Quote from Jonathan M Davis (jmdavisProg@gmx.com)'s article

> and add /path/to/unzipped/dmd2/linux/bin to your path.

how can i add path ?


March 07, 2011
On Monday, March 07, 2011 12:10:27 %u wrote:
> == Quote from Jonathan M Davis (jmdavisProg@gmx.com)'s article
> 
> > and 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
March 08, 2011
== Quote from Jonathan M Davis (jmdavisProg@gmx.com)'s article
> On Monday, March 07, 2011 12:10:27 %u wrote:
> > == Quote from Jonathan M Davis (jmdavisProg@gmx.com)'s article
> >
> > > and 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

Jonathan M Davis you are the best

thanks