LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   can not install python-magick? (http://www.linuxquestions.org/questions/slackware-14/can-not-install-python-magick-4175461494/)

mshlinux 05-10-2013 11:16 PM

can not install python-magick?
 
I am trying to install to python-magick.
I installed python-magick from SlackBuilds using "sbopkg -i python-magick".
at the end of process, I got the message below
Quote:

In file included from /usr/include/boost/python/detail/prefix.hpp:13:0,
from /usr/include/boost/python/args.hpp:8,
from /usr/include/boost/python.hpp:11,
from _DrawableFillRule.cpp:3:
/usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
compilation terminated.
make[1]: *** [libpymagick_la-_DrawableFillRule.lo] Error 1
make[1]: Leaving directory `/tmp/SBo/PythonMagick-0.9.8/pythonmagick_src'
make: *** [all-recursive] Error 1

python-magick:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
and also I manually downloaded python-magick from this page below
then when I tried to install it using "src2pkg -I pythonmagick-0.9.8.tar.gz", I got this message
Quote:

Compiling sources - Using: 'make'
ERROR! Compiling source code has failed.
This usually happens because of missing libraries, or
badly written Makefiles or configure scripts.
Sorry! No Dependency or Requirements information found.
I think it is not because of badly written Makefiles or configure scripts because I have tried many times for download and install from that page.

so, What do I need to install PythonMagick.
Please...
I would appreciate your response.

ponce 05-11-2013 02:01 AM

try this script: I'll submit this new version to SBo if it's ok for you

http://ponce.cc/slackware/testing/python-magick/

mshlinux 05-11-2013 04:17 AM

ohhh! sorry,
I am new one.
I don't know how to do with the script you mention.

anyway thank u...

ponce 05-11-2013 04:24 AM

download the files
Code:

lftp -c mirror http://ponce.cc/slackware/testing/python-magick/
then follow the instructions
http://slackbuilds.org/howto/

mshlinux 05-11-2013 08:32 PM

sorry for my long delay.
I was busy and away from computer.

just now, I have compiled and installed PythonMagick using your SlackBuild script.
it was done without any error message and PythonMagick is also listed in pkgtool's installed packages list.
so, let's say, it is OK for me. thank you!

but I still have a issue with it.
actually, I wanted to install PythonMagick because my FFmulticonverter is showing that
"Missing Dependencies: PythonMagick" at the bottom of its window.

it is still showing that even after I successfully installed PythonMagick.

FFmulticonverter was manually downloaded and installed. it is working well to convert movie and audio files.
but I haven't tested yet to convert between picture formats.

ponce 05-12-2013 03:45 AM

I had a look for curiosity at it and used it to convert an image (using the latest version of the python-magick build script, you can find in the same directory, I changed it a little) but, if I can express an opinion, that converter seems to me a little unusable:
- it depends on an old version of ffmpeg, its presets has a syntax not recognized by recent ffmpegs (0.10.x or 0.11.x, the one available on SlackBuilds.org);
- unoconv, that it uses to convert documents, it's a mess and spits many syntax errors.

so here seems only image conversions work :)

mshlinux 05-12-2013 07:48 AM

not only image convertion work, but also learning :-)
thank you...


All times are GMT -5. The time now is 08:37 PM.