Re: vibe.d problem

2014-11-18 Thread Lázaro Armando via Digitalmars-d-learn
Thread name: Re: vibe.d problem 
Mail number: 2 
Date: Tue, Nov 18, 2014 
In reply to: DigitalmarsD learn 

 On Mon, 17 Nov 2014 16:24:17 -0500
 låzaro via Digitalmars-d-learn digitalmars-d-learn@puremagic.com
 wrote:
 
  Building vibe-d 0.7.20 configuration libevent, build type debug.
 this is very old. try git HEAD instead, it should help.

How could I do that using dub?



Re: vibe.d problem

2014-11-18 Thread ketmar via Digitalmars-d-learn
On Tue, 18 Nov 2014 08:37:14 -0500
Lázaro Armando via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:

 Thread name: Re: vibe.d problem 
 Mail number: 2 
 Date: Tue, Nov 18, 2014 
 In reply to: DigitalmarsD learn 
 
  On Mon, 17 Nov 2014 16:24:17 -0500
  låzaro via Digitalmars-d-learn digitalmars-d-learn@puremagic.com
  wrote:
  
   Building vibe-d 0.7.20 configuration libevent, build type debug.
  this is very old. try git HEAD instead, it should help.
 
 How could I do that using dub?
dunno, not using it. let's hope that some DUB user will answer.


signature.asc
Description: PGP signature


Re: vibe.d problem

2014-11-18 Thread Etienne via Digitalmars-d-learn

On 2014-11-18 8:37 AM, Lázaro Armando via Digitalmars-d-learn wrote:

How could I do that using dub?



You must download the most recent version of dub from http://code.dlang.org

Run the commands:

dub remove vibe-d --force-remove
dub fetch vibe-d --version=0.7.21-rc.4

The list of versions you can use is here:
https://github.com/rejectedsoftware/vibe.d/releases


Re: vibe.d problem

2014-11-18 Thread CraigDillabaugh via Digitalmars-d-learn
On Tuesday, 18 November 2014 at 17:16:33 UTC, CraigDillabaugh 
wrote:
On Monday, 17 November 2014 at 22:02:13 UTC, låzaro via 
Digitalmars-d-learn wrote:

Error executing command run: dmd failed with exit code 1.


Not sure exactly what your issue is, and am a bit rusty on 
Vibe/dub, but you may have better luck getting answers here:


http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/

What if you just type dub

instead of dub run.


Sorry for the noise - I see you got an answer in the 'other' 
version of this thread.


Re: vibe.d problem

2014-11-18 Thread CraigDillabaugh via Digitalmars-d-learn
On Monday, 17 November 2014 at 22:02:13 UTC, låzaro via 
Digitalmars-d-learn wrote:

Hi there folks, let me the fact talk for me


lazaro@leviatan:~$ dub init aplicacion vibe.d
Successfully created an empty project in 
'/home/lazaro/aplicacion'.

lazaro@leviatan:~$ cd aplicacion/
lazaro@leviatan:~/aplicacion$ dub run
Building vibe-d 0.7.20 configuration libevent, build type 
debug.

Running dmd...
../.dub/packages/vibe-d-0.7.20/source/vibe/templ/parsertools.d(12): 
Deprecation: module std.metastrings is deprecated - Please use 
std.string.format, std.conv.to or std.conv.parse instead
../.dub/packages/vibe-d-0.7.20/source/vibe/templ/diet.d(28): 
Deprecation: module std.metastrings is deprecated - Please use 
std.string.format, std.conv.to or std.conv.parse instead
../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2.d(491): 
Deprecation: function core.time.Duration.fracSec is deprecated 
- Please use split instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2_tcp.d(110): 
Deprecation: function core.time.Duration.fracSec is deprecated 
- Please use split instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2_tcp.d(269): 
Deprecation: function core.time.Duration.fracSec is deprecated 
- Please use split instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/task.d(203): 
Deprecation: alias object.clear is deprecated - Please use 
destroy instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/task.d(204): 
Deprecation: alias object.clear is deprecated - Please use 
destroy instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/inet/message.d(186): 
Deprecation: constructor std.datetime.SimpleTimeZone.this is 
deprecated - Please use the overload which takes a Duration.
../.dub/packages/vibe-d-0.7.20/source/vibe/inet/webform.d(53): 
Error: std.string.indexOfAny!(char, char).indexOfAny at 
/usr/include/dmd/phobos/std/string.d(1044) conflicts with 
vibe.utils.string.indexOfAny at 
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/string.d(123)
../.dub/packages/vibe-d-0.7.20/source/vibe/inet/webform.d(63): 
Error: std.string.indexOfAny!(char, char).indexOfAny at 
/usr/include/dmd/phobos/std/string.d(1044) conflicts with 
vibe.utils.string.indexOfAny at 
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/string.d(123)
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(124): 
Deprecation: Read-modify-write operations are not allowed for 
shared variables. Use core.atomic.atomicOp!+=(this.m_bytes, 
sz) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(140): 
Deprecation: Read-modify-write operations are not allowed for 
shared variables. Use core.atomic.atomicOp!-=(this.m_bytes, 
*pb) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(143): 
Deprecation: Read-modify-write operations are not allowed for 
shared variables. Use core.atomic.atomicOp!+=(this.m_bytes, 
new_size) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(152): 
Deprecation: Read-modify-write operations are not allowed for 
shared variables. Use core.atomic.atomicOp!-=(this.m_bytes, 
*pb) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(161): 
Warning: calling 
std.exception.enforceEx!(OutOfMemoryError).enforceEx!bool.enforceEx 
without side effects discards return value of type bool, 
prepend a cast(void) if intentional
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(466): 
Deprecation: Read-modify-write operations are not allowed for 
shared variables. Use core.atomic.atomicOp!-=(this.m_nfree, 
1) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(471): 
Deprecation: Read-modify-write operations are not allowed for 
shared variables. Use core.atomic.atomicOp!+=(this.m_nalloc, 
1) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(489): 
Deprecation: Read-modify-write operations are not allowed for 
shared variables. Use core.atomic.atomicOp!-=(this.m_nalloc, 
1) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(490): 
Deprecation: Read-modify-write operations are not allowed for 
shared variables. Use core.atomic.atomicOp!+=(this.m_nfree, 
1) instead.
FAIL 
../.dub/packages/vibe-d-0.7.20/.dub/build/libevent-debug-linux.posix-x86-dmd_2066-316CEFCAEB0F07469ED054933004D631/ 
vibe-d staticLibrary

Error executing command run: dmd failed with exit code 1.


Not sure exactly what your issue is, and am a bit rusty on 
Vibe/dub, but you may have better luck getting answers here:


http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/

What if you just type dub

instead of dub run.


Re: vibe.d problem

2014-11-18 Thread Martin Nowak via Digitalmars-d-learn
On Tuesday, 18 November 2014 at 13:37:54 UTC, Lázaro Armando via 
Digitalmars-d-learn wrote:

this is very old. try git HEAD instead, it should help.

How could I do that using dub?


Running `dub upgrade` should be enough as a new version of vibe.d 
was just released.


vibe.d problem

2014-11-17 Thread låzaro via Digitalmars-d-learn
Hi there folks, let me the fact talk for me


lazaro@leviatan:~$ dub init aplicacion vibe.d
Successfully created an empty project in '/home/lazaro/aplicacion'.
lazaro@leviatan:~$ cd aplicacion/
lazaro@leviatan:~/aplicacion$ dub run
Building vibe-d 0.7.20 configuration libevent, build type debug.
Running dmd...
../.dub/packages/vibe-d-0.7.20/source/vibe/templ/parsertools.d(12): 
Deprecation: module std.metastrings is deprecated - Please use 
std.string.format, std.conv.to or std.conv.parse instead
../.dub/packages/vibe-d-0.7.20/source/vibe/templ/diet.d(28): Deprecation: 
module std.metastrings is deprecated - Please use std.string.format, 
std.conv.to or std.conv.parse instead
../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2.d(491): 
Deprecation: function core.time.Duration.fracSec is deprecated - Please use 
split instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2_tcp.d(110): 
Deprecation: function core.time.Duration.fracSec is deprecated - Please use 
split instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/drivers/libevent2_tcp.d(269): 
Deprecation: function core.time.Duration.fracSec is deprecated - Please use 
split instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/task.d(203): Deprecation: alias 
object.clear is deprecated - Please use destroy instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/core/task.d(204): Deprecation: alias 
object.clear is deprecated - Please use destroy instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/inet/message.d(186): Deprecation: 
constructor std.datetime.SimpleTimeZone.this is deprecated - Please use the 
overload which takes a Duration.
../.dub/packages/vibe-d-0.7.20/source/vibe/inet/webform.d(53): Error: 
std.string.indexOfAny!(char, char).indexOfAny at 
/usr/include/dmd/phobos/std/string.d(1044) conflicts with 
vibe.utils.string.indexOfAny at 
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/string.d(123)
../.dub/packages/vibe-d-0.7.20/source/vibe/inet/webform.d(63): Error: 
std.string.indexOfAny!(char, char).indexOfAny at 
/usr/include/dmd/phobos/std/string.d(1044) conflicts with 
vibe.utils.string.indexOfAny at 
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/string.d(123)
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(124): Deprecation: 
Read-modify-write operations are not allowed for shared variables. Use 
core.atomic.atomicOp!+=(this.m_bytes, sz) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(140): Deprecation: 
Read-modify-write operations are not allowed for shared variables. Use 
core.atomic.atomicOp!-=(this.m_bytes, *pb) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(143): Deprecation: 
Read-modify-write operations are not allowed for shared variables. Use 
core.atomic.atomicOp!+=(this.m_bytes, new_size) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(152): Deprecation: 
Read-modify-write operations are not allowed for shared variables. Use 
core.atomic.atomicOp!-=(this.m_bytes, *pb) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(161): Warning: 
calling std.exception.enforceEx!(OutOfMemoryError).enforceEx!bool.enforceEx 
without side effects discards return value of type bool, prepend a cast(void) 
if intentional
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(466): Deprecation: 
Read-modify-write operations are not allowed for shared variables. Use 
core.atomic.atomicOp!-=(this.m_nfree, 1) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(471): Deprecation: 
Read-modify-write operations are not allowed for shared variables. Use 
core.atomic.atomicOp!+=(this.m_nalloc, 1) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(489): Deprecation: 
Read-modify-write operations are not allowed for shared variables. Use 
core.atomic.atomicOp!-=(this.m_nalloc, 1) instead.
../.dub/packages/vibe-d-0.7.20/source/vibe/utils/memory.d(490): Deprecation: 
Read-modify-write operations are not allowed for shared variables. Use 
core.atomic.atomicOp!+=(this.m_nfree, 1) instead.
FAIL 
../.dub/packages/vibe-d-0.7.20/.dub/build/libevent-debug-linux.posix-x86-dmd_2066-316CEFCAEB0F07469ED054933004D631/
 vibe-d staticLibrary
Error executing command run: dmd failed with exit code 1.



Re: vibe.d problem

2014-11-17 Thread ketmar via Digitalmars-d-learn
On Mon, 17 Nov 2014 16:24:17 -0500
låzaro via Digitalmars-d-learn digitalmars-d-learn@puremagic.com
wrote:

 Building vibe-d 0.7.20 configuration libevent, build type debug.
this is very old. try git HEAD instead, it should help.


signature.asc
Description: PGP signature