Installing Fontcrunch
Christoph Koeberlin
Posts: 51
Hi,
I’m trying to install Fontcrunch, but it doesn’t work (error log attached) …
What am I doing wrong?
Thanks!
Christoph
I’m trying to install Fontcrunch, but it doesn’t work (error log attached) …
What am I doing wrong?
Thanks!
Christoph
0
Comments
-
I got it to compile after installing the (old?) gcc-4.2. If you have homebrew installed (http://brew.sh), you can run
brew install apple-gcc42
and then try again.0 -
Thanks, Jack!
Feels a bit closer now, nevertheless:running install
running bdist_egg
running egg_info
creating FontCrunch.egg-info
writing FontCrunch.egg-info/PKG-INFO
writing top-level names to FontCrunch.egg-info/top_level.txt
writing dependency_links to FontCrunch.egg-info/dependency_links.txt
writing manifest file 'FontCrunch.egg-info/SOURCES.txt'
reading manifest file 'FontCrunch.egg-info/SOURCES.txt'
writing manifest file 'FontCrunch.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-intel/egg
running install_lib
running build_py
creating build
creating build/lib.macosx-10.6-intel-2.7
creating build/lib.macosx-10.6-intel-2.7/fontcrunch
copying fontcrunch/__init__.py -> build/lib.macosx-10.6-intel-2.7/fontcrunch
copying fontcrunch/quadopt.py -> build/lib.macosx-10.6-intel-2.7/fontcrunch
copying fontcrunch/fontcrunch.py -> build/lib.macosx-10.6-intel-2.7/fontcrunch
running build_ext
building 'fontcrunch._quadopt' extension
swigging fontcrunch/quadopt.i to fontcrunch/quadopt_wrap.cpp
swig -python -c++ -modern -o fontcrunch/quadopt_wrap.cpp fontcrunch/quadopt.i
creating build/temp.macosx-10.6-intel-2.7
creating build/temp.macosx-10.6-intel-2.7/fontcrunch
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c fontcrunch/quadopt_wrap.cpp -o build/temp.macosx-10.6-intel-2.7/fontcrunch/quadopt_wrap.o -std=c++0x -O3
cc1plus: error: unrecognized command line option "-std=c++0x"
cc1plus: error: unrecognized command line option "-std=c++0x"
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't figure out the architecture type of: /var/tmp//ccoRqF3e.out
error: command 'gcc-4.2' failed with exit status 1
0 -
Hi Christoph,
I still think the different compilers may be the problem. I tried it on my 10.9 machine with XCode 6.2 installed, where "cc" (Apple LLVM version 6.0 (clang-600.0.57)) is used as compiler and it works without problem.
I have copied the compiled files into the attached zip archive, I think they should run on your system. The egg folder goes into site-packages, and the font-crunch.py script into /usr/local/bin. Probably you also need to add a line to the easy-install.pth file in your site-packages folder, as shown in the screenshot.1 -
Thanks, Jenser! :-*1
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 803 Font Technology
- 1K Technique and Theory
- 618 Type Business
- 444 Type Design Critiques
- 542 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 499 Announcements
- 80 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 270 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports