[cairo] problem building cairo 1.10.0 for x86_64 on Mac OS X 10.5 (Leopard)
Andrea Canciani
ranma42 at gmail.com
Tue Nov 9 08:58:29 PST 2010
On Tue, Nov 9, 2010 at 5:53 PM, Kevin Layer <layer at franz.com> wrote:
> Andrea Canciani <ranma42 at gmail.com> wrote:
>
>>> On Tue, Nov 9, 2010 at 3:08 PM, Kevin Layer <layer at franz.com> wrote:
>>> > Alexander Shulgin <alex.shulgin at gmail.com> wrote:
>>> >
>>> >>> On Mon, Nov 8, 2010 at 23:31, Kevin Layer <layer at franz.com> wrote:
>>> >>> > Andrea Canciani <ranma42 at gmail.com> wrote:
>>> >>> >>>
>>> >>> >>> Please try building the archive available here:
>>> >>> >>> http://www.cairographics.org/releases/cairo-1.10.0.tar.gz
>>> >>> >>>
>>> >>> >>> It should be as simple as decompressing it and running:
>>> >>> >>> ./configure
>>> >>> >>> make
>>> >>> >>>
>>> >>> >>> (assuming that you already added macports to the path).
>>> >>> >>> If both these commands run successfully, the problem is likely
>>> >>> >>> in the macports packaging.
>>> >>> >
>>> >>> > They did. However, that only made the i386 version. How do I
>>> >>> > configure for x86_64? (I looked at configure and it wasn't obvious)
>>> >>>
>>> >>> I guess it's ./configure --build=x86_64 or something like that.
>>> >
>>> > OK, did that. The make that followed worked, but didn't produce any
>>> > dylib's.
>>> >
>>> > $ find . -name '*.dylib'
>>> > $ find . -name 'libcairo.*'
>>> > ./src/.libs/libcairo.a
>>> > ./src/.libs/libcairo.la
>>> > ./src/.libs/libcairo.lai
>>> > ./src/libcairo.la
>>> > $ find . -name 'libcairo.*' | xargs file
>>> > ./src/.libs/libcairo.a: current ar archive random library
>>> > ./src/.libs/libcairo.la: ASCII English text, with very long lines
>>> > ./src/.libs/libcairo.lai: ASCII English text, with very long lines
>>> > ./src/libcairo.la: ASCII English text, with very long lines
>>> > $
>>> >
>>> > Not sure where to go from here. Any ideas?
>>>
>>> You might want to try something like
>>>
>>> export MACOSX_DEPLOYMENT_TARGET=10.5
>>> export LDFLAGS="-arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk"
>>> export CFLAGS="-arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk"
>>> ./configure
>
> I get
>
> checking build system type... i386-apple-darwin9.8.0
> checking host system type... i386-apple-darwin9.8.0
Yes, that's fine (and doesn't tell you if the the library being
build will be i386 or x86_64).
>
> in the configure output when I do the above commands.
>
> And, btw, I'm using 10.5.8 to build, and have been from the start.
10.5.8 seems like the version of the operating system.
Which SDK are you using?
And, anyway, did the build succeed with at least one of the
environments I suggested?
Andrea
More information about the cairo
mailing list