forked from psychopy/psychopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildingOnAMac.txt
40 lines (24 loc) · 1.06 KB
/
buildingOnAMac.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Building on a mac
=================
Pretty much everything can now be installed with pip. Known exceptions:
- pylink (there is a pylink in pip but it's the wrong one)
- wxPython (4+) is fine assuming you're now on Python3
If something needs compiling and complains about lack of carbon.h then use the script at
https://github.com/devernay/xcodelegacy to update your Xcode configuration
Old tips
~~~~~~~~~~~
There used to be a problem with lxml and it had to be compiled like this:
STATIC_DEPS=true easy_install -Z lxml
If you get build errors trying to easy_install::
cc1: error: unrecognized command line option "-Wno-long-double"
edit the file lib/python2.5/config/Makefile and remove that
flag from the BASECFLAGS. Also in this file set::
MACOSX_DEPLOYMENT_TARGET=10.5 and CC=gcc-4.0 ?
compiled libs
~~~~~~~~~~~~~~~~~~
#hdf5 (needed for pytables or you get errors about symbols not found)
cd hdf5-1.8.9
CFLAGS='-arch i386' LDFLAGS='-arch i386' ./configure --prefix=/usr/local/ make
sudo make install
#ioHub also requires
# greenlet, gevent, msgpack-python, pyYAML