Thread overview
[dmd-beta] Problem compiling vibe.d with the latest dmd
Oct 27, 2014
Cristian Bidea
Oct 27, 2014
Cristian Bidea
October 27, 2014
Hi

I¹m trying to use vibe.d with the latest dmd but it fails to compile.

$ dub
Building vibe-d 0.7.20 configuration "libevent", build type debug.
Running dmd...
../../.dub/packages/openssl-master/deimos/openssl/ossl_typ.d(209): Error:
undefined identifier ssl_ctx_st
../../.dub/packages/openssl-master/deimos/openssl/ssl.d(435): Error:
ExternC!(extern (C) c_long function(SSL_CTX* ctx, int cmd, c_long larg,
void* parg)) had previous errors
../../.dub/packages/openssl-master/deimos/openssl/ssl.d(447): Error:
ExternC!(extern (C) c_long function(SSL_CTX* s, int cb_id, ExternC!(extern
(C) void function()) fp)) had previous errors
FAIL
../../.dub/packages/vibe-d-0.7.20/.dub/build/libevent-debug-posix.osx-x86_6
4-dmd_2067-1EF4C92940F058E654A032934ACB22B6/ vibe-d staticLibrary
Error executing command run: dmd failed with exit code 1.

$ dmd
DMD64 D Compiler v2.067.0-b1
Copyright (c) 1999-2014 by Digital Mars written by Walter Bright
Documentation: http://dlang.org/

I¹ve tried this with 2.066.1-rc2 and I get the same errors.

Do you know what¹s the latest version of dmd that works with vibe.d?

Cheers!
Cristi



_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta
October 27, 2014
Please try vibe.d version "0.7.21-rc.4" (
http://code.dlang.org/packages/vibe-d)
0.7.20 is rather old and, unfortunately, vibe.d author did not have time to
make necessary non-trivial changes to adjust it to more recent DMD release

On Mon, Oct 27, 2014 at 10:53 AM, Cristian Bidea via dmd-beta < dmd-beta@puremagic.com> wrote:

> Hi
>
> I¹m trying to use vibe.d with the latest dmd but it fails to compile.
>
> $ dub
> Building vibe-d 0.7.20 configuration "libevent", build type debug.
> Running dmd...
> ../../.dub/packages/openssl-master/deimos/openssl/ossl_typ.d(209): Error:
> undefined identifier ssl_ctx_st
> ../../.dub/packages/openssl-master/deimos/openssl/ssl.d(435): Error:
> ExternC!(extern (C) c_long function(SSL_CTX* ctx, int cmd, c_long larg,
> void* parg)) had previous errors
> ../../.dub/packages/openssl-master/deimos/openssl/ssl.d(447): Error:
> ExternC!(extern (C) c_long function(SSL_CTX* s, int cb_id, ExternC!(extern
> (C) void function()) fp)) had previous errors
> FAIL
> ../../.dub/packages/vibe-d-0.7.20/.dub/build/libevent-debug-posix.osx-x86_6
> 4-dmd_2067-1EF4C92940F058E654A032934ACB22B6/ vibe-d staticLibrary
> Error executing command run: dmd failed with exit code 1.
>
> $ dmd
> DMD64 D Compiler v2.067.0-b1
> Copyright (c) 1999-2014 by Digital Mars written by Walter Bright
> Documentation: http://dlang.org/
>
> I¹ve tried this with 2.066.1-rc2 and I get the same errors.
>
> Do you know what¹s the latest version of dmd that works with vibe.d?
>
> Cheers!
> Cristi
>
>
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta@puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta


October 27, 2014
I did a “dub upgrade” and it worked. Thank you for your help!

From: Михаил Страшун <public@dicebot.lv<mailto:public@dicebot.lv>>
Date: Monday 27 October 2014 21:26
To: Cristian Bidea <cristi@king.com<mailto:cristi@king.com>>, Discuss the dmd beta releases for D <dmd-beta@puremagic.com<mailto:dmd-beta@puremagic.com>>
Subject: Re: [dmd-beta] Problem compiling vibe.d with the latest dmd

Please try vibe.d version "0.7.21-rc.4" (http://code.dlang.org/packages/vibe-d[code.dlang.org]<https://urldefense.proofpoint.com/v1/url?u=http://code.dlang.org/packages/vibe-d&k=W21rj8B8Fm1eFu8jQbueng%3D%3D%0A&r=oxQ%2F0UDTGV%2FIPiZVGAVrZw%3D%3D%0A&m=zVGYKRlqwdF9H%2Fwf7CEH%2FDbNYH%2FVYdlGslbtCVHdTGA%3D%0A&s=8edc9aeea9b99a9000c20ab31debce289006551ecbbb809844355608fdc5101b>)
0.7.20 is rather old and, unfortunately, vibe.d author did not have time to make necessary non-trivial changes to adjust it to more recent DMD release

On Mon, Oct 27, 2014 at 10:53 AM, Cristian Bidea via dmd-beta <dmd-beta@puremagic.com<mailto:dmd-beta@puremagic.com>> wrote:
Hi

I¹m trying to use vibe.d with the latest dmd but it fails to compile.

$ dub
Building vibe-d 0.7.20 configuration "libevent", build type debug.
Running dmd...
../../.dub/packages/openssl-master/deimos/openssl/ossl_typ.d(209): Error:
undefined identifier ssl_ctx_st
../../.dub/packages/openssl-master/deimos/openssl/ssl.d(435): Error:
ExternC!(extern (C) c_long function(SSL_CTX* ctx, int cmd, c_long larg,
void* parg)) had previous errors
../../.dub/packages/openssl-master/deimos/openssl/ssl.d(447): Error:
ExternC!(extern (C) c_long function(SSL_CTX* s, int cb_id, ExternC!(extern
(C) void function()) fp)) had previous errors
FAIL
../../.dub/packages/vibe-d-0.7.20/.dub/build/libevent-debug-posix.osx-x86_6
4-dmd_2067-1EF4C92940F058E654A032934ACB22B6/ vibe-d staticLibrary
Error executing command run: dmd failed with exit code 1.

$ dmd
DMD64 D Compiler v2.067.0-b1
Copyright (c) 1999-2014 by Digital Mars written by Walter Bright
Documentation: http://dlang.org/[dlang.org]<https://urldefense.proofpoint.com/v1/url?u=http://dlang.org/&k=W21rj8B8Fm1eFu8jQbueng%3D%3D%0A&r=oxQ%2F0UDTGV%2FIPiZVGAVrZw%3D%3D%0A&m=zVGYKRlqwdF9H%2Fwf7CEH%2FDbNYH%2FVYdlGslbtCVHdTGA%3D%0A&s=807a8db840271194be7ac1ea1a2d0bc6537e41bcfc5d6fb44550e492e18adcc8>

I¹ve tried this with 2.066.1-rc2 and I get the same errors.

Do you know what¹s the latest version of dmd that works with vibe.d?

Cheers!
Cristi



_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com<mailto:dmd-beta@puremagic.com>
http://lists.puremagic.com/mailman/listinfo/dmd-beta[lists.puremagic.com]<https://urldefense.proofpoint.com/v1/url?u=http://lists.puremagic.com/mailman/listinfo/dmd-beta&k=W21rj8B8Fm1eFu8jQbueng%3D%3D%0A&r=oxQ%2F0UDTGV%2FIPiZVGAVrZw%3D%3D%0A&m=zVGYKRlqwdF9H%2Fwf7CEH%2FDbNYH%2FVYdlGslbtCVHdTGA%3D%0A&s=cb0e149802427cb51e20b2afa9cc4959c97ce66a166ee983e2c25051b798bbf4>