Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting PKG_CONFIG_PATH for cppunit doesn't work. #11

Closed
romeojulietthotel opened this issue Mar 3, 2017 · 5 comments
Closed

Setting PKG_CONFIG_PATH for cppunit doesn't work. #11

romeojulietthotel opened this issue Mar 3, 2017 · 5 comments

Comments

@romeojulietthotel
Copy link

The cmake stage fails because cmake does not find cppunit include files even with PKG_CONFIG_PATH set properly. The cppunit is in a non-standard location. I worked around it by adding the paths to cmake/Modules/FindCppUnit.cmake.

If I run
PKG_CONFIG_PATH=/here/is/cppunit/lib/pkgconfig pkg-config --cflags cppunit

or

PKG_CONFIG_PATH=/here/is/cppunit/lib/pkgconfig pkg-config --libs cppunit
I get correct results.

@mhostetter
Copy link
Owner

mhostetter commented Mar 10, 2017

Thanks for the feedback. What is your system configuration? I'm using the default cmake file from GNU Radio's gr_modtool. Do you have GNU Radio already installed?

@romeojulietthotel
Copy link
Author

I guess gnuradio is forcing cppunit on modules but it does not use it.

@mhostetter
Copy link
Owner

Do you have a suggestion for what I should do? I think the CMake will work fine if GNU Radio is installed with PyBOMBS. I think it covers all the dependencies.

@romeojulietthotel
Copy link
Author

Ok, then I think this is a documentation bug or I missed that PyBOMBS was a req.

@mhostetter
Copy link
Owner

Well, PyBOMBS isn't a requirement necessarily. But PyBOMBS is a nice way to install GNU Radio, ensuring all dependencies are satisfied.

Are you still having trouble with this? Does it prevent the module from building?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants