3 ms·
Building fails on Mavericks with the 10.10 sdk awk 'BEGIN {printf "#define CERTIFICATE_THAWTE \""} {printf "%s\\n", $0} END {printf "\"\n"}' thawte.pem > c
by aroch 12y ago
Building fails on Mavericks with the 10.10 sdk
awk 'BEGIN {printf "#define CERTIFICATE_THAWTE \""} {printf "%s\\n", $0} END {printf "\"\n"}' thawte.pem > certificate.h || rm -f certificate.h
awk: syntax error at source line 1
context is
>>> BEGIN <<< {printf "#define CERTIFICATE_THAWTE \""} {printf "%s\\n", $0} END {printf "\"\n"}
awk: bailing out at source line 1
cc -O3 -march=native -fomit-frame-pointer -pipe -std=gnu99 -D_GNU_SOURCE -pedantic -Wall -Wextra -Wno-language-extension-token -MMD -Wno-deprecated-declarations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -I/Applications/Xcode.app/Contents /Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 -c -o http.o http.c
http.c:10:10: fatal error: 'certificate.h' file not found
#include "certificate.h"
- pi-rat 12y agoI got a build working on OS X (mountain_lion, mavericks, yosemite) using homebrew, see PR here: https://github.com/Homebrew/homebrew/pull/33486/files https://github.com/Homebrew/homebrew/pull/33486/files
- aroch 12y agoSweet, built fine with that. Oddly I already had all the depends installs, so not sure why the included make doesn't work. Thanks!