← Back to team overview

dolfin team mailing list archive

Re: Debian/Ubuntu Repositories

 

Lorenzo Isella wrote:
Ok, so it should all boil down to waiting a few days (hopefully).
I think I will follow this waiting policy, hoping that in the
meanwhile the python 2.4 vs 2.5 issue gets sorted out.
I understand this must be a pain for the maintainers of dolfin!
Cheers

Lorenzo

Hello,

It now seems the pure python modules are picked up by both the default python (2.4) and python 2.5 on my debian/sid/amd64 box.

A big thanks to Asmund.

Since dolfin is only built for i386, I tried building it from source with

dpkg-buildpackage -rfakeroot -us -uc

and got this far with the error:

error: ‘dolfin::LogStream& dolfin::operator<<(dolfin::LogSt
ream&, const dolfin::uBlasVector&)’ should have been declared inside ‘dolfin’

Am excerpt of the log:
<error>
...

x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\" -DP ACKAGE_VERSION=\"0.7.1\" "-DPACKAGE_STRING=\"DOLFIN 0.7.1\"" -DPACKAGE_BUGREPORT =\"http://www.fenics.org/bugzilla/\"; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAV E_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRI NGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BOOST= -I. -I../../../src/kernel/common -I../../../src/kernel/elements - I../../../src/kernel/fem -I../../../src/kernel/function -I../../../src/kernel/gr aph -I../../../src/kernel/io -I../../../src/kernel/la -I../../../src/kernel/main -I../../../src/kernel/math -I../../../src/kernel/mesh -I../../../src/kernel/mf -I../../../src/kernel/nls -I../../../src/kernel/ode -I../../../src/kernel/pde -I ../../../src/kernel/quadrature -I../../../src/kernel/parameter -I../../../src/ke rnel/log -I../../../src/kernel/plot -I/usr/include -I/usr/include/libxml2 -I/usr /include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/st/00work/fenics/deb/de b-src/u/ufc-1.0/debian/ufc/usr/include -I/usr/include/python2.4 -I/usr/lib/pytho n2.4/site-packages/numpy/core/include -g -O2 -DNDEBUG -pedantic -ansi -Wno-long- long -std=c++98 -fPIC -MT uBlasVector.lo -MD -MP -MF .deps/uBlasVector.Tpo -c uB
lasVector.cpp  -fPIC -DPIC -o .libs/uBlasVector.o
uBlasVector.cpp:172: error: ‘dolfin::LogStream& dolfin::operator<<(dolfin::LogSt ream&, const dolfin::uBlasVector&)’ should have been declared inside ‘dolfin’
make[5]: *** [uBlasVector.lo] Error 1
...
</error>

System information:
kernel: 2.6.22-2-amd64
compiler: gcc 4.2.1

I don't know whether it's a compiler (version) problem or a (64-bit) library problem.

Regards,
ST
--


Follow ups

References