最終更新: kojima_ichiro 2011年07月08日(金) 01:03:14履歴
This procedure is confirmed on several PowerPC and Intel Mac. Please feel free to add your knowledge.
- Also succeeded on Intel Mac with Mac OS X 10.5.2 Leopard.
- Also succeeded on Intel Mac with Mac OS X 10.6.4 Snow Leopard.
% set path = ( /usr/local/bin ${path} ) % setenv MACOSX_DEPLOYMENT_TARGET 10.4 % setenv DYLD_LIBRARY_PATH /usr/local/lib
% curl -O http://www.zlib.net/zlib-1.2.5.tar.gz % tar zxvf zlib-1.2.5.tar.gz % setenv CFLAGS "-arch x86_64 -arch i386 -arch ppc" % cd zlib-1.2.5; ./configure --shared && make && sudo make install % cd ..
Mac OS X binary installer is available at http://ethan.tira-thompson.com/Mac%20OS%20X%20Port...
Mac OS X binary installer is available at http://ethan.tira-thompson.com/Mac%20OS%20X%20Port...
Freetype2 is included in Mac OS X 10.6 Snow Leopard.
Download freetype-2.4.4.tar.bz2 from http://sourceforge.net/projects/freetype/files/
Download freetype-2.4.4.tar.bz2 from http://sourceforge.net/projects/freetype/files/
% tar jxvf freetype-2.4.4.tar.bz2 % pushd freetype-2.4.4 % ./configure % ./configure CFLAGS="-arch x86_64 -arch i386 -arch ppc" % make && sudo make install % popd
% curl -O http://www.libgd.org/releases/gd-2.0.36.tar.gz % gnutar -zxf gd-2.0.36.tar.gz % pushd gd-2.0.36 % ln -s `which glibtool` ./libtool % setenv CFLAGS "-isysroot /Developer/SDKs/MacOSX10.6.sdk -arch x86_64 -arch i386 -arch ppc -I/usr/local/include" % setenv LDFLAGS "-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -arch x86_64 -arch i386 -arch ppc" % ./configure CPPFLAGS=-I/usr/X11R6/include/freetype2 --prefix=/usr/local --mandir=/usr/local/man --bindir=/usr/local/bin --with-freetype=/usr/X11R6 --includedir=/usr/local/include --disable-dependency-tracking % make % sudo make install % popd
コメントをかく