2013/11/17 Jens Axel Søgaard <jensa...@soegaard.net>: > At this point I ran out of steam.
Success! I have now managed to build libcairo from scratch. By luck I fell over: http://cairographics.org/end_to_end_build_for_mac_os_x/ which I was able to follow without too many problems. A few notes, white I can remember them: 1. The section on setting up the environment variables. I used these flags (The oldest SDK I had was 10.6): BuildDir=/Users/soegaard/BuildCairo ZLIBLIB=/Users/soegaard/BuildCairo/lib LDFLAGS=-isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/soegaard/BuildCairo/lib -arch x86_64 -lz CPPFLAGS=-I/Users/soegaard/BuildCairo/include/ CFLAGS=-Os -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/Users/soegaard/BuildCairo/include/ -arch x86_64 CC=/usr/bin/gcc Note that: /usr/bin/gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix 2. In order to build libpng I had to build zlib first. Note that to link with zlib, the linker needs the flag -lz Tomorrow I'll try to built libpoppler and librsvg using the same principle. -- Jens Axel Søgaard ____________________ Racket Users list: http://lists.racket-lang.org/users