Anil
unread,Oct 10, 2009, 2:25:06 AM10/10/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to imgseek_dev
If any one can help me getting this work for me would be really
helpful.
[root@osiapp1 core]# python2.5 build-python.py build
#################################### Check Python
Checked.
#################################### Check ImageMagick
Found the following arguments:
extra_compile_args ['-O3', '-DLinuxBuild', '-DImMagick', '-g', '-O2',
'-Wall', '-W', '-pthread', '-I/usr/local/include']
extra_link_args ['-L/usr/local/lib', '-L/usr/X11R6/lib', '-lfreetype',
'-lz', '-L/usr/local/lib', '-lMagick++', '-lWand', '-lMagick']
Checked.
+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++
#################################### Installing
running build
running build_ext
building 'imgdb' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -I/usr/local/include/python2.5/ -I/usr/local/
include/python2.5 -c imgdb.cpp -o build/temp.linux-i686-2.5/imgdb.o -
O3 -DLinuxBuild -DImMagick -g -O2 -Wall -W -pthread -I/usr/local/
include
cc1plus: unrecognized option `-fwrapv'
Traceback (most recent call last):
File "build-python.py", line 92, in run
build_ext.run(self)
File "/usr/local/lib/python2.5/distutils/command/build_ext.py", line
290, in run
self.build_extensions()
File "/usr/local/lib/python2.5/distutils/command/build_ext.py", line
416, in build_extensions
self.build_extension(ext)
File "/usr/local/lib/python2.5/distutils/command/build_ext.py", line
481, in build_extension
depends=ext.depends)
File "/usr/local/lib/python2.5/distutils/ccompiler.py", line 697, in
compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/usr/local/lib/python2.5/distutils/unixccompiler.py", line
176, in _compile
raise CompileError, msg
CompileError: command 'gcc' failed with exit status 1