[cairo] Quartz regression in release 1.12
Dimiter 'malkia' Stanev
malkia at gmail.com
Sat Apr 21 20:52:15 PDT 2012
I haven't run this script on my machine (OS 10.7 with Latest XCode from
App Store), but I think it won't work. There is no more /Developer
folder, but the way to get it is by using xcode-select (or maybe
something else, this is the one I know):
malkia ~/p $ xcode-select -print-path
/Applications/Xcode.app/Contents/Developer
Even then for some other projects I had to fake an old style /Developer
folder which is soft-linked (or was it hard-linked, nyaaah) to the new
place:
malkia ~/p $ ls -l /Developer/
total 8
drwxr-xr-x 10 malkia staff 340 Feb 16 01:56 GPU Computing
drwxr-xr-x 4 root wheel 136 Mar 25 22:05 SDKs
lrwxr-xr-x 1 malkia admin 46 Mar 18 22:30 usr ->
/Applications/Xcode.app/Contents/Developer/usr
But that might not be requirment for cairo.
And off course, it could be something else.
On 4/21/12 6:51 AM, cu wrote:
> Andrea,
>
> I copied the configure command from config.log verbatim.
>
> Aside from the command, the only thing required is to set a few
> environment variables to point to pixman and freetype, which any cairo
> build should require anyway. I also set up compiler options (I am
> building against 10.4 SDK) but that's not required to either get the
> behavior or build, you can omit all CFLAGS/CPPFLAGS other than "-arch
> i386". The following is set up in environment (replace paths as necessary):
>
> pixman_CFLAGS=-I/Users/cu/work/u/include/pixman-1
> pixman_LIBS='-L/Users/cu/work/u/lib -lpixman-1'
> png_CFLAGS=-I/Users/cu/work/u/include
> png_LIBS='-L/Users/cu/work/u/lib -lpng12'
> png_REQUIRES=libpng12
> FREETYPE_CFLAGS=-I/Users/cu/work/u/include/freetype2
> FREETYPE_LIBS='-L/Users/cu/work/u/lib -lfreetype'
> CPPFLAGS='-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
> -mmacosx-version-min=10.4
> -I/usr/lib/gcc/i686-apple-darwin10/4.2.1/include
> -I/usr/include/c++/4.2.1/ -I/usr/include/c++/4.2.1/i686-apple-darwin10 -O3 '
> CXX=g++-4.2
> CXXFLAGS='-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
> -mmacosx-version-min=10.4
> -I/usr/lib/gcc/i686-apple-darwin10/4.2.1/include
> -I/usr/include/c++/4.2.1/ -I/usr/include/c++/4.2.1/i686-apple-darwin10 -O3 '
>
> Just in case here it is the command I am using (note that disable-glitz
> is not a current option, but it results in a warning and nothing else):
> ./configure --prefix=/tmp/dist --disable-xcb --disable-xcb-shm
> --disable-script --disable-win32 --disable-win32-font --disable-beos
> --disable-os2 --disable-glitz --disable-directfb --disable-gl
> --enable-pthread --disable-svg --disable-xml --disable-test-surfaces
> --disable-script --enable-interpreter=no --disable-full-testing
> --enable-ft --disable-shared --disable-xlib --disable-xlib-xrender
> --enable-pdf --disable-ps --disable-fc --enable-quartz
> --disable-quartz-font --disable-quartz-image
>
> I just re-ran configure with the same command and it worked, and I am
> able to build. What build error are you getting?
>
>
> Andrea Canciani wrote:
>> I'm working on getting cairo-quartz to a usable state (but
>> unfortunately I don't have much time to spend on it except in
>> weekends).
>> Your configure commandline did not result in a working build, which is
>> another problem I should try to fix.
>> With the default build setting I freetype works in my environment, so
>> we might need some additional information to find out exactly what's
>> going wrong.
>> Could you attach the config.log output?
>> Do the freetype tests work in your env or do they cause the surface to
>> get in error status?
>>
>> Andrea
>>
>>
>>>> cu wrote:
>>>>
>>>>
>>>>> I am able to reproduce both bugs on the MacOS version of Cairo built
>>>>> from the branch.
>>>>>
>>>>>
>>>>>
>>>> --
>>>> cairo mailing list
>>>> cairo at cairographics.org
>>>> http://lists.cairographics.org/mailman/listinfo/cairo
>>>>
>>>>
>>> --
>>> cairo mailing list
>>> cairo at cairographics.org
>>> http://lists.cairographics.org/mailman/listinfo/cairo
>>>
>> --
>> cairo mailing list
>> cairo at cairographics.org
>> http://lists.cairographics.org/mailman/listinfo/cairo
>>
>
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
More information about the cairo
mailing list