List Info

Thread: PythonMagick mia




PythonMagick mia
user name
2006-08-25 19:08:12
Where I can find "the PythonMagick distribution"
?

http://www.p
ython.net/crew/zack/pymagick says 
ftp://ftp.lems.brown.edu/pub/turtles/magick/pymagick-0.1a7.t
ar.gz
which isn't there.

The tar would be great, a .deb would be fantastic.

Carl K
_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
PythonMagick mia
user name
2006-08-25 19:44:17
Carl Karsten wrote:
 > Where I can find "the PythonMagick
distribution" ?

found it:

PythonMagick an object-oriented Python interface to
ImageMagick.
http://ww
w.imagemagick.org/download/python/

Can someone explain how I 'install' it?

~/temp/PythonMagick/PythonMagick/__init__.py

I think I just mv the whole dir somewhere?

Carl K


_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
PythonMagick mia
user name
2006-08-25 23:37:21
Carl Karsten wrote:
 > "PythonMagick an object-oriented Python
interface to ImageMagick."
 > http://ww
w.imagemagick.org/download/python/
 >
 > carlamd15:~/temp$ tar -xzvf PythonMagick-0.6.tar.gz

http://dev.personnelware.com/carl/temp/Aug25/a/Pytho
nMagick/

one fo the files is:
SConstruct

from h
ttp://www.scons.org/doc/HTML/scons-user/book1.html

"SCons is a next-generation software construction
tool, or make tool--that is, a 
software utility for building software (or other files) and
keeping built 
software up-to-date whenever the underlying input files
change."

$ sudo apt-get install scons libboost-python-dev
libmagick++9-dev

now scons is building away...  then errors.  the key line
seems to be:

/usr/include/boost/python/converter/registered.hpp:88:
error: no matching 
function for call to 'registry_lookup(const volatile void
(*)())'

here is the whole thing:

carlvaio:~/temp/PythonMagick$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -fPIC -DBOOST_PYTHON_STATIC_LIB -O2
-I/usr/local/include/boost-1_32 
-I/usr/include/python2.4 -I/usr/include -c -o 
pythonmagick_src/_DrawableFillRule.os
pythonmagick_src/_DrawableFillRule.cpp
g++ -fPIC -DBOOST_PYTHON_STATIC_LIB -O2
-I/usr/local/include/boost-1_32 
-I/usr/include/python2.4 -I/usr/include -c -o
pythonmagick_src/_PathMovetoAbs.os 
pythonmagick_src/_PathMovetoAbs.cpp
g++ -fPIC -DBOOST_PYTHON_STATIC_LIB -O2
-I/usr/local/include/boost-1_32 
-I/usr/include/python2.4 -I/usr/include -c -o
pythonmagick_src/_DrawableText.os 
pythonmagick_src/_DrawableText.cpp
g++ -fPIC -DBOOST_PYTHON_STATIC_LIB -O2
-I/usr/local/include/boost-1_32 
-I/usr/include/python2.4 -I/usr/include -c -o
pythonmagick_src/_Blob.os 
pythonmagick_src/_Blob.cpp
/usr/include/boost/python/converter/registered.hpp: In
instantiation of 'const 
boost::python::converter::registration& 
boost::python::converter::detail::registered_base<const
volatile void>::converters':
/usr/include/boost/python/converter/arg_from_python.hpp:269:
  instantiated from 
'boost::python::converter::pointer_arg_from_python<T>
::pointer_arg_from_python(PyObject*) 
[with T = void*]'
/usr/include/boost/python/arg_from_python.hpp:70:  
instantiated from 
'boost::python::arg_from_python<T>::arg_from_python(P
yObject*) [with T = void*]'
/usr/include/boost/preprocessor/iteration/detail/local.hpp:3
7:   instantiated 
from 'PyObject*
boost::python::detail::caller_arity<3u>::impl<F,
Policies, 
Sig>::operator()(PyObject*, PyObject*) [with F = void
(*)(Magick::Blob&, void*, 
unsigned int), Policies =
boost::python::default_call_policies, Sig = 
boost::mpl::vector4<void, Magick::Blob&, void*,
unsigned int>]'
/usr/include/boost/python/object/py_function.hpp:38:  
instantiated from 
'PyObject* 
boost::python::objects::caller_py_function_impl<Caller>
;::operator()(PyObject*, 
PyObject*) [with Caller =
boost::python::detail::caller<void (*)(Magick::Blob&,

void*, unsigned int), boost::python::default_call_policies, 
boost::mpl::vector4<void, Magick::Blob&, void*,
unsigned int> >]'
pythonmagick_src/_Blob.cpp:43:   instantiated from here
/usr/include/boost/python/converter/registered.hpp:88:
error: no matching 
function for call to 'registry_lookup(const volatile void
(*)())'
scons: *** [pythonmagick_src/_Blob.os] Error 1
scons: building terminated because of errors.

Anyone have a clue?

Carl K

_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )