dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #05106
Re: SyFi make install
You should post this to syfi-dev.
Anyway, your swig installation is fairly old, two years. I have actually
never tried SyFi with anything this old. I suggest that you upgrade
swig. Please tell me if you run into the same kind of troubles then.
Kent
ons, 06.06.2007 kl. 13.52 +0100, skrev pcorreia@xxxxxxxxx:
> When installing SyFi I get:
>
> ...
> copying SFC/integral.py -> build/lib.linux-i686-2.4/SFC
> running build_ext
> building '_SyFi' extension
> i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC -I.
> -I../syfi -I/home/pcorreia/local/include -I/usr/include/python2.4 -c
> SyFi_wrap.cxx -o build/temp.linux-i686-2.4/SyFi_wrap.o
> SyFi_wrap.cxx: In function 'const char* swig::type_name() [with Type = int]':
> SyFi_wrap.cxx:1922: instantiated from 'static swig_type_info*
> swig::traits_info<Type>::type_info() [with Type = int]'
> SyFi_wrap.cxx:1929: instantiated from 'swig_type_info* swig::type_info()
> [with Type = int]'
> SyFi_wrap.cxx:1963: instantiated from 'static PyObject*
> swig::traits_from_ptr<Type>::from(Type*, int) [with Type = int]'
> SyFi_wrap.cxx:1969: instantiated from 'static PyObject*
> swig::traits_from<Type>::from(const Type&) [with Type = int]'
> SyFi_wrap.cxx:1981: instantiated from 'PyObject* swig::from(const Type&)
> [with Type = int]'
> SyFi_wrap.cxx:2938: instantiated from here
> SyFi_wrap.cxx:1912: error: 'type_name' is not a member of 'swig::traits<int>'
> error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
> make[2]: *** [install] Error 1
>
>
> Swig version is:
>
> SWIG Version 1.3.25
> Copyright (c) 1995-1998
> University of Utah and the Regents of the University of California
> Copyright (c) 1998-2005
> University of Chicago
> Compiled with i686-pc-linux-gnu-g++ [i686-pc-linux-gnu]
>
> /Paulo
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
References