Skip to content

Instantly share code, notes, and snippets.

@Lewuathe
Created November 15, 2015 11:44
Show Gist options
  • Save Lewuathe/d64aa3822e8a9551eeef to your computer and use it in GitHub Desktop.
Save Lewuathe/d64aa3822e8a9551eeef to your computer and use it in GitHub Desktop.
Build error of ps-lite on MacOSX
make deps -j4 && make -j4
rm -rf gflags-2.0-no-svn-files.tar.gz gflags-2.0
rm -rf protobuf-2.5.0.tar.gz protobuf-2.5.0
rm -rf zeromq-4.1.2.tar.gz zeromq-4.1.2
wget https://raw.githubusercontent.com/mli/deps/master/build/gflags-2.0-no-svn-files.tar.gz && tar -zxf gflags-2.0-no-svn-files.tar.gz
rm -rf cityhash-1.1.1.tar.gz cityhash-1.1.1
--2015-11-15 20:44:03-- https://raw.githubusercontent.com/mli/deps/master/build/gflags-2.0-no-svn-files.tar.gz
wget https://raw.githubusercontent.com/mli/deps/master/build/cityhash-1.1.1.tar.gz && tar -zxf cityhash-1.1.1.tar.gz
--2015-11-15 20:44:03-- https://raw.githubusercontent.com/mli/deps/master/build/cityhash-1.1.1.tar.gz
Resolving raw.githubusercontent.com... wget https://raw.githubusercontent.com/mli/deps/master/build/protobuf-2.5.0.tar.gz && tar -zxf protobuf-2.5.0.tar.gz
wget https://raw.githubusercontent.com/mli/deps/master/build/zeromq-4.1.2.tar.gz && tar -zxf zeromq-4.1.2.tar.gz
--2015-11-15 20:44:03-- https://raw.githubusercontent.com/mli/deps/master/build/protobuf-2.5.0.tar.gz
--2015-11-15 20:44:03-- https://raw.githubusercontent.com/mli/deps/master/build/zeromq-4.1.2.tar.gz
Resolving raw.githubusercontent.com... Resolving raw.githubusercontent.com... Resolving raw.githubusercontent.com... 103.245.222.133103.245.222.133103.245.222.133103.245.222.133
Connecting to raw.githubusercontent.com|103.245.222.133|:443... Connecting to raw.githubusercontent.com|103.245.222.133|:443... Connecting to raw.githubusercontent.com|103.245.222.133|:443... Connecting to raw.githubusercontent.com|103.245.222.133|:443... connected.
connected.
connected.
connected.
HTTP request sent, awaiting response... HTTP request sent, awaiting response... HTTP request sent, awaiting response... HTTP request sent, awaiting response... 200 OK
Length: 1367275 (1.3M) [application/octet-stream]
Saving to: 'zeromq-4.1.2.tar.gz'
zeromq-4.1.2.tar.gz 0%[ ] 0 --.-KB/s 200 OK
Length: 420329 (410K) [application/octet-stream]
Saving to: 'gflags-2.0-no-svn-files.tar.gz'
gflags-2.0-no-svn-files.tar.gz 0%[ ] 0 --.-KB/s 200 OK
Length: 376456 (368K) [application/octet-stream]
Saving to: 'cityhash-1.1.1.tar.gz'
cityhash-1.1.1.tar.gz 0%[ ] 0 --.-KB/s 200 OK
Length: 2401901 (2.3M) [application/octet-stream]
Saving to: 'protobuf-2.5.0.tar.gz'
cityhash-1.1.1.tar.gz 100%[================================================================================================>] 367.63K --.-KB/s in 0.06s
2015-11-15 20:44:03 (5.61 MB/s) - 'cityhash-1.1.1.tar.gz' saved [376456/376456]
cd cityhash-1.1.1 && ./configure -prefix=/Users/sasakikai/dev/ps-lite/deps --enable-sse4.2 && /Applications/Xcode.app/Contents/Developer/usr/bin/make CXXFLAGS="-g -O3 -msse4.2" && /Applications/Xcode.app/Contents/Developer/usr/bin/make install
gflags-2.0-no-svn-files.tar.gz 100%[================================================================================================>] 410.48K --.-KB/s in 0.08s
2015-11-15 20:44:04 (4.96 MB/s) - 'gflags-2.0-no-svn-files.tar.gz' saved [420329/420329]
cd gflags-2.0 && ./configure -prefix=/Users/sasakikai/dev/ps-lite/deps && /Applications/Xcode.app/Contents/Developer/usr/bin/make && /Applications/Xcode.app/Contents/Developer/usr/bin/make install
protobuf-2.5.0.tar.gz 42%[========================================> ] 999.27K 4.88MB/s checking for a BSD-compatible install... /usr/bin/install -c
zeromq-4.1.2.tar.gz 100%[================================================================================================>] 1.30M 3.74MB/s in 0.3s
2015-11-15 20:44:04 (3.74 MB/s) - 'zeromq-4.1.2.tar.gz' saved [1367275/1367275]
protobuf-2.5.0.tar.gz 80%[============================================================================> ] 1.83M 4.58MB/s checking for a BSD-compatible install... cd zeromq-4.1.2 && ./configure -prefix=/Users/sasakikai/dev/ps-lite/deps --with-libsodium=no --with-libgssapi_krb5=no && /Applications/Xcode.app/Contents/Developer/usr/bin/make && /Applications/Xcode.app/Contents/Developer/usr/bin/make install
/usr/bin/install -c
protobuf-2.5.0.tar.gz 100%[================================================================================================>] 2.29M 4.52MB/s in 0.5s
2015-11-15 20:44:04 (4.52 MB/s) - 'protobuf-2.5.0.tar.gz' saved [2401901/2401901]
cd protobuf-2.5.0 && ./configure -prefix=/Users/sasakikai/dev/ps-lite/deps && /Applications/Xcode.app/Contents/Developer/usr/bin/make && /Applications/Xcode.app/Contents/Developer/usr/bin/make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-apple-darwin15.0.0
checking host system type... x86_64-apple-darwin15.0.0
checking target system type... x86_64-apple-darwin15.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i386-apple-darwin15.0.0
checking host system type... i386-apple-darwin15.0.0
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for g++... g++
no
configure: error: in `/Users/sasakikai/dev/ps-lite/cityhash-1.1.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
checking for C++ compiler default output file name... make: *** [/Users/sasakikai/dev/ps-lite/deps/include/city.h] Error 77
make: *** Waiting for unfinished jobs....
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
make: *** [/Users/sasakikai/dev/ps-lite/deps/include/google/gflags.h] Error 77
yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for a thread-safe mkdir -p... no
./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... configure: error: in `/Users/sasakikai/dev/ps-lite/zeromq-4.1.2':
no
checking for awk... configure: error: C compiler cannot create executables
See `config.log' for more details
awk
checking whether make sets $(MAKE)... yes
make: *** [/Users/sasakikai/dev/ps-lite/deps/include/zmq.h] Error 77
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/sasakikai/dev/ps-lite/protobuf-2.5.0':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [/Users/sasakikai/dev/ps-lite/deps/include/google/protobuf/message.h] Error 77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment