Issue installing on CentOS

299 views
Skip to first unread message

Lakomkin Egor

unread,
Sep 18, 2015, 4:43:41 AM9/18/15
to bob-devel
Hi All,

When installing bob on the CentOS machine I am running into this error.

Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-UMrUZK/bob.blitz/setup.py", line 74, in <module>
        system_include_dirs=system_include_dirs,
      File "/tmp/pip-build-UMrUZK/bob.blitz/.eggs/bob.extension-2.0.8-py2.7.egg/bob/extension/__init__.py", line 365, in __init__
        pkgs = check_packages(packages)
      File "/tmp/pip-build-UMrUZK/bob.blitz/.eggs/bob.extension-2.0.8-py2.7.egg/bob/extension/__init__.py", line 57, in check_packages
        p = pkgconfig(splitreq[0])
      File "/tmp/pip-build-UMrUZK/bob.blitz/.eggs/bob.extension-2.0.8-py2.7.egg/bob/extension/pkgconfig.py", line 131, in __init__
        raise RuntimeError("pkg-config package `%s' was not found" % name)
    RuntimeError: pkg-config package `blitz' was not found

I have tried installing rpm with blitz-0.10 and installing from sources, but no luck.

rpm -qa | grep blitz
blitz-0.10-3.1.x86_64


Thank you for help in advance!

Laurent El Shafey

unread,
Sep 18, 2015, 5:06:55 AM9/18/15
to bob-...@googlegroups.com
Hello,

The problem is that bob is looking for the pkg-config file of the blitz++ library but it can't locate it.

I suspect that the rpm package of blitz-0.10 is buggy in this respect.
You can check this by running such a command:
$ pkg-config --libs blitz
If blitz++ is properly installed, this should return something like:
-lblitz 


If you install blitz++ from sources, I think the .pc file is generated when you run the ./configure script. Next, I don't know how you've deployed your blitz installation from sources, but if this .pc file is in one of the pkg-config search dir (typically /usr/share/pkgconfig/), then the bob installation should be able to locate the pkg-config file of the blitz++ library.

Cheers,
Laurent



--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages