Skip to content

Instantly share code, notes, and snippets.

@karthikkovalam
Created April 28, 2014 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karthikkovalam/11376100 to your computer and use it in GitHub Desktop.
Save karthikkovalam/11376100 to your computer and use it in GitHub Desktop.
Errors while building ogre, OSX 10.8
[ 10%] Building CXX object OgreMain/CMakeFiles/OgreMain.dir/src/OgreFont.cpp.o
cd /tmp/ogre-ZCKQ/ogre_src_v1-7-4/build/OgreMain && /usr/local/Library/ENV/4.3/clang++ -DBOOST_ALL_NO_LIB -DFREEIMAGE_LIB -DOGRE_NONCLIENT_BUILD -DOgreMain_EXPORTS -D_MT -D_USRDLL -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fPIC -I/tmp/ogre-ZCKQ/ogre_src_v1-7-4/OgreMain/include -I/tmp/ogre-ZCKQ/ogre_src_v1-7-4/build/include -I/tmp/ogre-ZCKQ/ogre_src_v1-7-4/OgreMain/include/OSX -I/usr/local/include -I/opt/X11/include -I/tmp/ogre-ZCKQ/ogre_src_v1-7-4 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Carbon.framework/Headers -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Cocoa.framework/Headers -I/tmp/ogre-ZCKQ/ogre_src_v1-7-4/OgreMain/src/nedmalloc -pthread -o CMakeFiles/OgreMain.dir/src/OgreFont.cpp.o -c /tmp/ogre-ZCKQ/ogre_src_v1-7-4/OgreMain/src/OgreFont.cpp
/tmp/ogre-ZCKQ/ogre_src_v1-7-4/OgreMain/src/OgreFont.cpp:44:10: fatal error: 'freetype.h' file not found
#include FT_FREETYPE_H
^
/usr/local/include/freetype/config/ftheader.h:173:24: note: expanded from macro 'FT_FREETYPE_H'
#define FT_FREETYPE_H <freetype.h>
^
1 error generated.
make[2]: *** [OgreMain/CMakeFiles/OgreMain.dir/src/OgreFont.cpp.o] Error 1
make[1]: *** [OgreMain/CMakeFiles/OgreMain.dir/all] Error 2
make: *** [all] Error 2
==> Formula
Tap: osrf-simulation/ogre
Path: /usr/local/Library/Taps/osrf-simulation/ogre.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 726d3d9dc8c705c8e55583374ae3043f6ab7b082
CPU: quad-core 64-bit ivybridge
OS X: 10.8.5-x86_64
Xcode: 5.0.2
CLT: 5.1.0.0.1.1393561416
Clang: 5.1 build 503
X11: 2.7.5 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2
CMAKE_LIBRARY_PATH: /opt/X11/lib
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/libzzip/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/doxygen/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/libzzip/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: ogre 1.7.4 did not build
Logs:
/Users/Siva/Library/Logs/Homebrew/ogre/01.cmake
/Users/Siva/Library/Logs/Homebrew/ogre/01.cmake.cc
/Users/Siva/Library/Logs/Homebrew/ogre/02.make
/Users/Siva/Library/Logs/Homebrew/ogre/02.make.cc
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:560:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:560:in `open'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:542:in `start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:518:in `open'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:26:in `open'
from /usr/local/Library/Homebrew/utils.rb:304:in `open'
from /usr/local/Library/Homebrew/utils.rb:335:in `issues_matching'
from /usr/local/Library/Homebrew/utils.rb:363:in `issues_for_formula'
from /usr/local/Library/Homebrew/exceptions.rb:176:in `fetch_issues'
from /usr/local/Library/Homebrew/exceptions.rb:172:in `issues'
from /usr/local/Library/Homebrew/exceptions.rb:213:in `dump'
from /usr/local/Library/brew.rb:132
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment