LDC+Dub+Vibe.d work on SmartOS 64bit now

flamencofantasy via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Jun 10 14:40:22 PDT 2016


On Thursday, 9 June 2016 at 12:30:30 UTC, Alexandr Basko wrote:
> On Wednesday, 8 June 2016 at 14:13:48 UTC, flamencofantasy 
> wrote:
>> On Wednesday, 8 June 2016 at 13:41:59 UTC, Alexandr Basko 
>> wrote:
>>> On Wednesday, 8 June 2016 at 12:19:08 UTC, flamencofantasy 
>>> wrote:
>>>> On Wednesday, 8 June 2016 at 08:00:03 UTC, Alexandr Basko 
>>>> wrote:
>>>>> [...]
>>>>
>>>> Excellent! Please post a howto. I would very much like to 
>>>> move my server from an LX branded zone to SmartOS.
>>>
>>> Can I post howto in this thread? If yes, than i`m post it 
>>> tomorrow also
>>
>> Yes, please. Or if that's too much trouble just send to my 
>> email.
>> Thanks!
>
> I wrote and post howto on 
> https://wiki.dlang.org/LDC%2BDub%2BVibe.d_on_SmartOS_64bit.
> It need to format, but it fully functional.

Thank you very much!

I followed the instructions and I was able to build ldc, dub but 
not vibe.d's examples.

I get some errors, in one case I get this;

# dub
Performing "debug" build using ldc2 for x86_64.
vibe-d:utils 0.7.30-alpha.2+commit.13.g4fcdbe9: target for 
configuration "library" is up to date.
vibe-d:data 0.7.30-alpha.2+commit.13.g4fcdbe9: target for 
configuration "library" is up to date.
vibe-d:core 0.7.30-alpha.2+commit.13.g4fcdbe9: target for 
configuration "libevent" is up to date.
vibe-d:http 0.7.30-alpha.2+commit.13.g4fcdbe9: target for 
configuration "library" is up to date.
http-server-example ~master: building configuration 
"application"...
ld: fatal: library -levent: not found
ld: fatal: library -levent_pthreads: not found
ld: fatal: file processing errors. No output written to 
.dub/build/application-debug-posix.solaris-x86_64-ldc_0-A00A2E31B9B960EA3878168DFC41B6A8/http-server-example
collect2: error: ld returned 1 exit status
Error: /opt/local/bin/gcc failed with status: 1
ldc2 failed with exit code 1.

In another one I get the following;
]# dub
Performing "debug" build using ldc2 for x86_64.
vibe-d:utils 0.7.28: target for configuration "library" is up to 
date.
vibe-d:data 0.7.28: target for configuration "library" is up to 
date.
vibe-d:core 0.7.28: building configuration "libevent"...
../../../.dub/packages/vibe-d-0.7.28/vibe-d/source/vibe/core/core.d(570): Error: static assert  "Unsupported OS!"
ldc2 failed with exit code 1.


I'll see if I can figure out what's happening sometime later when 
I have more time.

Thanks again!





More information about the Digitalmars-d-announce mailing list