Thread overview
Compiler Problem with Vibe.d
Aug 16, 2016
Emre Temelkuran
Aug 16, 2016
rikki cattermole
Aug 16, 2016
WebFreak001
Aug 16, 2016
Emre Temelkuran
Aug 16, 2016
Seb
August 16, 2016
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.

August 17, 2016
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.
August 16, 2016
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.
August 16, 2016
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.
August 16, 2016
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