Thread overview | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 05, 2012 Building LDC from source | ||||
---|---|---|---|---|
| ||||
Attachments:
| Has anyone been able to build LDC from source? I tried configuring the CMake stuff but the resulting Make system simply does nothing – but it does it very quickly :-)
Thanks.
--
Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
|
September 05, 2012 Re: Building LDC from source | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On Wednesday, 5 September 2012 at 16:02:22 UTC, Russel Winder wrote:
> Has anyone been able to build LDC from source? I tried configuring the
> CMake stuff but the resulting Make system simply does nothing – but it
> does it very quickly :-)
Do you get any CMake error messages? Just running cmake/ccmake in the root directory should be quite well-tested on various Linux distros, OS X, and Windows, so I'm somewhat surprised to hear that…
David
|
September 05, 2012 Re: Building LDC from source | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger Attachments:
| On Wed, 2012-09-05 at 20:12 +0200, David Nadlinger wrote: […] > Do you get any CMake error messages? Just running cmake/ccmake in the root directory should be quite well-tested on various Linux distros, OS X, and Windows, so I'm somewhat surprised to hear that… Initial problem appears to be that there is no clean target despite the dopcumentation. Then I found I didn't have libconfig++ installed but the build wasn't telling me that. Now I actually get some activity, but no clean. ldc2 builds to 43MB of file, but then the build fails for some reason to do with not finding druntime. Builds really should work out of the box :-( -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
September 06, 2012 Re: Building LDC from source | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | > reason to do with not finding druntime.
You probably didn't do
git submodule init; git submodule update
So it doesn't find druntime because there is no druntime :D. There are build instructions on the LDC github wiki that always worked for me on Debian Wheezy.
|
September 06, 2012 Re: Building LDC from source | ||||
---|---|---|---|---|
| ||||
Posted in reply to jerro Attachments:
| On Thu, 2012-09-06 at 02:30 +0200, jerro wrote: > > reason to do with not finding druntime. > > You probably didn't do > > git submodule init; git submodule update Probably not, will try it now. > So it doesn't find druntime because there is no druntime :D. There are build instructions on the LDC github wiki that always worked for me on Debian Wheezy. Any idea why -j9? It seems very specific and is only really going to help on a 10 processor/core or more system. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
September 06, 2012 Re: Building LDC from source | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On Thursday, 6 September 2012 at 00:56:39 UTC, Russel Winder wrote:
> On Thu, 2012-09-06 at 02:30 +0200, jerro wrote:
>> > reason to do with not finding druntime.
>>
>> You probably didn't do
>>
>> git submodule init; git submodule update
>
> Probably not, will try it now.
>
>> So it doesn't find druntime because there is no druntime :D. There are build instructions on the LDC github wiki that always worked for me on Debian Wheezy.
>
> Any idea why -j9? It seems very specific and is only really going to
> help on a 10 processor/core or more system.
I don't know, but I assume that whoever wrote the instructions was using a machine with 8 cores. Using n + 1 (where n is the number of cores) threads with make is supposed to be faster than using n threads. At least that's what people say. I have only tested this once and it turned out to be true in that case but that hardly proves it.
|
September 06, 2012 Re: Building LDC from source | ||||
---|---|---|---|---|
| ||||
Posted in reply to jerro Attachments:
| On Thu, 2012-09-06 at 02:30 +0200, jerro wrote: > > reason to do with not finding druntime. > > You probably didn't do > > git submodule init; git submodule update > > So it doesn't find druntime because there is no druntime :D. There are build instructions on the LDC github wiki that always worked for me on Debian Wheezy. Thanks for this "heads up", worked a treat. Moral of story: LDC developers should change the readme.txt pointing people explicitly at the wrong place to find the right build instructions. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
September 06, 2012 Re: Building LDC from source | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | > Moral of story: LDC developers should change the readme.txt pointing
> people explicitly at the wrong place to find the right build
> instructions.
You're right. I opened a pull request.
|
September 06, 2012 Re: Building LDC from source | ||||
---|---|---|---|---|
| ||||
Posted in reply to jerro | On 2012-09-06 02:30, jerro wrote: >> reason to do with not finding druntime. > > You probably didn't do > > git submodule init; git submodule update Or in one command: $ git submodule update --init You can also add --recursive to be on the safe side. -- /Jacob Carlborg |
September 06, 2012 Re: Building LDC from source | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 9/6/12 9:22 AM, Jacob Carlborg wrote: > On 2012-09-06 02:30, jerro wrote: >>> reason to do with not finding druntime. >> >> You probably didn't do >> >> git submodule init; git submodule update > > Or in one command: > > $ git submodule update --init > > You can also add --recursive to be on the safe side. BTW I've added pointers for the LDC instructions to the download page: http://dlang.org/download.html. Feedback welcome. Andrei |
Copyright © 1999-2021 by the D Language Foundation