Thread overview
Re: Building Git master…
Nov 17, 2015
David Nadlinger
Nov 17, 2015
John Colvin
Nov 17, 2015
David Nadlinger
Nov 17, 2015
David Nadlinger
Nov 17, 2015
Russel Winder
Nov 17, 2015
David Nadlinger
Nov 17, 2015
Jacob Carlborg
Nov 18, 2015
Russel Winder
Nov 18, 2015
Jacob Carlborg
November 17, 2015
On 17 Nov 2015, at 15:14, Russel Winder via digitalmars-d-ldc wrote:
> For next week though I have to do some demos on OSX. So I am trying to
> build on El Capitan. I am using the Xcode tool chain, but LLVM 3.7 from
> MacPorts. Sadly in driver/configfile.cpp I am getting errors about
> config_t and config_setting_t being undefined types and sw being an
> undefined variable.

How did you install libconfig? It builds fine for me (as well as on Travis CI), but brew is used there.

 — David
November 17, 2015
On Tuesday, 17 November 2015 at 14:41:37 UTC, David Nadlinger wrote:
> On 17 Nov 2015, at 15:14, Russel Winder via digitalmars-d-ldc wrote:
>> For next week though I have to do some demos on OSX. So I am trying to
>> build on El Capitan. I am using the Xcode tool chain, but LLVM 3.7 from
>> MacPorts. Sadly in driver/configfile.cpp I am getting errors about
>> config_t and config_setting_t being undefined types and sw being an
>> undefined variable.
>
> How did you install libconfig? It builds fine for me (as well as on Travis CI), but brew is used there.
>
>  — David

homebrew is still on llvm 3.6.2 due to various dependents needing updates.
November 17, 2015
On 17 Nov 2015, at 15:52, John Colvin via digitalmars-d-ldc wrote:
> On Tuesday, 17 November 2015 at 14:41:37 UTC, David Nadlinger wrote:
>> On 17 Nov 2015, at 15:14, Russel Winder via digitalmars-d-ldc wrote:
>>> For next week though I have to do some demos on OSX. So I am trying to
>>> build on El Capitan. I am using the Xcode tool chain, but LLVM 3.7 from
>>> MacPorts. Sadly in driver/configfile.cpp I am getting errors about
>>> config_t and config_setting_t being undefined types and sw being an
>>> undefined variable.
>>
>> How did you install libconfig? It builds fine for me (as well as on Travis CI), but brew is used there.
>
> homebrew is still on llvm 3.6.2 due to various dependents needing updates.

The issue seems to be with the libconfig part, though?

 — David
November 17, 2015
On 17 Nov 2015, at 15:52, John Colvin via digitalmars-d-ldc wrote:
> On Tuesday, 17 November 2015 at 14:41:37 UTC, David Nadlinger wrote:
>> On 17 Nov 2015, at 15:14, Russel Winder via digitalmars-d-ldc wrote:
>>> For next week though I have to do some demos on OSX. So I am trying to
>>> build on El Capitan. I am using the Xcode tool chain, but LLVM 3.7 from
>>> MacPorts. Sadly in driver/configfile.cpp I am getting errors about
>>> config_t and config_setting_t being undefined types and sw being an
>>> undefined variable.
>>
>> How did you install libconfig? It builds fine for me (as well as on Travis CI), but brew is used there.
>>
>> — David
>
> homebrew is still on llvm 3.6.2 due to various dependents needing updates.

(I'm also on El Capitan and the latest Xcode, so that's not it. — David)
November 17, 2015
On Tue, 2015-11-17 at 15:41 +0100, David Nadlinger via digitalmars-d- ldc wrote:
> 
[…]
> How did you install libconfig? It builds fine for me (as well as on Travis CI), but brew is used there.

|> port install libconfig

i.e. MacPorts standard version.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



November 17, 2015
On Tuesday, 17 November 2015 at 19:24:28 UTC, Russel Winder wrote:
> |> port install libconfig
>
> i.e. MacPorts standard version.

Isn't the MacPorts package actually called libconfig-hr or something? It has been a while.

 — David
November 17, 2015
On 2015-11-17 20:56, David Nadlinger wrote:

> Isn't the MacPorts package actually called libconfig-hr or something? It
> has been a while.

Yes:

libconfig @0.2.6 (devel)
    configuration file processing library

libconfig-hr @1.4.9 (devel)
    A new libconfig implementation with both C and C++ bindings.

Found 2 ports.

-- 
/Jacob Carlborg
November 18, 2015
On Tue, 2015-11-17 at 21:19 +0100, Jacob Carlborg via digitalmars-d-ldc wrote:
> On 2015-11-17 20:56, David Nadlinger wrote:
> 
> > Isn't the MacPorts package actually called libconfig-hr or
> > something? It
> > has been a while.
> 
> Yes:
> 
> libconfig @0.2.6 (devel)
>      configuration file processing library
> 
> libconfig-hr @1.4.9 (devel)
>      A new libconfig implementation with both C and C++ bindings.
> 
> Found 2 ports.

Hummm… when it said I needed libconfig, I though the package libconfig would be the thing to do. I never thought libconfig-hr was actually what I needed. A bad bit of packaging/package marketing from MacPorts there.

Anyway, libconfig-hr does the job, it now all works. :-)

Thanks for pointing me in the right direction.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



November 18, 2015
On 2015-11-18 14:35, Russel Winder via digitalmars-d-ldc wrote:

> Hummm… when it said I needed libconfig, I though the package libconfig
> would be the thing to do. I never thought libconfig-hr was actually
> what I needed. A bad bit of packaging/package marketing from MacPorts
> there.

I don't know what the other "libconfig" package does, but I guess it was added before "libconfig-hr".

> Anyway, libconfig-hr does the job, it now all works. :-)
>
> Thanks for pointing me in the right direction.

No problem.

-- 
/Jacob Carlborg