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
Issues with PCP installation during make? #29
Comments
The issue here is with the libmicrohttpd library that the PCP code is being linked with, not with PCP itself. It is likely that ibrary has been built x86_64-only, instead of as a Universal binary supporting both i386 and x86_64 (which the rest of the PCP build needs, due to it needing to link with other platform libraries). There's some additional notes on Mac OS X builds here which should help: cheers. |
natoscott
closed this
Jun 24, 2015
dianadkle
commented
Jun 25, 2015
|
Thanks natoscott. I've downloaded the libmicrohttpd library as suggested in the Cairo link you provided, but I'm still getting the same error. For reference, here's the output after getting the universal binary:
|
|
"port install" isn't quite what that Cairo link is discussing - it describes building libraries directly (setting CC for universal libraries, etc). See the notes about half-way through, where the CC env variable is set such that it includes "-arch ppc -arch i386 -arch x86_64"... that's the sort of thing you'll need to do with a libmicrohttpd source build to get a successful link. |
shahsaifi
commented
Jul 2, 2016
|
Have there been any resolution on this? running pcp with libmicrohttpd-0.9.46
|
|
@shahsaifi this part of the error message is the part to read carefully: It is telling you the problem - one of the libraries you are attempting to link with (outside of PCP) has not been built with i386 instructions (it is not a "universal" binary, IOW). Fix that - see earlier notes I posted - and the build will succeed. |
dianadkle commentedJun 24, 2015
I'm following the latest instructions to building PCP on OS X Yosemite.
But when I go to "make" the files, I get this error after some time:
I'm sure I've installed all the necessary tools and libraries for the file to install properly. What should I do?