File: buildingOnAMac.txt

package info (click to toggle)
psychopy 2020.2.10%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 44,056 kB
  • sloc: python: 119,649; javascript: 3,022; makefile: 148; sh: 125; xml: 9
file content (40 lines) | stat: -rw-r--r-- 1,130 bytes parent folder | download | duplicates (2)
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
40
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