Hi everyone,
I'm trying the same without success.
I was in doubt about opening a new thread, but this does not seem closed.
I got Harbour running ok. But am unable to build qtcontribs.
Here are my steps On OS X 10.9.5 Mavericks.
* OS is up to date and Xcode too via AppStore
* Make sure command line tools are installed. In terminal:
# check if installed:
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
# returns info on version and tools
# if not do (and recheck for personal pleasure)
xcode-select --install # runs nice GUI to instal command line tools
* using homebrew (as suggested in Harbour README.md)
brew install pcre slang qt5 # I ditched the cairo, freeimage libgd mysql postgresql suggestions. graphics and dbs suppose no trouble
brew install upx uncrustify ack # same for optipng jpegoptim
* get Harbour from git
# can use svn or just download
* Create environment - Is there something missing?
export HB_QTPATH=/usr/local/opt/qt5/bin
export PATH=/Users/ME/hb32/bin/darwin/clang:$PATH
export HB_WITH_QT=/usr/local/opt/qt5/include
export HB_INSTALL_PREFIX=/Users/ME/hb32 # by default this is /opt/harbour not sure if relevant
* build Harbour
cd hb32
make
make install
* minimal test Harbour
cd tests
hbmk2 hello.prg
./hello
# Should print: Hello, world!
* move qtcontribs contents to hb32/addons
* build qtcontribs
cd ../hb32/addons
hbmk2 qtcontribs.hbp
At this point I get:
fatal error: 'glib.h' file not found
Tried installing glib using home-brew. Rebuilding qtcontribs fails.
Anyone knows what I'm doing wrong?
txs,
Miguel