Coder Social home page Coder Social logo

mysterious iberty dep fails about grive HOT 9 CLOSED

grive avatar grive commented on June 22, 2024
mysterious iberty dep fails

from grive.

Comments (9)

ParsaAkbari avatar ParsaAkbari commented on June 22, 2024 1

Unfortunately installing binutils-dev doesn't seem to have solved the issue for me
Running Linux Mint 15

from grive.

sgbeal avatar sgbeal commented on June 22, 2024

stephan@tiny:/cvs/grive$ dpkg -S libiberty
dpkg-query: no path found matching pattern libiberty.
stephan@tiny:
/cvs/grive$ dpkg -S iberty
dpkg-query: no path found matching pattern iberty.
stephan@tiny:~/cvs/grive$ cat /etc/issue
Ubuntu 11.10 \n \l

from grive.

match065 avatar match065 commented on June 22, 2024

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.

from grive.

sgbeal avatar sgbeal commented on June 22, 2024

It now looks like this:

find_package(Iberty)

but

stephan@tiny:~/cvs/grive$ rm CMakeCache.txt; cmake .
...
CMake Warning (dev) at libgrive/CMakeLists.txt:13 (find_package):
A logical block opening on the line

/home/stephan/cvs/grive/cmake/Modules/FindIberty.cmake:16 (IF)

closes on the line

/home/stephan/cvs/grive/cmake/Modules/FindIberty.cmake:18 (ENDIF)

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!

The first error about IF/ENDIF appears to me to be a blatant lie:

IF ( CPPUNIT_FOUND )
set( OPT_INCS ${CPPUNIT_INCLUDE_DIR} )
ENDIF ( CPPUNIT_FOUND )

i have no idea why it still complains about iberty. i worked around it by removing that line entirely.

from grive.

DavidLeeEvans avatar DavidLeeEvans commented on June 22, 2024

IBERTY_LIBRARY
linked by target "grive" in directory /home/myhomedir/grive/libgrive

-- 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.

from grive.

Zaxuhe avatar Zaxuhe commented on June 22, 2024

@DavidLeeEvans thank you! it worked on debian (installed binutils-dev)

from grive.

match065 avatar match065 commented on June 22, 2024

Any patch for the CMakeLists? I can't try to build in all platforms.

from grive.

sgbeal avatar sgbeal commented on June 22, 2024

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.

from grive.

nestal avatar nestal commented on June 22, 2024

Mind if I close the issue?

from grive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.