Hi, I had FEniCS working on Cygwin earlier this year using HashDist. I didn't use the fenics-install.sh script, but it is basically the same.
The problem you have with matplotlib looks like a patch that cannot be applied to the version of matplotlib currently in hashstack. This is a bug and I will report it. To build without matplotlib, you can do the following: git clone https://bitbucket.org/fenics-project/fenics-developer-tools.git cd fenics-developer-tools cp install/profiles/fenics.Cygwin.yaml local.yaml Open local.yaml in your favorite editor and remove matplotlib and anything else you don't need. Finally, run: ./install/fenics-install.sh local.yaml Note that the profile (fenics.Cygwin.yaml) assumes that you have at least cmake, blas, lapack, swig, pkg-config, opengl headers and gcc already installed with Cygwin (I don't have the complete list unfortunately). Johannes On Mon, Jul 13, 2015 at 12:21 PM Jing-Rebecca Li <[email protected]> wrote: > Hello, I am trying to install fenics on cygwin 64bit running on Window 7. > I just downloaded cygwin last week so I think all the packages are up to > date (gcc, etc). > > I tried out the script > > wget -O - http://fenicsproject.org/fenics-install.sh | bash > > and it was successful in installing a lot of components of fenics, ffc (I > needed to add swig to cygwin), vkt (I needed to add opengl, etc), but I am > stuck on matplotlib. Below is the build.log. By the way, is it possible > to provide only the core components of fenics in a build, without all the > visualization? I just would like to solve the PDE and save the solution > so I'd like to avoid installing anything extra. > > Thank you in advance for your help. I've already gotten much further with > installing fenics on cygwin with this new script than all my previous > attempts of the past years! Sincerely, Jing-Rebecca Li > > 2015/07/12 08:26:59 - INFO: [package:run_job] running [u'/bin/bash', > '_hashdist/build.sh'] > 2015/07/12 08:26:59 - INFO: [package:run_job] environment: > 2015/07/12 08:26:59 - INFO: [package:run_job] {'ARTIFACT': u' > */home/Jing/*.hashdist/bld/matplotlib/ayvuahxambp7', > 2015/07/12 08:26:59 - INFO: [package:run_job] 'BASH': u'/bin/bash', > 2015/07/12 08:26:59 - INFO: [package:run_job] 'BUILD': > u'*/home/Jing/*.hashdist/tmp/matplotlib-ayvuahxambp7-4', > > 2015/07/12 08:26:59 - INFO: [package:run_job] u'BZIP2_DIR': u' > */home/Jing/*.hashdist/bld/bzip2/bxiszvx5g3ps', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'BZIP2_ID': > u'bzip2/bxiszvx5g3psquw42azpe3q3odi4gkl7', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'FREETYPE_DIR': u' > */home/Jing/*.hashdist/bld/freetype/dg2tfjnamcnz', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'FREETYPE_ID': > u'freetype/dg2tfjnamcnzfcy2jkkzlmuyjoeyh4j3', > 2015/07/12 08:26:59 - INFO: [package:run_job] 'HASHDIST_CPU_COUNT': '4', > 2015/07/12 08:26:59 - INFO: [package:run_job] 'HDIST_CONFIG': > '{"gc_roots":"*/home/Jing/*.hashdist/gcroots","build_stores":[{"dir":" > */home/Jing/*.hashdist/bld"}],"source_caches":[{"dir":"*/home/Jing/* > .hashdist/src"}],"cache":"*/home/Jing/*.hashdist/cache","build_temp":" > */home/Jing/*.hashdist/tmp"}', > 2015/07/12 08:26:59 - INFO: [package:run_job] 'HDIST_IMPORT': > u'bzip2/bxiszvx5g3psquw42azpe3q3odi4gkl7 > freetype/dg2tfjnamcnzfcy2jkkzlmuyjoeyh4j3 > numpy/nzwmnt25foajpcv665tqebacyoxem6vw > pkg-config/satmw7zew7c2iuseoajzctg57hgubgjb > png/nhgc5kurctteaj6b3z7ajjrzlgtueo4l > python/qlvjlzdbishmango7jzlj5b2nnx7qr7q > setuptools/v3ljecso2k6ln5omin6zxb5326v3cug5 > zlib/5oalmcorn2mrgjvqsdqij2g2t3eo4hro', > 2015/07/12 08:26:59 - INFO: [package:run_job] 'HDIST_IMPORT_PATHS': u' > */home/Jing/*.hashdist/bld/bzip2/bxiszvx5g3ps:*/home/Jing/* > .hashdist/bld/freetype/dg2tfjnamcnz:*/home/Jing/* > .hashdist/bld/numpy/nzwmnt25foaj:*/home/Jing/* > .hashdist/bld/pkg-config/satmw7zew7c2:*/home/Jing/* > .hashdist/bld/png/nhgc5kurctte:*/home/Jing/* > .hashdist/bld/python/qlvjlzdbishm:*/home/Jing/* > .hashdist/bld/setuptools/v3ljecso2k6l:*/home/Jing/*.hashdist/bld/zlib/5oalmcorn2mr', > > 2015/07/12 08:26:59 - INFO: [package:run_job] 'HDIST_VIRTUALS': '', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'NUMPY_DIR': u' > */home/Jing/*.hashdist/bld/numpy/nzwmnt25foaj', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'NUMPY_ID': > u'numpy/nzwmnt25foajpcv665tqebacyoxem6vw', > 2015/07/12 08:26:59 - INFO: [package:run_job] 'PATH': > u'*/home/Jing/*.hashdist/bld/freetype/dg2tfjnamcnz/bin:/usr/bin:/bin', > > 2015/07/12 08:26:59 - INFO: [package:run_job] u'PKG_CONFIG_DIR': u' > */home/Jing/*.hashdist/bld/pkg-config/satmw7zew7c2', > 2015/07/12 08:26:59 - INFO: [package:run_job] 'PKG_CONFIG_EXECUTABLE': > u'/usr/bin/pkgconfig', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'PKG_CONFIG_ID': > u'pkg-config/satmw7zew7c2iuseoajzctg57hgubgjb', > 2015/07/12 08:26:59 - INFO: [package:run_job] 'PKG_CONFIG_PATH': u' > */home/Jing/*.hashdist/bld/png/nhgc5kurctte/lib/pkgconfig:*/home/Jing/*.hashdist/bld/freetype/dg2tfjnamcnz/lib/pkgconfig', > > 2015/07/12 08:26:59 - INFO: [package:run_job] u'PNG_DIR': u' > */home/Jing/*.hashdist/bld/png/nhgc5kurctte', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'PNG_ID': > u'png/nhgc5kurctteaj6b3z7ajjrzlgtueo4l', > 2015/07/12 08:26:59 - INFO: [package:run_job] 'PWD': > u'*/home/Jing/*.hashdist/tmp/matplotlib-ayvuahxambp7-4', > > 2015/07/12 08:26:59 - INFO: [package:run_job] 'PYTHON': > u'*/home/Jing/*.hashdist/bld/python/qlvjlzdbishm/bin/python', > > 2015/07/12 08:26:59 - INFO: [package:run_job] 'PYTHONPATH': u' > */home/Jing/* > .hashdist/bld/setuptools/v3ljecso2k6l/lib/python2.7/site-packages: > */home/Jing/*.hashdist/bld/numpy/nzwmnt25foaj/lib/python2.7/site-packages', > > 2015/07/12 08:26:59 - INFO: [package:run_job] u'PYTHON_DIR': u' > */home/Jing/*.hashdist/bld/python/qlvjlzdbishm', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'PYTHON_ID': > u'python/qlvjlzdbishmango7jzlj5b2nnx7qr7q', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'SETUPTOOLS_DIR': u' > */home/Jing/*.hashdist/bld/setuptools/v3ljecso2k6l', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'SETUPTOOLS_ID': > u'setuptools/v3ljecso2k6ln5omin6zxb5326v3cug5', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'ZLIB_DIR': u' > */home/Jing/*.hashdist/bld/zlib/5oalmcorn2mr', > 2015/07/12 08:26:59 - INFO: [package:run_job] u'ZLIB_ID': > u'zlib/5oalmcorn2mrgjvqsdqij2g2t3eo4hro'} > 2015/07/12 08:26:59 - INFO: [package:run_job] patching file > lib/matplotlib/tri/_tri.cpp > 2015/07/12 08:26:59 - INFO: [package:run_job] Reversed (or previously > applied) patch detected! Assume -R? [n] > 2015/07/12 08:26:59 - INFO: [package:run_job] Apply anyway? [n] > 2015/07/12 08:26:59 - INFO: [package:run_job] Skipping patch. > 2015/07/12 08:26:59 - INFO: [package:run_job] 1 out of 1 hunk ignored -- > saving rejects to file lib/matplotlib/tri/_tri.cpp.rej > 2015/07/12 08:26:59 - INFO: [package:run_job] patching file > lib/matplotlib/tri/_tri.h > 2015/07/12 08:26:59 - INFO: [package:run_job] Reversed (or previously > applied) patch detected! Assume -R? [n] > 2015/07/12 08:26:59 - INFO: [package:run_job] Apply anyway? [n] > 2015/07/12 08:26:59 - INFO: [package:run_job] Skipping patch. > 2015/07/12 08:26:59 - INFO: [package:run_job] 1 out of 1 hunk ignored -- > saving rejects to file lib/matplotlib/tri/_tri.h.rej > 2015/07/12 08:26:59 - ERROR: [package:run_job] Command '[u'/bin/bash', > '_hashdist/build.sh']' returned non-zero exit status 1 > 2015/07/12 08:26:59 - ERROR: [package:run_job] command failed (code=1); > raising > > -- > Jing-Rebecca Li > Research Scientist > INRIA Saclay-Equipe DEFI > CMAP, Ecole Polytechnique > Route de Saclay, 91128, Palaiseau Cedex, France > +33-(0)[email protected]http://www.cmap.polytechnique.fr/~jingrebeccali/ > > _______________________________________________ > fenics-support mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics-support >
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
