Al 29/03/13 18:58, En/na Dominique Michel ha escrit:
> When installing the NetworkEditor on my gentoo from the last devel
> code, I get:
>
> scons: Reading SConscript files ...
> Package shiboken was not found in the pkg-config search path.
> Perhaps you should add the directory containing `shiboken.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'shiboken' found
> OSError: 'pkg-config --cflags --libs shiboken' exited 1:
> File
> "/var/tmp/portage/media-sound/NetworkEditor-9999/work/NetworkEditor/NetworkEditor/SConstruct",
> line 52: env.ParseConfig('pkg-config --cflags --libs shiboken') File
> "/usr/lib64/python2.7/site-packages/SCons/Environment.py", line 1554:
> return function(self, self.backtick(command)) File
> "/usr/lib64/python2.7/site-packages/SCons/Environment.py", line 596:
> raise OSError("'%s' exited %d" % (command, status))
>
> Installed shiboken .pc files are as follow
>
> /usr/lib64/pkgconfig/shiboken-python2.7.pc
> /usr/lib64/pkgconfig/shiboken-python3.2.pc
>
> # pkg-config --cflags --libs shiboken-python2.7
> -I/usr/include/python2.7
> -I/usr/include/shiboken/ /usr/lib64/libpython2.7.so
> -lshiboken-python2.7
>
> Dominique
I got similar problems in Ubuntu raring. Shiboken pkg-config files are
being generated wrongly. It is pointless adding the full python so path
in the g++ command line. My fix in ubuntu was editing the installed
shiboken pkg-config by hand, removing python related options and adding
a "Requires" ote, to python pc file such as:
Requires: python-2.7
or
Requires: python2
Please, report the bug in Gentoo as I did for Ubuntu [1]. You may relate
both bugs.
[1] https://bugs.launchpad.net/ubuntu/+source/shiboken/+bug/1155595
David.
_______________________________________________
clam-devel mailing list
[email protected]
http://lists.clam-project.org/listinfo.cgi/clam-devel-clam-project.org