Another set of OSX Build Instructions

View: New views
11 Messages — Rating Filter:   Alert me  

Another set of OSX Build Instructions

by Travis Griggs-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've been playing with refactoring build instructions found on the  
wiki out of the downloads page, and on to a separate Building page,  
with recipes for doing different builds.

I've just finished http://cairographics.org/end_to_end_build_for_mac_os_x/ 
  and would love to hear any feedback before writing up the end-to-end  
version I have for win32. It would be nice to kind of templatize  
these. I've begun a rudimentary page to act as a list of these (http://cairographics.org/building/ 
).

--
Travis Griggs
Objologist
My Other Machine runs OSX. But then... so does this one.



_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: Another set of OSX Build Instructions

by mpsuzuki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Mon, 19 Oct 2009 19:38:07 -0700
Travis Griggs <tgriggs@...> wrote:
>I've been playing with refactoring build instructions found on the  
>wiki out of the downloads page, and on to a separate Building page,  
>with recipes for doing different builds.

Good work today.

>I've just finished http://cairographics.org/end_to_end_build_for_mac_os_x/ 
>  and would love to hear any feedback before writing up the end-to-end  
>version I have for win32.

Unintentionally, when I installed Mono SDK on Mac OS X 10.4,
it replaced pkg-config by new one. I thank you for writing
that "Apple-genuine" pkg-config bundled to Xcode was legacy :-).
Also your note that "png" issue would be useful.

About the syntax of "export" command, I think,

 export LDFLAGS=-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk

is not safe, quoting might be recommended, like this.

 export LDFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"

There is a typo "x85_64" which should be "x86_64".

And, giving the list of backends detected/enabled by
default would be helpful.

Regards,
mpsuzuki
_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: Another set of OSX Build Instructions

by Ben Anderman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I haven't finished yet, but I'm going to bed now. Here's a couple  
problems:
mkdir ${BuildDir) has a closing bracket instead of brace.
Typo in tar -xzf pkconfig.tgz (missing the g in pkg).
The mv lines (like "mv pkg* pkgconfig") won't work properly because  
the .tgz files are still there, and are matched by the glob.

I also think it'd be good to make it clear that these are dylibs, not  
frameworks, and that they're made to be packaged inside a .app. It  
doesn't specifically claim that they are frameworks, but it makes it  
sound like they are (in my opinion).

Other than that it looks pretty good, and it's definitely a nice thing  
to have!

Ben
(Mac Packager for Wesnoth)

On Oct 19, 2009, at 10:38 PM, Travis Griggs wrote:

> I've been playing with refactoring build instructions found on the
> wiki out of the downloads page, and on to a separate Building page,
> with recipes for doing different builds.
>
> I've just finished http://cairographics.org/end_to_end_build_for_mac_os_x/
>  and would love to hear any feedback before writing up the end-to-end
> version I have for win32. It would be nice to kind of templatize
> these. I've begun a rudimentary page to act as a list of these (http://cairographics.org/building/
> ).
>
> --
> Travis Griggs
> Objologist
> My Other Machine runs OSX. But then... so does this one.
>
>
>
> _______________________________________________
> cairo mailing list
> cairo@...
> http://lists.cairographics.org/mailman/listinfo/cairo

_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: Another set of OSX Build Instructions

by Travis Griggs-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 19, 2009, at 8:12 PM, mpsuzuki@... wrote:

> Hi,
>
> On Mon, 19 Oct 2009 19:38:07 -0700
> Travis Griggs <tgriggs@...> wrote:
>> I've been playing with refactoring build instructions found on the
>> wiki out of the downloads page, and on to a separate Building page,
>> with recipes for doing different builds.
>
> Good work today.
>
>> I've just finished http://cairographics.org/end_to_end_build_for_mac_os_x/
>> and would love to hear any feedback before writing up the end-to-end
>> version I have for win32.
>
> Unintentionally, when I installed Mono SDK on Mac OS X 10.4,
> it replaced pkg-config by new one. I thank you for writing
> that "Apple-genuine" pkg-config bundled to Xcode was legacy :-).
> Also your note that "png" issue would be useful.
>
> About the syntax of "export" command, I think,
>
> export LDFLAGS=-arch ppc -arch i386 -isysroot /Developer/SDKs/
> MacOSX10.4u.sdk
>
> is not safe, quoting might be recommended, like this.
>
> export LDFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/
> MacOSX10.4u.sdk"

Yes, indeed. I copied these lines from a Herl script where the syntax  
is a little different. Thank you.
>
> There is a typo "x85_64" which should be "x86_64".

Fixed too.
>
> And, giving the list of backends detected/enabled by
> default would be helpful.


Noted at the top, as well in an explanation farther down about why --
disable-xlib is turned on.

Thanks!

--
Travis Griggs
Objologist
"Some people are like slinkies, not really good for much, but they can  
bring a smile to your face when you push them down the stairs."

_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: Another set of OSX Build Instructions

by Travis Griggs-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 19, 2009, at 8:35 PM, Ben Anderman wrote:

> I haven't finished yet, but I'm going to bed now. Here's a couple  
> problems:
> mkdir ${BuildDir) has a closing bracket instead of brace.
> Typo in tar -xzf pkconfig.tgz (missing the g in pkg).
> The mv lines (like "mv pkg* pkgconfig") won't work properly because  
> the .tgz files are still there, and are matched by the glob.
>
> I also think it'd be good to make it clear that these are dylibs,  
> not frameworks, and that they're made to be packaged inside a .app.  
> It doesn't specifically claim that they are frameworks, but it makes  
> it sound like they are (in my opinion).
>
> Other than that it looks pretty good, and it's definitely a nice  
> thing to have!

Suppose I should actually test my own page, huh? :)

I've done so now, making sure one can simply copy-paste between  
browser and command line.

Thanks for the feedback.

I'm assuming that the actual "style" is OK with people then? Getting a  
lot of good technical feedback, the actual layout doesn't seem to be  
raising too many concerns. I'll write up the Windows one along the  
same lines tomorrow.

--
Travis Griggs
Objologist
"The project was so plagued by politics and ego that when the  
engineers requested technical oversight, our manager hired a  
psychologist instead." -- Ron Avitzur

_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: Another set of OSX Build Instructions

by mpsuzuki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> And, giving the list of backends detected/enabled by
>> default would be helpful.
>
> Noted at the top, as well in an explanation farther down about why --
> disable-xlib is turned on.

I'm sorry, I didn't clarify what I wished...
I wish if you could copy the end of the output
by ./configure, something like:

The following surface backends:
...
   Quartz: ...
   Quartz-image: ...
...

It is helpful for users to check their configuration
was correctly finished, or there is anything wrong.

Regards,
mpsuzuki

_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: Another set of OSX Build Instructions

by Ben Anderman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think the style is good; it's great to keep things self-contained. I  
just to finish though, and got errors on the first file in the make  
step of Cairo. Here's the output:
make  all-recursive
Making all in src
make  all-am
../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I/Users/ben/
Documents/programming_stuff/BuildCairo/include/pixman-1      -I/Users/
ben/Documents/programming_stuff/BuildCairo/include/libpng12       -
Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -
Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-
enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -
Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-
definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-
attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common -
Wp,-D_FORTIFY_SOURCE=2          -I/sw/include  -Os -arch ppc -arch  
i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c -o cairo-analysis-
surface.lo cairo-analysis-surface.c
In file included from cairoint.h:60,
                  from cairo-analysis-surface.c:37:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:  
stdarg.h: No such file or directory
In file included from cairoint.h:60,
                  from cairo-analysis-surface.c:37:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:  
stdarg.h: No such file or directory
lipo: can't figure out the architecture type of: /var/folders/mf/
mf3Jw2Pc2RWV-k+1YxDPA++++TI/-Tmp-//ccf5YsnW.out
make[3]: *** [cairo-analysis-surface.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Seems like Cairo uses something that's not available in 10.4?

Ben
(Mac packager for Wesnoth / crimson_penguin on IRC)

On Oct 20, 2009, at 1:20 AM, Travis Griggs wrote:

>
> On Oct 19, 2009, at 8:35 PM, Ben Anderman wrote:
>
>> I haven't finished yet, but I'm going to bed now. Here's a couple
>> problems:
>> mkdir ${BuildDir) has a closing bracket instead of brace.
>> Typo in tar -xzf pkconfig.tgz (missing the g in pkg).
>> The mv lines (like "mv pkg* pkgconfig") won't work properly because
>> the .tgz files are still there, and are matched by the glob.
>>
>> I also think it'd be good to make it clear that these are dylibs,
>> not frameworks, and that they're made to be packaged inside a .app.
>> It doesn't specifically claim that they are frameworks, but it makes
>> it sound like they are (in my opinion).
>>
>> Other than that it looks pretty good, and it's definitely a nice
>> thing to have!
>
> Suppose I should actually test my own page, huh? :)
>
> I've done so now, making sure one can simply copy-paste between
> browser and command line.
>
> Thanks for the feedback.
>
> I'm assuming that the actual "style" is OK with people then? Getting a
> lot of good technical feedback, the actual layout doesn't seem to be
> raising too many concerns. I'll write up the Windows one along the
> same lines tomorrow.
>
> --
> Travis Griggs
> Objologist
> "The project was so plagued by politics and ego that when the
> engineers requested technical oversight, our manager hired a
> psychologist instead." -- Ron Avitzur
>
> _______________________________________________
> cairo mailing list
> cairo@...
> http://lists.cairographics.org/mailman/listinfo/cairo

_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: Another set of OSX Build Instructions

by Ben Anderman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Figured out the problem: I'm using 10.6, which uses gcc 4.2 by  
default, but when compiling with the 10.4 SDK, you have to use gcc  
4.0. The solution: set the CC environment variable to "gcc-4.0".

After I did that, everything worked. :)

Ben

On Oct 21, 2009, at 1:46 PM, Ben Anderman wrote:

> I think the style is good; it's great to keep things self-contained. I
> just to finish though, and got errors on the first file in the make
> step of Cairo. Here's the output:
> make  all-recursive
> Making all in src
> make  all-am
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I/Users/ben/
> Documents/programming_stuff/BuildCairo/include/pixman-1      -I/Users/
> ben/Documents/programming_stuff/BuildCairo/include/libpng12       -
> Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -
> Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-
> prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-
> enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -
> Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-
> definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-
> attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common -
> Wp,-D_FORTIFY_SOURCE=2          -I/sw/include  -Os -arch ppc -arch
> i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c -o cairo-analysis-
> surface.lo cairo-analysis-surface.c
> In file included from cairoint.h:60,
>                  from cairo-analysis-surface.c:37:
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:
> stdarg.h: No such file or directory
> In file included from cairoint.h:60,
>                  from cairo-analysis-surface.c:37:
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:
> stdarg.h: No such file or directory
> lipo: can't figure out the architecture type of: /var/folders/mf/
> mf3Jw2Pc2RWV-k+1YxDPA++++TI/-Tmp-//ccf5YsnW.out
> make[3]: *** [cairo-analysis-surface.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Seems like Cairo uses something that's not available in 10.4?
>
> Ben
> (Mac packager for Wesnoth / crimson_penguin on IRC)
>
> On Oct 20, 2009, at 1:20 AM, Travis Griggs wrote:
>
>>
>> On Oct 19, 2009, at 8:35 PM, Ben Anderman wrote:
>>
>>> I haven't finished yet, but I'm going to bed now. Here's a couple
>>> problems:
>>> mkdir ${BuildDir) has a closing bracket instead of brace.
>>> Typo in tar -xzf pkconfig.tgz (missing the g in pkg).
>>> The mv lines (like "mv pkg* pkgconfig") won't work properly because
>>> the .tgz files are still there, and are matched by the glob.
>>>
>>> I also think it'd be good to make it clear that these are dylibs,
>>> not frameworks, and that they're made to be packaged inside a .app.
>>> It doesn't specifically claim that they are frameworks, but it makes
>>> it sound like they are (in my opinion).
>>>
>>> Other than that it looks pretty good, and it's definitely a nice
>>> thing to have!
>>
>> Suppose I should actually test my own page, huh? :)
>>
>> I've done so now, making sure one can simply copy-paste between
>> browser and command line.
>>
>> Thanks for the feedback.
>>
>> I'm assuming that the actual "style" is OK with people then?  
>> Getting a
>> lot of good technical feedback, the actual layout doesn't seem to be
>> raising too many concerns. I'll write up the Windows one along the
>> same lines tomorrow.
>>
>> --
>> Travis Griggs
>> Objologist
>> "The project was so plagued by politics and ego that when the
>> engineers requested technical oversight, our manager hired a
>> psychologist instead." -- Ron Avitzur
>>
>> _______________________________________________
>> cairo mailing list
>> cairo@...
>> http://lists.cairographics.org/mailman/listinfo/cairo
>
> _______________________________________________
> cairo mailing list
> cairo@...
> http://lists.cairographics.org/mailman/listinfo/cairo

_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: Another set of OSX Build Instructions

by Dominic Lachowicz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's odd. Isn't stdarg.h part of the C89 standard, and thus included
by every C compiler shipped in the last 2 decades?

On Wed, Oct 21, 2009 at 2:22 PM, Ben Anderman <ben@...> wrote:

> Figured out the problem: I'm using 10.6, which uses gcc 4.2 by
> default, but when compiling with the 10.4 SDK, you have to use gcc
> 4.0. The solution: set the CC environment variable to "gcc-4.0".
>
> After I did that, everything worked. :)
>
> Ben
>
> On Oct 21, 2009, at 1:46 PM, Ben Anderman wrote:
>
>> I think the style is good; it's great to keep things self-contained. I
>> just to finish though, and got errors on the first file in the make
>> step of Cairo. Here's the output:
>> make  all-recursive
>> Making all in src
>> make  all-am
>> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I/Users/ben/
>> Documents/programming_stuff/BuildCairo/include/pixman-1      -I/Users/
>> ben/Documents/programming_stuff/BuildCairo/include/libpng12       -
>> Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -
>> Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-
>> prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-
>> enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -
>> Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-
>> definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-
>> attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common -
>> Wp,-D_FORTIFY_SOURCE=2          -I/sw/include  -Os -arch ppc -arch
>> i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c -o cairo-analysis-
>> surface.lo cairo-analysis-surface.c
>> In file included from cairoint.h:60,
>>                  from cairo-analysis-surface.c:37:
>> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:
>> stdarg.h: No such file or directory
>> In file included from cairoint.h:60,
>>                  from cairo-analysis-surface.c:37:
>> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:
>> stdarg.h: No such file or directory
>> lipo: can't figure out the architecture type of: /var/folders/mf/
>> mf3Jw2Pc2RWV-k+1YxDPA++++TI/-Tmp-//ccf5YsnW.out
>> make[3]: *** [cairo-analysis-surface.lo] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> Seems like Cairo uses something that's not available in 10.4?
>>
>> Ben
>> (Mac packager for Wesnoth / crimson_penguin on IRC)
>>
>> On Oct 20, 2009, at 1:20 AM, Travis Griggs wrote:
>>
>>>
>>> On Oct 19, 2009, at 8:35 PM, Ben Anderman wrote:
>>>
>>>> I haven't finished yet, but I'm going to bed now. Here's a couple
>>>> problems:
>>>> mkdir ${BuildDir) has a closing bracket instead of brace.
>>>> Typo in tar -xzf pkconfig.tgz (missing the g in pkg).
>>>> The mv lines (like "mv pkg* pkgconfig") won't work properly because
>>>> the .tgz files are still there, and are matched by the glob.
>>>>
>>>> I also think it'd be good to make it clear that these are dylibs,
>>>> not frameworks, and that they're made to be packaged inside a .app.
>>>> It doesn't specifically claim that they are frameworks, but it makes
>>>> it sound like they are (in my opinion).
>>>>
>>>> Other than that it looks pretty good, and it's definitely a nice
>>>> thing to have!
>>>
>>> Suppose I should actually test my own page, huh? :)
>>>
>>> I've done so now, making sure one can simply copy-paste between
>>> browser and command line.
>>>
>>> Thanks for the feedback.
>>>
>>> I'm assuming that the actual "style" is OK with people then?
>>> Getting a
>>> lot of good technical feedback, the actual layout doesn't seem to be
>>> raising too many concerns. I'll write up the Windows one along the
>>> same lines tomorrow.
>>>
>>> --
>>> Travis Griggs
>>> Objologist
>>> "The project was so plagued by politics and ego that when the
>>> engineers requested technical oversight, our manager hired a
>>> psychologist instead." -- Ron Avitzur
>>>
>>> _______________________________________________
>>> cairo mailing list
>>> cairo@...
>>> http://lists.cairographics.org/mailman/listinfo/cairo
>>
>> _______________________________________________
>> cairo mailing list
>> cairo@...
>> http://lists.cairographics.org/mailman/listinfo/cairo
>
> _______________________________________________
> cairo mailing list
> cairo@...
> http://lists.cairographics.org/mailman/listinfo/cairo
>



--
"I like to pay taxes. With them, I buy civilization." --  Oliver Wendell Holmes
_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: Another set of OSX Build Instructions

by Ben Anderman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, it IS there, if you look closely, it's stdarg.h that's trying to  
include itself. I don't quite understand why it doesn't work to be  
honest, but I asked around, that was the answer I got, and it worked.

Ben

On Oct 21, 2009, at 2:32 PM, Dominic Lachowicz wrote:

> That's odd. Isn't stdarg.h part of the C89 standard, and thus included
> by every C compiler shipped in the last 2 decades?
>
> On Wed, Oct 21, 2009 at 2:22 PM, Ben Anderman <ben@...>  
> wrote:
>> Figured out the problem: I'm using 10.6, which uses gcc 4.2 by
>> default, but when compiling with the 10.4 SDK, you have to use gcc
>> 4.0. The solution: set the CC environment variable to "gcc-4.0".
>>
>> After I did that, everything worked. :)
>>
>> Ben
>>
>> On Oct 21, 2009, at 1:46 PM, Ben Anderman wrote:
>>
>>> I think the style is good; it's great to keep things self-
>>> contained. I
>>> just to finish though, and got errors on the first file in the make
>>> step of Cairo. Here's the output:
>>> make  all-recursive
>>> Making all in src
>>> make  all-am
>>> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I/Users/ben/
>>> Documents/programming_stuff/BuildCairo/include/pixman-1      -I/
>>> Users/
>>> ben/Documents/programming_stuff/BuildCairo/include/libpng12       -
>>> Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -
>>> Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-
>>> prototypes -Wmissing-declarations -Wnested-externs -Wpacked -
>>> Wswitch-
>>> enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -
>>> Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-
>>> style-
>>> definition -Wno-missing-field-initializers -Wno-unused-parameter -
>>> Wno-
>>> attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-
>>> common -
>>> Wp,-D_FORTIFY_SOURCE=2          -I/sw/include  -Os -arch ppc -arch
>>> i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c -o cairo-analysis-
>>> surface.lo cairo-analysis-surface.c
>>> In file included from cairoint.h:60,
>>>                  from cairo-analysis-surface.c:37:
>>> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:
>>> stdarg.h: No such file or directory
>>> In file included from cairoint.h:60,
>>>                  from cairo-analysis-surface.c:37:
>>> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:
>>> stdarg.h: No such file or directory
>>> lipo: can't figure out the architecture type of: /var/folders/mf/
>>> mf3Jw2Pc2RWV-k+1YxDPA++++TI/-Tmp-//ccf5YsnW.out
>>> make[3]: *** [cairo-analysis-surface.lo] Error 1
>>> make[2]: *** [all] Error 2
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>>
>>> Seems like Cairo uses something that's not available in 10.4?
>>>
>>> Ben
>>> (Mac packager for Wesnoth / crimson_penguin on IRC)
>>>
>>> On Oct 20, 2009, at 1:20 AM, Travis Griggs wrote:
>>>
>>>>
>>>> On Oct 19, 2009, at 8:35 PM, Ben Anderman wrote:
>>>>
>>>>> I haven't finished yet, but I'm going to bed now. Here's a couple
>>>>> problems:
>>>>> mkdir ${BuildDir) has a closing bracket instead of brace.
>>>>> Typo in tar -xzf pkconfig.tgz (missing the g in pkg).
>>>>> The mv lines (like "mv pkg* pkgconfig") won't work properly  
>>>>> because
>>>>> the .tgz files are still there, and are matched by the glob.
>>>>>
>>>>> I also think it'd be good to make it clear that these are dylibs,
>>>>> not frameworks, and that they're made to be packaged inside  
>>>>> a .app.
>>>>> It doesn't specifically claim that they are frameworks, but it  
>>>>> makes
>>>>> it sound like they are (in my opinion).
>>>>>
>>>>> Other than that it looks pretty good, and it's definitely a nice
>>>>> thing to have!
>>>>
>>>> Suppose I should actually test my own page, huh? :)
>>>>
>>>> I've done so now, making sure one can simply copy-paste between
>>>> browser and command line.
>>>>
>>>> Thanks for the feedback.
>>>>
>>>> I'm assuming that the actual "style" is OK with people then?
>>>> Getting a
>>>> lot of good technical feedback, the actual layout doesn't seem to  
>>>> be
>>>> raising too many concerns. I'll write up the Windows one along the
>>>> same lines tomorrow.
>>>>
>>>> --
>>>> Travis Griggs
>>>> Objologist
>>>> "The project was so plagued by politics and ego that when the
>>>> engineers requested technical oversight, our manager hired a
>>>> psychologist instead." -- Ron Avitzur
>>>>
>>>> _______________________________________________
>>>> cairo mailing list
>>>> cairo@...
>>>> http://lists.cairographics.org/mailman/listinfo/cairo
>>>
>>> _______________________________________________
>>> cairo mailing list
>>> cairo@...
>>> http://lists.cairographics.org/mailman/listinfo/cairo
>>
>> _______________________________________________
>> cairo mailing list
>> cairo@...
>> http://lists.cairographics.org/mailman/listinfo/cairo
>>
>
>
>
> --
> "I like to pay taxes. With them, I buy civilization." --  Oliver  
> Wendell Holmes
> _______________________________________________
> cairo mailing list
> cairo@...
> http://lists.cairographics.org/mailman/listinfo/cairo

_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo

Re: Another set of OSX Build Instructions

by Travis Griggs-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 21, 2009, at 11:22 AM, Ben Anderman wrote:

> Figured out the problem: I'm using 10.6, which uses gcc 4.2 by
> default, but when compiling with the 10.4 SDK, you have to use gcc
> 4.0. The solution: set the CC environment variable to "gcc-4.0".
>
> After I did that, everything worked. :)

Can you tweak the Wiki? Or shall I? I build on 10.5.

--
Travis Griggs
Objologist
Light travels faster than sound. This is why some people appear bright  
until you hear them speak...




_______________________________________________
cairo mailing list
cairo@...
http://lists.cairographics.org/mailman/listinfo/cairo