patrickhno / opine

A ruby widget toolkit for everyone and every computer
MIT License
2 stars 1 forks source link

Installation problems on OSX Maverick #1

Open thomasfl opened 10 years ago

thomasfl commented 10 years ago

Installation in OSX Maverick (10.9.2) returns this error message:

installing 'cairo' native package... failed
failed to run 'brew install cairo'.

It looks like it want's the X windows installed:

$ brew install -v cairo
cairo: Unsatisfied dependency: XQuartz 
Homebrew does not package XQuartz. Installers may be found at:
  https://xquartz.macosforge.org
Error: An unsatisfied requirement failed this build.

I know this is a new project, so I didn't expect everything to work out the box.

patrickhno commented 10 years ago

Not strictly a opine issue, but have you tried the latest brew? The latest only has a recommended dependency on x11. Opine has no use for x11 on OSX, so it need not be installed.

depends_on 'pkg-config' => :build
depends_on 'freetype'
depends_on 'fontconfig'
depends_on 'libpng'
depends_on 'pixman'
depends_on 'glib'
depends_on :x11 => :recommended

Only one of the examples use cairo at the moment, so for fun-play you can comment out the cairo dependency.