(OT) Building Harbour on a Mac

(OT) Building Harbour on a Mac

Postby rhlawek » Fri Feb 20, 2015 6: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
User avatar
rhlawek
 
Posts: 194
Joined: Sun Jul 22, 2012 7:01 pm

Re: (OT) Building Harbour on a Mac

Postby Antonio Linares » Fri Feb 20, 2015 7:02 pm

Robb,

Doing a fresh checkout on Yosemite to test it...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42149
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: (OT) Building Harbour on a Mac

Postby Antonio Linares » Fri Feb 20, 2015 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42149
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: (OT) Building Harbour on a Mac

Postby rhlawek » Fri Feb 20, 2015 8: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.
User avatar
rhlawek
 
Posts: 194
Joined: Sun Jul 22, 2012 7:01 pm

Re: (OT) Building Harbour on a Mac

Postby Antonio Linares » Sat Feb 21, 2015 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42149
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 6 guests