This repository has been archived by the owner. It is now read-only.

Cairo Doesn't Build On OS X 10.8.2 #18348

Closed
lambdaknight opened this Issue Mar 8, 2013 · 8 comments

Comments

Projects
None yet
4 participants
@lambdaknight

I am running OS X 10.8.2 and XCode 4.6. I am currently completely unable to install cairo.

Here is the output of "brew install -v cairo": https://gist.github.com/lambdaknight/626fcda414dd12208c0d

It looks like superenv might have been removing a vital lib directory, so I tried it with "--env=std". Here is the output of "brew install -v --env=std cairo": https://gist.github.com/lambdaknight/61ce4433e95443928a19

Here is the output of "brew doctor":

Warning: /Library/Frameworks/Mono.framework detected
This can be picked up by CMake's build system and likely cause the build to
fail. You may need to move this file out of the way to compile CMake.
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
    /usr/local/lib/libecomlodr.dylib
@adamv

This comment has been minimized.

Show comment Hide comment
@adamv

adamv Mar 18, 2013

Contributor

Copying from the build output:

cairo-boilerplate-xcb.c:65:15: error: no member named 'major_code' in 'xcb_generic_error_t'; did you mean 'error_code'?
                     error->major_code, error->minor_code);
                            ^~~~~~~~~~
                            error_code
/opt/X11/include/xcb/xcb.h:142:15: note: 'error_code' declared here
    uint8_t   error_code;     /**< Error code */
              ^
cairo-boilerplate-xcb.c:65:34: error: no member named 'minor_code' in 'xcb_generic_error_t'; did you mean 'error_code'?
                     error->major_code, error->minor_code);
                                               ^~~~~~~~~~
                                               error_code
/opt/X11/include/xcb/xcb.h:142:15: note: 'error_code' declared here
    uint8_t   error_code;     /**< Error code */
              ^
Contributor

adamv commented Mar 18, 2013

Copying from the build output:

cairo-boilerplate-xcb.c:65:15: error: no member named 'major_code' in 'xcb_generic_error_t'; did you mean 'error_code'?
                     error->major_code, error->minor_code);
                            ^~~~~~~~~~
                            error_code
/opt/X11/include/xcb/xcb.h:142:15: note: 'error_code' declared here
    uint8_t   error_code;     /**< Error code */
              ^
cairo-boilerplate-xcb.c:65:34: error: no member named 'minor_code' in 'xcb_generic_error_t'; did you mean 'error_code'?
                     error->major_code, error->minor_code);
                                               ^~~~~~~~~~
                                               error_code
/opt/X11/include/xcb/xcb.h:142:15: note: 'error_code' declared here
    uint8_t   error_code;     /**< Error code */
              ^
@samueljohn

This comment has been minimized.

Show comment Hide comment
@samueljohn

samueljohn Mar 26, 2013

Contributor

sorry, I cannot reproduce.

Contributor

samueljohn commented Mar 26, 2013

sorry, I cannot reproduce.

@adamv

This comment has been minimized.

Show comment Hide comment
@adamv

adamv Apr 19, 2013

Contributor

Long shot; is Mono interfering here? I don't have a 10.8 machine to test with.

Contributor

adamv commented Apr 19, 2013

Long shot; is Mono interfering here? I don't have a 10.8 machine to test with.

@adamv

This comment has been minimized.

Show comment Hide comment
@adamv

adamv Apr 20, 2013

Contributor

Suggest brew update, removal of all cairo deps so they can be rebuilt, and possibly moving Mono out of the way or updating to a non-conflicting version.

Contributor

adamv commented Apr 20, 2013

Suggest brew update, removal of all cairo deps so they can be rebuilt, and possibly moving Mono out of the way or updating to a non-conflicting version.

@adamv adamv closed this Apr 20, 2013

@borski

This comment has been minimized.

Show comment Hide comment
@borski

borski Nov 22, 2013

I know why this is happening, and can tell you how to reproduce it.

If you install Norton Internet Security on your mac, this dylib gets tossed into /usr/local/lib. Removing it screws Norton. NOt sure what a proper fix should be. Thoughts?

borski commented Nov 22, 2013

I know why this is happening, and can tell you how to reproduce it.

If you install Norton Internet Security on your mac, this dylib gets tossed into /usr/local/lib. Removing it screws Norton. NOt sure what a proper fix should be. Thoughts?

@adamv

This comment has been minimized.

Show comment Hide comment
@adamv

adamv Nov 22, 2013

Contributor

Tell Norton Internet Security to install somewhere else?

Contributor

adamv commented Nov 22, 2013

Tell Norton Internet Security to install somewhere else?

@borski

This comment has been minimized.

Show comment Hide comment
@borski

borski Nov 22, 2013

Heh, I wish. I suspect that's a lot harder than getting homebrew to ignore this particular dylib?

borski commented Nov 22, 2013

Heh, I wish. I suspect that's a lot harder than getting homebrew to ignore this particular dylib?

@adamv

This comment has been minimized.

Show comment Hide comment
@adamv

adamv Nov 22, 2013

Contributor

@borski are we talking about brew doctor ignoring this dylib, or are we talking about the cairo build failure? brew doctor reports warnings, not errors, so if this dylib isn't interfering with compilation, there is no issue here

Contributor

adamv commented Nov 22, 2013

@borski are we talking about brew doctor ignoring this dylib, or are we talking about the cairo build failure? brew doctor reports warnings, not errors, so if this dylib isn't interfering with compilation, there is no issue here

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.