sbonaime / seedlink_plotter

Seedlink_plotter A python script to plot real time seismic data from a seedlink server
GNU Lesser General Public License v3.0
36 stars 18 forks source link

pip install, matplotlib and Macos #10

Closed sbonaime closed 10 years ago

sbonaime commented 10 years ago

I had problems using pip to install seedlink_plotter on my mac. pip install https://github.com/bonaime/seedlink_plotter/archive/master.zip The error was during the matplotlib compilation.

usr/X11/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory

I solved this issue by exporting two variables before doing the pip install:

export LDFLAGS="-L/usr/X11/lib"
export CFLAGS="-I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng12"