Skip to content

Unable to build on Mavericks #1

@kgrigsby59

Description

@kgrigsby59

I'm running Xcode 5.0.1 on the latest Mavericks.

When doing a pod install I got the following:

kengrigsbysimac:MC2CocoaPodsSample-master kgrigsby$ pod install
Analyzing dependencies
Downloading dependencies
Installing FXKeychain (1.4)
Installing GTMHTTPFetcher (0.0.1)
Installing MailCore2 (0.3.pre1)
Installing SBJson (3.2)
Installing ctemplate (2.2.1)
Installing gtm-oauth2 (0.0.2)
Installing icu4c (51.2)
Installing libetpan (1.3.pre2)
Installing libsasl2 (2.1.25)
Installing tidy-html5 (0.0.1)
configure: error: in `/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/ctemplate':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** No rule to make target `src/htmlparser/htmlparser_fsm.h'.  Stop.
make: *** No rule to make target `src/htmlparser/jsparser_fsm.h'.  Stop.
configure: error: in `/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/icu4c/source':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
conftest.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(){int i=1;}
^~~~
conftest.c:2:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    foo(){int i=6;}
    ^~~
conftest.c:2:19: warning: control reaches end of non-void function [-Wreturn-type]
    foo(){int i=6;}
                  ^
3 warnings generated.
rm: conftest.dSYM.dSYM: is a directory
Generating Pods project
Integrating client project

[!] From now on use `MC2CocoaPodsSample.xcworkspace`.

[!] [libsasl2 (2.1.25)] The pre install hook of the specification DSL has been deprecated, use the `resource_bundles` or the `prepare_command` attributes.

[!] [ctemplate (2.2.1)] The pre install hook of the specification DSL has been deprecated, use the `resource_bundles` or the `prepare_command` attributes.

[!] [icu4c (51.2)] The pre install hook of the specification DSL has been deprecated, use the `resource_bundles` or the `prepare_command` attributes.

And then trying to compile the project I got:

CompileC build/Pods.build/Debug-iphonesimulator/Pods-ctemplate.build/Objects-normal/i386/arena.o ctemplate/src/base/arena.cc normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods
    setenv LANG en_US.US-ASCII
    setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu++11 -stdlib=libstdc++ -fmodules -fmodules-cache-path=/Users/kgrigsby/Library/Developer/Xcode/DerivedData/ModuleCache -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DDEBUG=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -mios-simulator-version-min=4.3 -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/build/Debug-iphonesimulator/include -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/BuildHeaders -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/BuildHeaders/ctemplate -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/BuildHeaders/ctemplate/ctemplate -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/FXKeychain -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/GTMHTTPFetcher -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/MailCore2 -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/MailCore2/MailCore -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/SBJson -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/ctemplate -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/ctemplate/ctemplate -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/gtm-oauth2 -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/icu4c -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/libetpan -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/libsasl2 -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/libsasl2/sasl -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/tidy-html5 -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/Headers/tidy-html5/tidy -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/build/Pods.build/Debug-iphonesimulator/Pods-ctemplate.build/DerivedSources/i386 -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/build/Pods.build/Debug-iphonesimulator/Pods-ctemplate.build/DerivedSources -F/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/build/Debug-iphonesimulator -I/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/ctemplate/src -include /var/folders/77/fn8d_dgm8xj2bj0059bjt8w80000gn/C/com.apple.DeveloperTools/5.0.1-5A2034a/Xcode/SharedPrecompiledHeaders/Pods-ctemplate-prefix-cnwnaflktginpcbkbbezrtagsmqg/Pods-ctemplate-prefix.pch -MMD -MT dependencies -MF /Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/build/Pods.build/Debug-iphonesimulator/Pods-ctemplate.build/Objects-normal/i386/arena.d --serialize-diagnostics /Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/build/Pods.build/Debug-iphonesimulator/Pods-ctemplate.build/Objects-normal/i386/arena.dia -c /Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/ctemplate/src/base/arena.cc -o /Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/build/Pods.build/Debug-iphonesimulator/Pods-ctemplate.build/Objects-normal/i386/arena.o

/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/ctemplate/src/base/arena.cc:42:10: fatal error: 'config.h' file not found
#include <config.h>
         ^
1 error generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions