Boost worked fine for me...I failed at a different point...everything this 
compiled just fine but then summarily shut down...any clues?

-----------------------

[swig] Building swig/biszbonsd5jn, follow log with:
[swig]   tail -f /Users/clasajacobson/.hashdist/tmp/swig-biszbonsd5jn/build.log
[ffc] Building ffc/hai4csumhzor, follow log with:
[ffc]   tail -f /Users/clasajacobson/.hashdist/tmp/ffc-hai4csumhzor/build.log
[ffc|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero 
exit status 1
[ffc|ERROR] command failed (code=1); raising
Class-MacBook-Pro:~ clasajacobson$

Clas A. Jacobson
Chief Scientist
United Technologies Systems & Controls Engineering
[email protected] 
860.610.7652 (office)
860.830.4151 (mobile)


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jan Blechta
Sent: Sunday, December 07, 2014 6:01 PM
To: Steffen Wittek
Cc: [email protected]
Subject: [External] Re: [FEniCS-support] dolfin succesfully compiled, but 
import in python creates errors

On Sun, 07 Dec 2014 20:18:43 +0100
Steffen Wittek <[email protected]> wrote:

> Hi Jan,
> 
> thx. Unfortunately what I after that realized is that I had some 
> problems with the boost-libraries in the first place. Thats why the 
> errors popped up. Do you have anything to comment on:
> [...]
> I got everything to compile finally, but an import of dolfin produces 
> the error
> ImportError: /home/phoenix/Work/FEniCS/lib/libdolfin.so.1.4:
> undefined symbol: _ZN5boost6thread4joinEv
> 
> As brought up before this is due to the boost-package that is mengled 
> up and that I didn't compile before properly. A compilation of the 
> latter stopped with another error however. I guess that after that fix 
> I recompile dolfin one last time and then I am good to go. The 
> ..Work/FEniCS/src/boost_1_55_0/dorsal_build.log ends with ...failed 
> updating 45 targets...
> ...skipped 50 targets...
> ...updated 564 targets...
> 
> and can be seen in full glory here: 
> https://www.dropbox.com/s/529m6pb4ygcsxxv/dorsal_build.log?dl=0

I really don't know. Maybe you could ask Boost support about the errors 
compiler reports.

Jan

> [...]
> 
> 
> On 12/06/14 18:02, Jan Blechta wrote:
> > On Fri, 05 Dec 2014 16:02:03 +0100
> > Steffen Wittek <[email protected]> wrote:
> >
> >> I succesfully compiled dolfin, but now when I try to import the 
> >> module in python I get yet another error message:
> >>
> >> Python 2.7.8 (default, Sep 24 2014, 18:26:21) [GCC 4.9.1 20140903 
> >> (prerelease)] on linux2 Type "help", "copyright", "credits" or 
> >> "license" for more information.
> >>   >>> import dolfin
> >> Traceback (most recent call last):
> >>     File "<stdin>", line 1, in <module>
> >>     File
> >> "/home/phoenix/Work/FEniCS/lib/python2.7/site-packages/dolfin/__ini
> >> t__.py",
> >> line 16, in <module>
> >>       from . import cpp
> >>     File
> >> "/home/phoenix/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/_
> >> _init__.py",
> >> line 42, in <module>
> >>       exec("from . import %s" % module_name)
> >>     File "<string>", line 1, in <module>
> >>     File
> >> "/home/phoenix/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/c
> >> ommon.py",
> >> line 32, in <module>
> >>       _common = swig_import_helper()
> >>     File
> >> "/home/phoenix/Work/FEniCS/lib/python2.7/site-packages/dolfin/cpp/c
> >> ommon.py",
> >> line 28, in swig_import_helper
> >>       _mod = imp.load_module('_common', fp, pathname, description)
> >> ImportError: /home/phoenix/Work/FEniCS/lib/libdolfin.so.1.4:
> >> undefined symbol: _ZN5boost6thread4joinEv
> >>
> >> does the boost in the last line refer to the boost libraries? If 
> >> yes how do I set the paths correctly s.t. dolfin sees them?
> > Following
> >
> >    $ ldd fenics/lib/libdolfin.so | grep -i boost
> >
> > must report correct libraries you used for compiling. ldd searches 
> > in LD_LIBRARY_PATH. This is set in fenics.conf generated by Dorsal.
> >
> > Jan
> >
> >> Steffen
> >> _______________________________________________
> >> 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

_______________________________________________
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

Reply via email to