Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
OSX Build issues #52
Comments
|
Heya Paul, Some earlier notes here that may help - http://www.pcp.io/pipermail/pcp/2015-April/006944.html The above build error is because the pmcpp program is being run during the build, but the libpcp library is not on DYLD_LIBRARY_PATH somehow (not built?) ... see the RUN_IN_BUILD_ENV macro in src/include/builddefs. |
Definitely installed
Not sure exactly what that is, I did launch xcode to check it was ok, and it did prompt me it need to 'install additional stuff' but that doesn't seem to have changed things. I'll dig into what this bit is.
I'm using homebrew, an alternative, I can see that I have pkg-config and gnutar installed (though as with the Gist above I had to hack the script to use a slightly different name.
QT surely not needed for libpcp ..? (maybe later in the build). I agree it's the DYLD_LIBRARY_PATH that's the root of things, but I don't know why it's not there or not. If I echo that environment variable, it's blank for me. |
|
It'll probably be related to this (El Capitan SIP again) ... |
|
I understand from #48 that things are looking healthier build PCP, and indeed if I do a pull/rebase I can now successfully 'build' PCP via I can see a generated I cannot find one anywhere in the tree, and it doesn't seem to get generated by the I've asked on IRC today, but thought I'd document my progress here in case someone else out there knows exactly what to do. |
tallpsmith commentedNov 10, 2015
Continuing from my initial attempts towards #51 I tried checking out a clean PCP git repo and building it locally on my OSX El Capitan, however I ran fairly quickly into build issues.
Documenting my tribulations, I needed to:
brew install gnu-tar coreutils makeAs well as the following diff to fool it to find the right binary of
gtaron my system:https://gist.github.com/tallpsmith/64cb747004466f702381
To get some base bits working, I'm presuming too that the standard XCode install may be needed, I'm not sure, but since I had that installed worth mentioning.
After reading the
INSTALLdocument, I then ran:./Makepkgs --verboseand hit the following error:
The Makepkg log is also attached to the Gist referenced above for the full log.
Since I'm new to building PCP, I am sure this is mostly environmental at this stage, but if anyone can help point directions as to what is going wrong exactly, I would appreciate it.