FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) (OT) Building Harbour on a Mac
Posts: 195
Joined: Sun Jul 22, 2012 07:01 PM
(OT) Building Harbour on a Mac
Posted: Fri Feb 20, 2015 06:18 PM

I began working with a Mac a few months ago, started off well building harbour from source, then building my apps from there. I am able to still build my apps but I broke something along the way and now cannot build harbour itself any long. This is not a FiveMac problem, but perhaps somebody can help guide me to the solution here. The mac has received various upgrades along the way, most recently upgraded to Yosemite, but I had this problem before the Yosemite update. I think the problem started after and xcode update, but I'm not sure about that.

The harbour builds are all failing with the following error:

ld: library not found for -lslang

I do have slang installed, having installed it using Homebrew. Well before the error is thrown I already see this in the logs:

! Component: 'slang' found in /usr/local/include

I get the feeling that I am missing libaries for the architecture(s) I am building (i386 and x86_64). Can anybody offer me some advice regarding how to go about debugging and fixing this issue.

Robb

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: (OT) Building Harbour on a Mac
Posted: Fri Feb 20, 2015 07:02 PM

Robb,

Doing a fresh checkout on Yosemite to test it...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: (OT) Building Harbour on a Mac
Posted: Fri Feb 20, 2015 07:40 PM
Robb,

This the last that I get:

hbmk2[gtalleg]: Exit code: 10: dependency missing or disabled
! Finished package build...
./bin/darwin/clang/hbmk2 ./config/postinst.hb first
! postinst script finished


to me it seems ok

Do you reach to the same point ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 195
Joined: Sun Jul 22, 2012 07:01 PM
Re: (OT) Building Harbour on a Mac
Posted: Fri Feb 20, 2015 08:12 PM

I'm getting an error at the very end building specific tools.

ld: library not found for -lslang
clang: error linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [hbtest] Error 1
make[2]: *** [descend] Error 2
make[1]: *** [hbtest] Error 2
make: *** [utils] Error 2

I have little doubt I've caused this problem for myself, I haven't figured out how to debug this yet. I have a Mac OS VM that was created from this specific machine before it had this problem. I can build harbour on that VM without issue (both 3.2 and 3.4), but looking at the two machines I still don't see a meaningful difference between them. That VM gives me a working path, but I still need to understand not just what I broke, but how I broke it. Right now I'm confused.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: (OT) Building Harbour on a Mac
Posted: Sat Feb 21, 2015 07:13 AM

Robb,

> I do have slang installed, having installed it using Homebrew

This may be the reason as there is no need to install any hombrew.

Just install OSX dev tools and you are ready to build Harbour.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion