Thread Previous • Date Previous • Date Next • Thread Next |
> Which version of SWIG do you have, SWIG 1.3.29-2.1 and are you using the current > version from the hg repository of DOLFIN? Yes I just built PyDOLFIN with > no problems. > > /Anders > > > > On Wed, May 30, 2007 at 03:13:31PM +0100, pcorreia@xxxxxxxxx wrote: > >> It gives the same result. In fact I had already done it... >> >> Paulo >> >> > Try >> > >> > `touch src/pydolfin/dolfin.i` >> > >> > and compile again. >> > >> > Garth >> > >> > pcorreia@xxxxxxxxx wrote: >> >> Hi all >> >> >> >> When compiling dolfin I find the following error: >> >> >> >> make[3]: Entering directory >> `/home/paulo/hg_clone/dolfin/src/pydolfin' >> >> if /bin/sh ../../libtool --tag=CXX --mode=compile mpicxx >> >> -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\" >> >> -DPACKAGE_VERSION=\"0.6.4-dev\" -DPACKAGE_STRING=\"DOLFIN\ >> 0.6.4-dev\" >> >> -DPACKAGE_BUGREPORT=\"http://www.fenics.org/bugzilla/\" >> -DSTDC_HEADERS=1 >> >> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 >> >> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 >> >> -DHAVE_INTTYPES_H=1 >> >> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BOOST= >> -I. >> >> -I. >> >> -I/usr/include/python2.4 -I../../src/kernel/common >> >> -I../../src/kernel/elements -I../../src/kernel/fem >> >> -I../../src/kernel/function -I../../src/kernel/graph >> >> -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/kernel/log -I../../src/kernel/plot >> >> -I/home/paulo/libmesh/contrib/petsc-2.3.2-p10/bmake/linux >> >> -I/home/paulo/libmesh/contrib/petsc-2.3.2-p10/include >> >> -I/usr/lib/mpich/include -I/usr/include -I/usr/include/libxml2 >> >> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include >> >> -I../../src/pydolfin -I/usr/include/python2.4 >> >> -I/usr/lib/python2.4/site-packages/numpy/core/include >> -DHAVE_PETSC_H=1 >> >> -DNDEBUG -g -O2 -fno-strict-aliasing -Wall -Werror -ansi -MT >> >> _dolfin_la-dolfin_wrap.lo -MD -MP -MF >> ".deps/_dolfin_la-dolfin_wrap.Tpo" >> >> -c -o _dolfin_la-dolfin_wrap.lo `test -f 'dolfin_wrap.cpp' || echo >> >> './'`dolfin_wrap.cpp; \ >> >> then mv -f ".deps/_dolfin_la-dolfin_wrap.Tpo" >> >> ".deps/_dolfin_la-dolfin_wrap.Plo"; else rm -f >> >> ".deps/_dolfin_la-dolfin_wrap.Tpo"; exit 1; fi >> >> mpicxx -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\" >> >> -DPACKAGE_VERSION=\"0.6.4-dev\" "-DPACKAGE_STRING=\"DOLFIN >> 0.6.4-dev\"" >> >> -DPACKAGE_BUGREPORT=\"http://www.fenics.org/bugzilla/\" >> -DSTDC_HEADERS=1 >> >> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 >> >> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 >> >> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 >> -DHAVE_DLFCN_H=1 >> >> -DHAVE_BOOST= -I. -I. -I/usr/include/python2.4 >> -I../../src/kernel/common >> >> -I../../src/kernel/elements -I../../src/kernel/fem >> >> -I../../src/kernel/function -I../../src/kernel/graph >> >> -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/kernel/log -I../../src/kernel/plot >> >> -I/home/paulo/libmesh/contrib/petsc-2.3.2-p10/bmake/linux >> >> -I/home/paulo/libmesh/contrib/petsc-2.3.2-p10/include >> >> -I/usr/lib/mpich/include -I/usr/include -I/usr/include/libxml2 >> >> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include >> -I../../src/pydolfin >> >> -I/usr/include/python2.4 >> >> -I/usr/lib/python2.4/site-packages/numpy/core/include >> -DHAVE_PETSC_H=1 >> >> -DNDEBUG -g -O2 -fno-strict-aliasing -Wall -Werror -ansi -MT >> >> _dolfin_la-dolfin_wrap.lo -MD -MP -MF >> .deps/_dolfin_la-dolfin_wrap.Tpo >> >> -c >> >> dolfin_wrap.cpp -fPIC -DPIC -o .libs/_dolfin_la-dolfin_wrap.o >> >> dolfin_wrap.cpp:391: warning: `int SWIG_TypeCompare(const char*, >> const >> >> char*)' >> >> defined but not used >> >> dolfin_wrap.cpp:438: warning: `swig_cast_info* >> >> SWIG_TypeCheckStruct(swig_type_info*, swig_type_info*)' defined >> but >> >> not >> >> used >> >> dolfin_wrap.cpp:454: warning: `swig_type_info* >> >> SWIG_TypeDynamicCast(swig_type_info*, void**)' defined but not >> used >> >> dolfin_wrap.cpp:685: warning: `const char* SWIG_UnpackDataName(const >> >> char*, >> >> void*, unsigned int, const char*)' defined but not used >> >> dolfin_wrap.cpp:1060: warning: `PyObject* >> >> SWIG_Python_AppendOutput(PyObject*, >> >> PyObject*)' defined but not used >> >> dolfin_wrap.cpp:2045: warning: `int >> >> SWIG_Python_ConvertFunctionPtr(PyObject*, >> >> void**, swig_type_info*)' defined but not used >> >> dolfin_wrap.cpp:2072: warning: `int >> SWIG_Python_ConvertPacked(PyObject*, >> >> void*, >> >> unsigned int, swig_type_info*)' defined but not used >> >> dolfin_wrap.cpp:2180: warning: `PyObject* >> >> SWIG_Python_InitShadowInstance(PyObject*)' defined but not used >> >> dolfin_wrap.cpp:2321: warning: `swig_type_info* >> >> SWIG_Python_TypeQuery(const >> >> char*)' defined but not used >> >> dolfin_wrap.cpp:2433: warning: `void* >> SWIG_Python_MustGetPtr(PyObject*, >> >> swig_type_info*, int, int)' defined but not used >> >> dolfin_wrap.cpp:80942: warning: `void SWIG_PropagateClientData()' >> >> defined but >> >> not used >> >> make[3]: *** [_dolfin_la-dolfin_wrap.lo] Error 1 >> >> make[3]: Leaving directory `/home/paulo/hg_clone/dolfin/src/pydolfin' >> >> make[2]: *** [all] Error 2 >> >> make[2]: Leaving directory `/home/paulo/hg_clone/dolfin/src/pydolfin' >> >> make[1]: *** [all-recursive] Error 1 >> >> make[1]: Leaving directory `/home/paulo/hg_clone/dolfin/src' >> >> make: *** [all-recursive] Error 1 >> >> >> >> I had no problem installing dolfin not from repositories but then I >> >> didn't >> >> have the discontinuous galerkin elements which are the main goal to >> try >> >> dolfin. >> >> Best regards, >> >> Paulo >> >> >> >> _______________________________________________ >> >> DOLFIN-dev mailing list >> >> DOLFIN-dev@xxxxxxxxxx >> >> http://www.fenics.org/mailman/listinfo/dolfin-dev >> >> >> > >> > >> >> >> _______________________________________________ >> DOLFIN-dev mailing list >> DOLFIN-dev@xxxxxxxxxx >> http://www.fenics.org/mailman/listinfo/dolfin-dev > _______________________________________________ > DOLFIN-dev mailing list > DOLFIN-dev@xxxxxxxxxx > http://www.fenics.org/mailman/listinfo/dolfin-dev >
Thread Previous • Date Previous • Date Next • Thread Next |