January 31, 2013
On Thu, Jan 31, 2013 at 1:05 PM, Joseph Rushton Wakeling <joseph.wakeling@webdrake.net> wrote:
> On 01/30/2013 01:58 PM, timewulf wrote:
>>
>> It took me some time to realize, that it was dmd-2.60 that caused the errors: To compile the libraries out of 2.61 or git, one needs a recent compiler.
>
>
> More specifically, you should be compiling Phobos and druntime releases (or latest up-to-date git source) with the corresponding DMD release/latest dev version.
>
> Funnily enough I never ran into this issue because before building from source I scrubbed all previous DMD installs from my system, or -- when updating from-source builds -- I would copy the newly-built dmd to the appropriate path location before building runtime/Phobos, so conveniently overwriting the old dmd.
>
> Alex' tutorial on his (old) blog is really useful because it emphasizes the necessity of using the newly-built DMD rather than the old one.  And it's as simple as adding "DMD=../dmd/src/dmd" when invoking make.

Could you please update the wiki accordingly?  (If you don't have an account, it takes 5 secs to get one, I did that a few weks ago)
January 31, 2013
On 01/31/2013 05:58 PM, Philippe Sigaud wrote:
> Could you please update the wiki accordingly?  (If you don't have an
> account, it takes 5 secs to get one, I did that a few weks ago)

Yea, I've been slow about getting active on the Wiki, apologies for that.  I've updated the page to include the DMD=../dmd/src/dmd option in the druntime/Phobos build process, and to add a discussion of how to install dmd etc. once it's built.

I also added a link to Alex' blog post. :-)

January 31, 2013
On Thu, Jan 31, 2013 at 6:47 PM, Joseph Rushton Wakeling <joseph.wakeling@webdrake.net> wrote:
> On 01/31/2013 05:58 PM, Philippe Sigaud wrote:
>>
>> Could you please update the wiki accordingly?  (If you don't have an account, it takes 5 secs to get one, I did that a few weks ago)
>
>
> Yea, I've been slow about getting active on the Wiki, apologies for that.

It was just that I had no easy access to a connection :)

> I've updated the page to include the DMD=../dmd/src/dmd option in the druntime/Phobos build process, and to add a discussion of how to install dmd etc. once it's built.
>
> I also added a link to Alex' blog post. :-)

In fact, I was a bit leery to add it yesterday, because these kinds of post are very ephemeral. But hey, we can also change the wiki when/if the post does not represent the current situation.
February 01, 2013
On 31.01.2013 19:17, Philippe Sigaud wrote:
> On Thu, Jan 31, 2013 at 6:47 PM, Joseph Rushton Wakeling <joseph.wakeling@webdrake.net> wrote:
>> On 01/31/2013 05:58 PM, Philippe Sigaud wrote:
>>>
>>> Could you please update the wiki accordingly?  (If you don't have an account, it takes 5 secs to get one, I did that a few weks ago)
>>
>>
>> Yea, I've been slow about getting active on the Wiki, apologies for that.
> 
> It was just that I had no easy access to a connection :)
> 
>> I've updated the page to include the DMD=../dmd/src/dmd option in the druntime/Phobos build process, and to add a discussion of how to install dmd etc. once it's built.
>>
>> I also added a link to Alex' blog post. :-)
> 
> In fact, I was a bit leery to add it yesterday, because these kinds of post are very ephemeral. But hey, we can also change the wiki when/if the post does not represent the current situation.
> 

Hi all again,

thanks for the changes, I tried out to install only with the wiki, as if
I knew nothing more than a week before and I got it working without trouble.

During my first approach, there was just one misunderstanding on my side: I didn't realize (I just didn't look for it.) , that the dmd-compiler itself is purely C-code. I thought, I need dmd for compiling the newer version.

On the otherhand, I'm a safety-fanatic, first building the new hut before razing down the old one, because I dislike tents ... ;-))


There's a great discussion about "How to get d-Language more popular".

I think this part, to make installation more easy and smoothy is one part, to help on this way. Everyone who heard about d and just wants to try-out if he can easily understand some samples, changing some parameters to see if they work as expected, doesn't want to put much time into installation before.

Greetings, Timewulf (Berthold Humkamp)
February 01, 2013
On 02/01/2013 09:33 AM, timewulf wrote:
> During my first approach, there was just one misunderstanding on my
> side: I didn't realize (I just didn't look for it.) , that the
> dmd-compiler itself is purely C-code. I thought, I need dmd for
> compiling the newer version.

Actually it's C++, it's just that the filenames all end in .c.

> On the otherhand, I'm a safety-fanatic, first building the new hut
> before razing down the old one, because I dislike tents ... ;-))

Me too, but it's readily possible to do this safely.  Actually I used to first build dmd and copy it to location _before_ building druntime/Phobos, so even missing off the DMD=../dmd/src/dmd flag I was still always using the correct dmd.

> I think this part, to make installation more easy and smoothy is one
> part, to help on this way. Everyone who heard about d and just wants to
> try-out if he can easily understand some samples, changing some
> parameters to see if they work as expected, doesn't want to put much
> time into installation before.

Have you tried installing LDC?  I consider it by far the friendliest install experience of all the D compilers, and if someone was going to have a go at reworking the install scripts for DMD, it'd be worth following this model.
http://wiki.dlang.org/Building_LDC_from_source

Personally I recommend using the -DCMAKE_INSTALL_PREFIX=/opt/ldc when invoking cmake, as cmake does not by default provide an uninstall option, and this is the simplest way to ensure easy removal of what you install.
February 01, 2013
On 01.02.2013 13:08, Joseph Rushton Wakeling wrote:
> Have you tried installing LDC?  I consider it by far the friendliest
> install experience of all the D compilers, and if someone was going to
> have a go at reworking the install scripts for DMD, it'd be worth
> following this model.
> http://wiki.dlang.org/Building_LDC_from_source
> 
> Personally I recommend using the -DCMAKE_INSTALL_PREFIX=/opt/ldc when invoking cmake, as cmake does not by default provide an uninstall option, and this is the simplest way to ensure easy removal of what you install.

One day before I wanted to try out, I found the ebuild for installing it
out of portage. Now I've got the newest ldc2 from git and the comfort of
my packagemanager.
If there is any error in git-sources, portage will find out during
compile and won't replace the installed version.

With the complete infos to dmd-installation, I'll try to create a new dmd2.ebuild for installation out of git now. I'll post it, when it is ready.
February 01, 2013
On Friday, 1 February 2013 at 15:41:25 UTC, timewulf wrote:

> With the complete infos to dmd-installation, I'll try to create a new
> dmd2.ebuild for installation out of git now. I'll post it, when it is ready.

I've got adapted the ebuild and the patch of v 2.060 to 2.061. May you tell me, whom to send the files, that they will get into the portage overlay for gentoo? There's no supporter mentioned in the old ebuild.

It would be no much work, to adept those files to the git-version also, but I looked into the make files of the previous releases of dmd. They changed much, so I think it will be a never ending story, to keep the patches up to date for git.

May you tell me, who's working on the make-files, if it's possible, to build those trivialities directly into the posix.mak-files? Without those patches, the ebuild for git would work wonderfully.
1 2
Next ›   Last »