Smatch installation error

Shraddha Barke shraddha.6596 at gmail.com
Mon Aug 10 17:11:07 EDT 2015


I tried to install smatch but I'm getting some errors:

First I did : git clone git://repo.or.cz/smatch.git
Then : cd smatch
When I run : make .. I get the following error

Makefile:107: Your system does not have libgtk2, disabling test-inspect
     LINK     sparse-llvm
/usr/bin/ld: cannot find -ledit
collect2: error: ld returned 1 exit status
Makefile:211: recipe for target 'sparse-llvm' failed
make: *** [sparse-llvm] Error 1

So I tried to install : sudo apt-get install libgtk2.0-dev

which gives the error:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgtk2.0-dev : Depends: libglib2.0-dev (>= 2.27.3) but it is not going to
be installed
                 Depends: libgdk-pixbuf2.0-dev (>= 2.21.0) but it is not
going to be installed
                 Depends: libpango1.0-dev (>= 1.20) but it is not going to
be installed
                 Depends: libatk1.0-dev (>= 1.29.2) but it is not going to
be installed
                 Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going
to be installed
E: Unable to correct problems, you have held broken packages.


Any help?

Thanks in advance :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150811/2c4e9458/attachment.html 


More information about the Kernelnewbies mailing list