www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Vibe.d compilation

reply llaine <darksioul yopmail.com> writes:
Hi guys,

I'm trying to get Vibe.d running with ldc2 but I'm kind of stuck 
with the same error so far.

Am I doing something wrong?

Os : Fedore
Ldc2 : 0.16.0

[llaine localhost foo] $ dub init foo --type=vibe.d
[llaine localhost foo] $ cd foo
[llaine localhost foo] $ dub --compiler=ldc2
Performing "debug" build using ldc2 for x86_64.
vibe-d:utils 0.7.28: building configuration "library"...
Error: failed to create path to file: 
.dub/obj/../../.dub/packages/vibe-d-0.7.28/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/libvibe-d_utils.a
No such file or directory
ldc2 failed with exit code 1.
May 30 2016
parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 30/05/2016 7:45 PM, llaine wrote:
 Hi guys,

 I'm trying to get Vibe.d running with ldc2 but I'm kind of stuck with
 the same error so far.

 Am I doing something wrong?

 Os : Fedore
 Ldc2 : 0.16.0

 [llaine localhost foo] $ dub init foo --type=vibe.d
 [llaine localhost foo] $ cd foo
 [llaine localhost foo] $ dub --compiler=ldc2
 Performing "debug" build using ldc2 for x86_64.
 vibe-d:utils 0.7.28: building configuration "library"...
 Error: failed to create path to file:
 .dub/obj/../../.dub/packages/vibe-d-0.7.28/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/libvibe-d_utils.a

 No such file or directory
 ldc2 failed with exit code 1.
That looks like a problem with dub. What version of dub are you using?
May 30 2016
parent reply llaine <darksioul yopmail.com> writes:
On Monday, 30 May 2016 at 07:59:51 UTC, rikki cattermole wrote:
 On 30/05/2016 7:45 PM, llaine wrote:
 Hi guys,

 I'm trying to get Vibe.d running with ldc2 but I'm kind of 
 stuck with
 the same error so far.

 Am I doing something wrong?

 Os : Fedore
 Ldc2 : 0.16.0

 [llaine localhost foo] $ dub init foo --type=vibe.d
 [llaine localhost foo] $ cd foo
 [llaine localhost foo] $ dub --compiler=ldc2
 Performing "debug" build using ldc2 for x86_64.
 vibe-d:utils 0.7.28: building configuration "library"...
 Error: failed to create path to file:
 .dub/obj/../../.dub/packages/vibe-d-0.7.28/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/libvibe-d_utils.a

 No such file or directory
 ldc2 failed with exit code 1.
That looks like a problem with dub. What version of dub are you using?
I'm using the 0.9.25
May 30 2016
parent reply Martin Nowak <code dawg.eu> writes:
On Monday, 30 May 2016 at 08:08:17 UTC, llaine wrote:
 That looks like a problem with dub.
 What version of dub are you using?
I'm using the 0.9.25
Please run dub in verbose mode to see which command failed.
May 30 2016
next sibling parent llaine <darksioul yopmail.com> writes:
On Monday, 30 May 2016 at 09:09:20 UTC, Martin Nowak wrote:
 On Monday, 30 May 2016 at 08:08:17 UTC, llaine wrote:
 That looks like a problem with dub.
 What version of dub are you using?
I'm using the 0.9.25
Please run dub in verbose mode to see which command failed.
Hi thank you for answering ! Here is the log Target '/home/llaine/.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289D /libvibe-d_utils.a' doesn't exist, need rebuild. vibe-d:utils 0.7.30-alpha.1: building configuration "library"... ldc2 -lib -of../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289 F/libvibe-d_utils.a -d-debug -g -w -oq -od=.dub/obj -d-version=VibeDefaultMain -d-version=VibeLibeventDriver -d-version=Have_vibe_d_utils -I../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/ ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe internal/meta/all.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/int rnal/meta/codegen.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/inte nal/meta/funcattr.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/in ernal/meta/traits.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/inter al/meta/typetuple.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe internal/meta/uda.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/inter al/newconcurrency.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/ nternal/rangeutil.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/v be/internal/win32.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/sourc /vibe/utils/array.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/ut ls/dictionarylist.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/ ibe/utils/hashmap.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source vibe/utils/memory.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source vibe/utils/string.d ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/source/vibe/utils/validation.d Error: failed to create path to file: .dub/obj/../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A3C8679119E6CE4289DF/libvibe-d_utils.a No such file or directory FAIL ../../.dub/packages/vibe-d-0.7.30-alpha.1/vibe-d/.dub/build/library-debug-linux.posix-x86_64-ldc_0-20E3C0B79C31A C8679119E6CE4289DF/ vibe-d_utils staticLibrary ldc2 failed with exit code 1.
May 30 2016
prev sibling parent reply llaine <darksioul yopmail.com> writes:
On Monday, 30 May 2016 at 09:09:20 UTC, Martin Nowak wrote:
 On Monday, 30 May 2016 at 08:08:17 UTC, llaine wrote:
 That looks like a problem with dub.
 What version of dub are you using?
I'm using the 0.9.25
Please run dub in verbose mode to see which command failed.
I put the all output in a gist, more readable. https://gist.github.com/llaine/d586041b1d38c7bc3304f89655325694
May 30 2016
parent llaine <darksioul yopmail.com> writes:
On Monday, 30 May 2016 at 09:14:40 UTC, llaine wrote:
 On Monday, 30 May 2016 at 09:09:20 UTC, Martin Nowak wrote:
 On Monday, 30 May 2016 at 08:08:17 UTC, llaine wrote:
 That looks like a problem with dub.
 What version of dub are you using?
I'm using the 0.9.25
Please run dub in verbose mode to see which command failed.
I put the all output in a gist, more readable. https://gist.github.com/llaine/d586041b1d38c7bc3304f89655325694
After upgrading to ldc 1.x version everything work fine !!
May 30 2016