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
(OT) Building Harbour on a Mac
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: (OT) Building Harbour on a Mac
Robb,
Doing a fresh checkout on Yosemite to test it...
Doing a fresh checkout on Yosemite to test it...
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: (OT) Building Harbour on a Mac
Robb,
This the last that I get:
Do you reach to the same point ?
This the last that I get:
to me it seems okhbmk2[gtalleg]: Exit code: 10: dependency missing or disabled
! Finished package build...
./bin/darwin/clang/hbmk2 ./config/postinst.hb first
! postinst script finished
Do you reach to the same point ?
Re: (OT) Building Harbour on a Mac
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.
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.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: (OT) Building Harbour on a Mac
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.
> 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.