www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - gdc on Ubuntu!

reply Walter Bright <newshound1 digitalmars.com> writes:
Vincenzo Ampolo wrote me that you can now do:

	sudo apt-get install gdc

I tried it, and it works!
Nov 11 2007
next sibling parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Walter Bright wrote:
 Vincenzo Ampolo wrote me that you can now do:
 
     sudo apt-get install gdc
 
 I tried it, and it works!
Which version of Ubuntu does that work for? I tried it on my Feisty Fawn install and it didn't find any such package. --bb
Nov 11 2007
next sibling parent John Demme <me teqdruid.com> writes:
Bill Baxter wrote:

 Walter Bright wrote:
 Vincenzo Ampolo wrote me that you can now do:
 
     sudo apt-get install gdc
 
 I tried it, and it works!
Which version of Ubuntu does that work for? I tried it on my Feisty Fawn install and it didn't find any such package. --bb
It's new for Gutsy, which is a nice release, by the way. (The upgrade utility doesn't work so well, though.) -- ~John Demme me teqdruid.com
Nov 11 2007
prev sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
Bill Baxter wrote:
 Walter Bright wrote:
 Vincenzo Ampolo wrote me that you can now do:

     sudo apt-get install gdc

 I tried it, and it works!
Which version of Ubuntu does that work for? I tried it on my Feisty Fawn install and it didn't find any such package.
I have a default install of ubuntu 7.10 gutsy.
Nov 11 2007
parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Walter Bright wrote:
 Bill Baxter wrote:
 Walter Bright wrote:
 Vincenzo Ampolo wrote me that you can now do:

     sudo apt-get install gdc

 I tried it, and it works!
Which version of Ubuntu does that work for? I tried it on my Feisty Fawn install and it didn't find any such package.
I have a default install of ubuntu 7.10 gutsy.
Ok. I'm going to try to upgrade to Gutsy then. --bb
Nov 11 2007
prev sibling next sibling parent reply Jason House <jason.james.house gmail.com> writes:
Walter Bright Wrote:

 Vincenzo Ampolo wrote me that you can now do:
 
 	sudo apt-get install gdc
 
 I tried it, and it works!
Great! I'll have to try this on my 64 bit machine after I upgrade ubuntu. Any plans on getting dmd in as a package in ubuntu too?
Nov 11 2007
next sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
The problem is that dmd gets updated so frequently...
Nov 11 2007
parent reply Witold Baryluk <baryluk smp.if.uj.edu.pl> writes:
Dnia Sun, 11 Nov 2007 18:16:41 -0800
Walter Bright <newshound1 digitalmars.com> napisa=B3/a:

 Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
=20 The problem is that dmd gets updated so frequently...
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#Meth= odFour-Debian (it is working also in Ubuntu) It is updated by me practicly about one day after dmd release. dmd2-nonfree is also pacakged. --=20 Witold Baryluk, aleph0
Nov 11 2007
next sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
Witold Baryluk wrote:
 Dnia Sun, 11 Nov 2007 18:16:41 -0800
 Walter Bright <newshound1 digitalmars.com> napisał/a:
 
 Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
The problem is that dmd gets updated so frequently...
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#MethodFour-Debian (it is working also in Ubuntu) It is updated by me practicly about one day after dmd release. dmd2-nonfree is also pacakged.
I did a search for dmd with synaptic under ubuntu, but it didn't find it.
Nov 11 2007
parent reply Nathan Reed <nathaniel.reed gmail.com> writes:
Walter Bright wrote:
 Witold Baryluk wrote:
 Dnia Sun, 11 Nov 2007 18:16:41 -0800
 Walter Bright <newshound1 digitalmars.com> napisał/a:

 Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
The problem is that dmd gets updated so frequently...
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompil r#MethodFour-Debian (it is working also in Ubuntu) It is updated by me practicly about one day after dmd release. dmd2-nonfree is also pacakged.
I did a search for dmd with synaptic under ubuntu, but it didn't find it.
I think you have to add the non-free repository before it will find it (that repository is unselected by default). I don't know off the top of my head how to do that but look in the menus in Synaptic. Thanks, Nathan Reed
Nov 12 2007
parent reply Walter Bright <newshound1 digitalmars.com> writes:
Nathan Reed wrote:
 Walter Bright wrote:
 Witold Baryluk wrote:
 dmd2-nonfree is also pacakged.
I did a search for dmd with synaptic under ubuntu, but it didn't find it.
I think you have to add the non-free repository before it will find it (that repository is unselected by default). I don't know off the top of my head how to do that but look in the menus in Synaptic.
I see an option for third party software as a "gutsy partner". But it's not there, either, when I added it.
Nov 12 2007
next sibling parent reply Daniel Keep <daniel.keep.lists gmail.com> writes:
Walter Bright wrote:
 Nathan Reed wrote:
 Walter Bright wrote:
 Witold Baryluk wrote:
 dmd2-nonfree is also pacakged.
I did a search for dmd with synaptic under ubuntu, but it didn't find it.
I think you have to add the non-free repository before it will find it (that repository is unselected by default). I don't know off the top of my head how to do that but look in the menus in Synaptic.
I see an option for third party software as a "gutsy partner". But it's not there, either, when I added it.
Not an expert, but did you add the new repository? ----- For Debian i386, and Ubuntu, there are up-to-date debian pacakges, in unofficial repository. 1. Add this line to /etc/apt/source.list deb http://d.xk.pl/debian/ unstable contrib 2. Then you can install packages as usuall in Debian: apt-get update apt-get install dmd-nonfree It will download, decompress and install dmd compiler in system. On any problem with this method please send mail to me: brayluk at smp.if.uj.edu.pl ----- That repository won't show up in any standard configuration dialog; it'll need to be added manually. However, I think Ubuntu lets you, via the Software Sources dialog, add new sources without having to manually modify source.list. -- Daniel
Nov 12 2007
parent Jan Claeys <digitalmars janc.be> writes:
Op Mon, 12 Nov 2007 22:00:08 +1100, schreef Daniel Keep:

 However, I think Ubuntu lets you, via the Software Sources dialog, add
 new sources without having to manually modify source.list.
You're right, the 3rd parties tab in that dialog allows you to add sources by pasting the "deb ..." line in a text entry box. -- JanC
Nov 13 2007
prev sibling parent Jari-Matti =?ISO-8859-1?Q?M=E4kel=E4?= <jmjmak utu.fi.invalid> writes:
Walter Bright wrote:

 Nathan Reed wrote:
 Walter Bright wrote:
 Witold Baryluk wrote:
 dmd2-nonfree is also pacakged.
I did a search for dmd with synaptic under ubuntu, but it didn't find it.
I think you have to add the non-free repository before it will find it (that repository is unselected by default). I don't know off the top of my head how to do that but look in the menus in Synaptic.
I see an option for third party software as a "gutsy partner". But it's not there, either, when I added it.
You need to add the line from the wiki4d page to your sources.list. Should be possible with Synaptic too I suppose. Then run 'apt-get update' or press some GUI button that does the same. After that dmd-nonfree should be available.
Nov 12 2007
prev sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
Witold Baryluk wrote:
 Dnia Sun, 11 Nov 2007 18:16:41 -0800
 Walter Bright <newshound1 digitalmars.com> napisał/a:
 
 Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
The problem is that dmd gets updated so frequently...
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#MethodFour-Debian (it is working also in Ubuntu) It is updated by me practicly about one day after dmd release. dmd2-nonfree is also pacakged.
The /etc/apt/source.list is /etc/apt/sources.list on ubuntu.
Nov 12 2007
next sibling parent Witold Baryluk <baryluk smp.if.uj.edu.pl> writes:
Dnia Mon, 12 Nov 2007 09:00:10 -0800
Walter Bright <newshound1 digitalmars.com> napisa=B3/a:

 The /etc/apt/source.list is /etc/apt/sources.list on ubuntu.
Good point :) It is so also on Debian. Error on wiki, already corrected. --=20 Witold Baryluk, aleph0 MAIL: baryluk smp.if.uj.edu.pl JID: movax jabber.autocom.pl
Nov 12 2007
prev sibling parent reply z_axis <z_axis 163.com> writes:
sir,

In order to spread D in China, i have developed a simple software called  
DStudy, in which i bind DMD compiler.
I donot know whether or not it is legal to bind DMD. please let me know

DStudy -> http://www.mediafire.com/?01xw4nghlby


regards!
Nov 15 2007
next sibling parent Lars Ivar Igesund <larsivar igesund.net> writes:
z_axis wrote:

 sir,
 
 In order to spread D in China, i have developed a simple software called
 DStudy, in which i bind DMD compiler.
 I donot know whether or not it is legal to bind DMD. please let me know
 
 DStudy -> http://www.mediafire.com/?01xw4nghlby
 
 
 regards!
You are not allowed to put the DMD compiler binary into your downloads. I don't know if Walter is willing to give you a license though. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Nov 15 2007
prev sibling parent z_axis <z_axis 163.com> writes:
http://www.mediafire.com/?cybjondm4bx
Nov 15 2007
prev sibling parent Christopher Wright <dhasenan gmail.com> writes:
Jason House wrote:
 Walter Bright Wrote:
 
 Vincenzo Ampolo wrote me that you can now do:

 	sudo apt-get install gdc

 I tried it, and it works!
Great! I'll have to try this on my 64 bit machine after I upgrade ubuntu. Any plans on getting dmd in as a package in ubuntu too?
What's your output from `apt-cache search dmd-nonfree`?
Nov 11 2007
prev sibling parent reply Pablo Ripolles <in-call gmx.net> writes:
Witold Baryluk Wrote:

 Dnia Sun, 11 Nov 2007 18:16:41 -0800
 Walter Bright <newshound1 digitalmars.com> napisał/a:
 
 Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
The problem is that dmd gets updated so frequently...
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#MethodFour-Debian (it is working also in Ubuntu) It is updated by me practicly about one day after dmd release. dmd2-nonfree is also pacakged. -- Witold Baryluk, aleph0
But the problem is that those binaries can only be installed on an i386 arch and not on an amd64 version of ubuntu... thats a pity... Pablo
Nov 12 2007
parent reply Adam Burton <adz21c googlemail.com> writes:
Pablo Ripolles wrote:

 Witold Baryluk Wrote:
 
 Dnia Sun, 11 Nov 2007 18:16:41 -0800
 Walter Bright <newshound1 digitalmars.com> napisał/a:
 
 Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
The problem is that dmd gets updated so frequently...
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#MethodFour-Debian
 (it is working also in Ubuntu)
 
 
 It is updated by me practicly about one day after dmd release.
 
 dmd2-nonfree is also pacakged.
 
 
 --
 Witold Baryluk, aleph0
But the problem is that those binaries can only be installed on an i386 arch and not on an amd64 version of ubuntu... thats a pity... Pablo
I am running amd64 and they are there, working just fine.
Nov 13 2007
next sibling parent reply Neal Becker <ndbecker2 gmail.com> writes:
Adam Burton wrote:

 Pablo Ripolles wrote:
 
 Witold Baryluk Wrote:
 
 Dnia Sun, 11 Nov 2007 18:16:41 -0800
 Walter Bright <newshound1 digitalmars.com> napisał/a:
 
 Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
The problem is that dmd gets updated so frequently...
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#MethodFour-Debian
 (it is working also in Ubuntu)
 
 
 It is updated by me practicly about one day after dmd release.
 
 dmd2-nonfree is also pacakged.
 
 
 --
 Witold Baryluk, aleph0
But the problem is that those binaries can only be installed on an i386 arch and not on an amd64 version of ubuntu... thats a pity... Pablo
I am running amd64 and they are there, working just fine.
Can you build a shared library with it?
Nov 13 2007
parent reply Adam Burton <adz21c googlemail.com> writes:
Neal Becker wrote:

 Adam Burton wrote:
 
 Pablo Ripolles wrote:
 
 Witold Baryluk Wrote:
 
 Dnia Sun, 11 Nov 2007 18:16:41 -0800
 Walter Bright <newshound1 digitalmars.com> napisał/a:
 
 Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
The problem is that dmd gets updated so frequently...
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#MethodFour-Debian
 (it is working also in Ubuntu)
 
 
 It is updated by me practicly about one day after dmd release.
 
 dmd2-nonfree is also pacakged.
 
 
 --
 Witold Baryluk, aleph0
But the problem is that those binaries can only be installed on an i386 arch and not on an amd64 version of ubuntu... thats a pity... Pablo
I am running amd64 and they are there, working just fine.
Can you build a shared library with it?
Unfortunately not, however I downloaded the deb-src and added -fPIC to the makefile stuff and now I can (not that I tested whether I can link to the shared library, just test that it can make them although I would like to assume that they are use-able). Adam
Nov 14 2007
parent Neal Becker <ndbecker2 gmail.com> writes:
Adam Burton wrote:

 Neal Becker wrote:
 
 Adam Burton wrote:
 
 Pablo Ripolles wrote:
 
 Witold Baryluk Wrote:
 
 Dnia Sun, 11 Nov 2007 18:16:41 -0800
 Walter Bright <newshound1 digitalmars.com> napisał/a:
 
 Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
The problem is that dmd gets updated so frequently...
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#MethodFour-Debian
 (it is working also in Ubuntu)
 
 
 It is updated by me practicly about one day after dmd release.
 
 dmd2-nonfree is also pacakged.
 
 
 --
 Witold Baryluk, aleph0
But the problem is that those binaries can only be installed on an i386 arch and not on an amd64 version of ubuntu... thats a pity... Pablo
I am running amd64 and they are there, working just fine.
Can you build a shared library with it?
Unfortunately not, however I downloaded the deb-src and added -fPIC to the makefile stuff and now I can (not that I tested whether I can link to the shared library, just test that it can make them although I would like to assume that they are use-able).
Last time I tried, the problem was that the x86_64 version didn't build shared versions of all of it's own libs, and on i386 you can link a non-pic lib to a pic one, but not on most other arch, (including x86_64). So, you couldn't build a shared lib on gdc x86_64 (or at least, you couldn't really use it).
Nov 14 2007
prev sibling parent Pablo Ripolles <in-call gmx.net> writes:
Adam Burton Wrote:

 Pablo Ripolles wrote:
 
 Witold Baryluk Wrote:
 
 Dnia Sun, 11 Nov 2007 18:16:41 -0800
 Walter Bright <newshound1 digitalmars.com> napisał/a:
 
 Jason House wrote:
 Any plans on getting dmd in as a package in ubuntu too?
The problem is that dmd gets updated so frequently...
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#MethodFour-Debian
 (it is working also in Ubuntu)
 
 
 It is updated by me practicly about one day after dmd release.
 
 dmd2-nonfree is also pacakged.
 
 
 --
 Witold Baryluk, aleph0
But the problem is that those binaries can only be installed on an i386 arch and not on an amd64 version of ubuntu... thats a pity... Pablo
I am running amd64 and they are there, working just fine.
Oh!! I'll try it again. My first attempt was with Feisty on a macbook and the installation (with synaptic) didn't work. I'll try on Gusty! Many thanks.
Nov 14 2007