Hello all,
When building Python-3.4.1-intel-2014b.eb, we got this error at the step for
matplotlib:
== 2014-10-28 11:58:55,646 main.filetools INFO Creating directory
/apps/antwerpen/easybuild/build/Python/3.4.1/intel-2014a/matplotlib (parents:
True, set_gid: False, sticky: False)
== 2014-10-28 11:58:57,505 main.run ERROR EasyBuild crashed with an error (at
easybuild/tools/run.py:382 in parse_cmd_output): cmd "python setup.py build "
exited with exitcode 1 and output:
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.3.1]
python: yes [3.4.1 (default, Oct 28 2014, 11:45:07) [GCC
Intel(R) C++ gcc 4.4 mode]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.8.1]
dateutil: yes [using dateutil version 2.2]
tornado: yes [tornado was not found. It is required for the
WebAgg backend. pip/easy_install may attempt to
install it after matplotlib.]
pyparsing: yes [using pyparsing version 2.0.2]
pycxx: yes [Official versions of PyCXX are not compatible
with Python 3.x. Using local copy]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: no [pkg-config information for 'freetype2' could
not be found.]
png: yes [pkg-config information for 'libpng' could not
be found. Using unknown version.]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [using nose version 1.3.3]
OPTIONAL BACKEND EXTENSIONS
macosx: no [Mac OS-X only]
qt4agg: no [PyQt4 not found]
gtk3agg: no [gtk3agg backend does not work on Python 3]
gtk3cairo: no [Requires cairo to be installed.]
gtkagg: no [Requires pygtk]
tkagg: no [TKAgg requires Tkinter.]
wxagg: no [requires wxPython]
gtk: no [Requires pygtk]
agg: yes [installing]
cairo: no [cairo not found]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: no
ghostscript: no
latex: no
pdftops: no
============================================================================
* The following required packages can not be built:
* freetype
== 2014-10-28 11:58:57,505 main.easyblock.<module> WARNING build failed (first
300 chars): EasyBuild crashed with an error (at easybuild/tools/run.py:382 in
parse_cmd_output): cmd "python setup.py build " exited with exitcode 1 and
output:
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
== 2014-10-28 11:58:57,506 main.EB_Python INFO Closing log for application name
Python version 3.4.1
It is complaining about freetype, but we have it installed on our system as an
rpm. Likewise, it does not find libpng. Actually, we needed freetype-devel as
well as libpng-devel to get the build do work...
However, mentioning both as osdependencies did not stop the build from
starting, so it seems to just ignore the osdependencies. Is this as intended or
what is wrong here?
That said: should we have freetype-devel and libpng-devel as rpm on the system,
or should we have them as modules, preferably built with Easybuild and
mentioned as dependencies (not osdependencies)?
-- Many thanks for your reply,
Franky