www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Compiler Problem with Vibe.d

reply Emre Temelkuran <etemelkuran gmail.com> writes:
I am experiencing compiler problem when trying to run vibe.d on 
linux. I solved it but
it needs to be fixed in dub or compiler itself.

I tried DMD on Windows first and it was working fine.
But on Linux, i tried to install DMD and LDC on Debian,Ubuntu and 
Arch Linux.
I am first installing dmd or ldc from official repository. Then 
i'm installing dub.
On Debian i'm adding adviced additional repo for dub.
I am using "dub init myproject -t vibe.d" then trying to run with 
dub command. It always giving error after the message Linking... .

The solution is to install libevent-devel and libssl-devel to 
make it work on Debian and -dev on Arch.
Aug 16 2016
next sibling parent rikki cattermole <rikki cattermole.co.nz> writes:
On 17/08/2016 2:51 AM, Emre Temelkuran wrote:
 I am experiencing compiler problem when trying to run vibe.d on linux. I
 solved it but
 it needs to be fixed in dub or compiler itself.

 I tried DMD on Windows first and it was working fine.
 But on Linux, i tried to install DMD and LDC on Debian,Ubuntu and Arch
 Linux.
 I am first installing dmd or ldc from official repository. Then i'm
 installing dub.
 On Debian i'm adding adviced additional repo for dub.
 I am using "dub init myproject -t vibe.d" then trying to run with dub
 command. It always giving error after the message Linking... .

 The solution is to install libevent-devel and libssl-devel to make it
 work on Debian and -dev on Arch.
Everything you have said shows dub and dmd as operating correctly. If you have a question about this, it would be more appropriate in D.learn.
Aug 16 2016
prev sibling parent reply WebFreak001 <janju007 web.de> writes:
On Tuesday, 16 August 2016 at 14:51:37 UTC, Emre Temelkuran wrote:
 I am experiencing compiler problem when trying to run vibe.d on 
 linux. I solved it but
 it needs to be fixed in dub or compiler itself.

 I tried DMD on Windows first and it was working fine.
 But on Linux, i tried to install DMD and LDC on Debian,Ubuntu 
 and Arch Linux.
 I am first installing dmd or ldc from official repository. Then 
 i'm installing dub.
 On Debian i'm adding adviced additional repo for dub.
 I am using "dub init myproject -t vibe.d" then trying to run 
 with dub command. It always giving error after the message 
 Linking... .

 The solution is to install libevent-devel and libssl-devel to 
 make it work on Debian and -dev on Arch.
https://github.com/rejectedsoftware/vibe.d#additional-setup-on-linux-debianubuntumint This is how it was implemented so I don't think there is an issue anywhere. However it would be nice if you could add custom linker error messages stating that you need to do XYZ to compile it properly.
Aug 16 2016
next sibling parent Emre Temelkuran <etemelkuran gmail.com> writes:
On Tuesday, 16 August 2016 at 14:58:11 UTC, WebFreak001 wrote:
 On Tuesday, 16 August 2016 at 14:51:37 UTC, Emre Temelkuran 
 wrote:
 [...]
https://github.com/rejectedsoftware/vibe.d#additional-setup-on-linux-debianubuntumint This is how it was implemented so I don't think there is an issue anywhere. However it would be nice if you could add custom linker error messages stating that you need to do XYZ to compile it properly.
i just saw that :D, but i think most of the people tried it and changed their mind after seeing error.
Aug 16 2016
prev sibling parent Seb <seb wilzba.ch> writes:
On Tuesday, 16 August 2016 at 14:58:11 UTC, WebFreak001 wrote:
 The solution is to install libevent-devel and libssl-devel to 
 make it work on Debian and -dev on Arch.
https://github.com/rejectedsoftware/vibe.d#additional-setup-on-linux-debianubuntumint This is how it was implemented so I don't think there is an issue anywhere. However it would be nice if you could add custom linker error messages stating that you need to do XYZ to compile it properly.
FWIW there's a discussion of such a enhancements (and more) at the DUB issue tracker: https://github.com/dlang/dub/issues/852
Aug 16 2016