Should "std.net.curl" be moved from Phobos to Deimos?

John Colvin john.loughran.colvin at gmail.com
Wed Nov 27 10:45:07 PST 2013


On Wednesday, 27 November 2013 at 17:58:48 UTC, Andrei 
Alexandrescu wrote:
> On 11/27/13 2:26 AM, Martin Krejcirik wrote:
>> On 26.11.2013 20:02, Andrei Alexandrescu wrote:
>>>> (0x00007f28ca047000)
>>>>     libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2
>>>> (0x00007f28c9e2b000)
>>>>     /lib64/ld-linux-x86-64.so.2 (0x00007f28cd28e000)
>>>>     libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3
>>>> (0x00007f28c9c1a000)
>>>>     libp11-kit.so.0 => 
>>>> /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
>>>> (0x00007f28c99fa000)
>>>>     libgpg-error.so.0 => 
>>>> /lib/x86_64-linux-gnu/libgpg-error.so.0
>>>> (0x00007f28c97f6000)
>>>>
>>>
>>> But those are already installed libraries, right?
>>
>> The problem (in my case) is, that you also need to install the 
>> -dev
>> packages of these libraries just to compile Phobos (even if 
>> you don't
>> use curl in your programs at all).
>>
>> Maybe we just need something like --without-curl for Phobos 
>> makefile.
>
> We could add that. I'll note that building Phobos is something 
> for the experts only.
>
> Andrei

I'm not sure I would consider myself an expert but I compile 
dmd/druntime/phobos once a day on 3 different machines. Hah, now 
I type that it seems a little excessive!


More information about the Digitalmars-d mailing list