-
Notifications
You must be signed in to change notification settings - Fork 380
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
mysterious iberty dep fails #32
Comments
stephan@tiny: |
I was told that libiberty needs to be linked in order to be compiled on OpenSUSE 12.1. In my Fedora box grive can be built without libiberty. I guess ubuntu doesn't need it either. Can you please remove "REQUIRED" in the find_package line in the libgrive/CMakeLists and try again? Thanks. |
It now looks like this: find_package(Iberty) but stephan@tiny:~/cvs/grive$ rm CMakeCache.txt; cmake .
closes on the line
with mis-matching arguments. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. -- Configuring incomplete, errors occurred! The first error about IF/ENDIF appears to me to be a blatant lie: IF ( CPPUNIT_FOUND ) i have no idea why it still complains about iberty. i worked around it by removing that line entirely. |
IBERTY_LIBRARY -- Configuring incomplete, errors occurred! Yeah, I ran into this error, while trying to compile grive. I am running Fedora core 15 32-bit, the solution for me was to install the binutils-devel rpm package. |
@DavidLeeEvans thank you! it worked on debian (installed binutils-dev) |
Any patch for the CMakeLists? I can't try to build in all platforms. |
After installing binutils (thanks for the tip, David!), it works out of the box for me. Before that i was having to remove all of the lines dealing with iberty in libgrive/CMakeLists.txt. |
Mind if I close the issue? |
Unfortunately installing binutils-dev doesn't seem to have solved the issue for me |
stephan@tiny:~/cvs/grive$ cmake .
...
-- Found GDBM: /usr/lib/i386-linux-gnu/libgdbm.so
CMake Warning (dev) at libgrive/CMakeLists.txt:13 (find_package):
A logical block opening on the line
closes on the line
with mis-matching arguments.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
IBERTY_LIBRARY
linked by target "grive" in directory /home/stephan/cvs/grive/libgrive
-- Configuring incomplete, errors occurred!
i've tried skipping that with -Wno-dev, but then cannot build:
stephan@tiny:~/cvs/grive$ make
-- Found JSON-C: /usr/lib/i386-linux-gnu/libjson.so
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
IBERTY_LIBRARY
linked by target "grive" in directory /home/stephan/cvs/grive/libgrive
-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1
i cannot find any seemingly relevant reference to "iberty" in the package dbs for Ubuntu. What is it and where do we get it?
The text was updated successfully, but these errors were encountered: