imgSeek and Python 2.5 on Ubuntu 9.04

9 views
Skip to first unread message

fantasticsphere

unread,
Sep 6, 2009, 10:54:04 PM9/6/09
to imgseek_dev
Currently I managed to get imgSeek to load on Python 2.5 (with Ubuntu
9.04) and can do similarity search, but got an error when I tried to
do Browse->Similarity (whether by Color or Content):

Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/imgSeekLib/imgSeekApp.py",
line 1782, in categorizeButton_clicked
self.curdb.updateGroups(self.app,thres,str
(self.groupByCombo.currentText()))
File "/usr/lib/python2.5/site-packages/imgSeekLib/ImageDB.py", line
472, in updateGroups
for i in range(imgdb.getLongList2Size(clusters)):
TypeError: Type error. Expected _p_long_list_2

Does anyone know how to get around this?

Thanks,

Paul

Anil

unread,
Oct 10, 2009, 2:23:28 AM10/10/09
to imgseek_dev
Paul,

I am trying to configure ISK Daemon on Ubuntu 8.10 with Python 2.5 But
getting GCC error.

Can you please send me the procedure you used to compile & configure
in Ubuntu 9.04.

Thanks,
Anil Maheshwari

ERROR
**********************
[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
********************
Reply all
Reply to author
Forward
0 new messages