Hi David,

The problem with the original suggestion of replacing the link to system
python (python3) with a link to python2, is that it has consequences for
everything else on your system that expects python to be a link to
python3.

I have found that it is better to replace all mention of python in the
source with python2, e.g.:

find ${srcdir} -name "*" -type f -exec \
        sed -i 's#\(/usr/bin/env \|/usr/bin/\)python[2-3]*#\1python2#' {} \;

(I haven't tried the fenics-install.sh script yet, by the way.)

Myles

David writes:

> Here is the boost build.log
>
> David
>
> On 06/18/2015 04:24 PM, Johannes Ring wrote:
>> Please send us the build.log as an attachment.
>>
>> Johannes
>>
>> On Thu, Jun 18, 2015 at 9:11 PM David <daj...@riseup.net
>> <mailto:daj...@riseup.net>> wrote:
>>
>>     Hello all,
>>
>>     I'm trying to install FEniCS on ArchLinux 4.0.5 using the
>>     fenics-install.sh script.
>>     I first had some problems as in arch /usr/bin/python links to python3,
>>     but followed the recommendation here
>>     (http://fenicsproject.org/pipermail/fenics/2014-December/002201.html)
>>     and created a temporary python->python2 link in the beginning of
>>     $PATH,
>>     which worked.
>>     However, the installation now fails to compile boost.
>>     The build.log lists many warnings, then:
>>
>>     ERROR: [package:run_job] Command '[u'/bin/bash',
>>     '_hashdist/build.sh']'
>>     returned non-zero exit status 1
>>     ERROR: [package:run_job] command failed (code=1); raising
>>
>>
>>
>>     Any help is very much appreciated :)
>>
>>     Regards,
>>     David
>>
>>
>>
>>
>>     _______________________________________________
>>     fenics mailing list
>>     fenics@fenicsproject.org <mailto:fenics@fenicsproject.org>
>>     http://fenicsproject.org/mailman/listinfo/fenics
>>
>
> _______________________________________________
> fenics mailing list
> fenics@fenicsproject.org
> http://fenicsproject.org/mailman/listinfo/fenics

_______________________________________________
fenics mailing list
fenics@fenicsproject.org
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to