Building on Mac OS X

17 views
Skip to first unread message

Tico Ballagas

unread,
Apr 27, 2010, 5:09:13 AM4/27/10
to firtre...@googlegroups.com
Hi-

I saw the firtree demos videos on youtube and am excited about trying it out.  I downloaded the latest release package:

I tried to follow the instructions for INSTALL-OSX.txt, but didn't get very far.

I managed to get llvm, glib2, and cmake from the macports project.  llvm-gcc came with an upgrade of xcode (v3.2.2).  I had to download and compile styx from source, but that seemed to work fine.  I still had the following issues building:

$ cmake .
-- Generating grammar from Styx source firtree.sty.
-- checking for module 'cairo'
--   found cairo, version 1.8.10
-- checking for module 'clutter-1.0'
--   found clutter-1.0, version 1.0.10
-- checking for module 'pyclutter-1.0'
--   package 'pyclutter-1.0' not found
CMake Error at /opt/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:259 (message):
  A required package was not found
Call Stack (most recent call first):
  /opt/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:311 (_pkg_check_modules_internal)
  bindings/python/CMakeLists.txt:25 (pkg_check_modules)


-- checking for module 'pycairo'
--   package 'pycairo' not found
CMake Error at /opt/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:259 (message):
  A required package was not found
Call Stack (most recent call first):
  /opt/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:311 (_pkg_check_modules_internal)
  bindings/python/CMakeLists.txt:29 (pkg_check_modules)


-- configured /Users/user/Downloads/firtree-0.2.1/doc/internal/doxy.config.in --> /Users/user/Downloads/firtree-0.2.1/doc/internal/doxy.config
-- Could not find valgrind, memory testing disabled.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLIB_INCLUDE_DIRS
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/common
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/llvm-frontend
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/llvm-frontend/styx-parser
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/tools
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/firtree
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/firtree/engines
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/firtree/engines/cpu
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/bindings
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/bindings/python
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/doc
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/doc/internal
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/doc/public
   used as include directory in directory /Users/user/Downloads/firtree-0.2.1/testing

-- Configuring incomplete, errors occurred!

++++++++++++++++++++++++++++++++++++++++++++++

Any ideas how to resolve these issues?  I'm not sure what to set the GLIB_INCLUDE_DIRS to...

Below is some information that may be relevant:

$ port installed cmake
The following ports are currently installed:
  cmake @2.8.0_0
  cmake @2.8.1_2 (active)

$ port installed glib2
The following ports are currently installed:
  glib2 @2.22.4_0+darwin
  glib2 @2.22.5_0+darwin

$ port installed glib2-devel
The following ports are currently installed:
  glib2-devel @2.23.5_0+darwin (active)

$ port installed py26-cairo
The following ports are currently installed:
  py26-cairo @1.8.8_0 (active)

$ port installed py26-pyclutter
The following ports are currently installed:
  py26-pyclutter @0.9.2_0 (active)

$ which python
/opt/local/bin/python

$ python_select -s
python26

--
You received this message because you are subscribed to the Google Groups "Firtree Development List" group.
To post to this group, send email to firtre...@googlegroups.com.
To unsubscribe from this group, send email to firtree-deve...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/firtree-devel?hl=en.
Reply all
Reply to author
Forward
0 new messages