Updating glib 2.22 or later on ubuntu 14.04 facing issues.

silver.bullet at zoho.com silver.bullet at zoho.com
Thu Oct 22 09:51:58 UTC 2015


There's no Ubuntu/Debian (source) package available. The available
software named "snarf"
https://tracker.debian.org/pkg/snarf
http://www.xach.com/snarf/
is seemingly not the same as
http://tools.netsa.cert.org/snarf/download.html
so the there's neither a binary, nor a source package available to
automatically resolve build dependencies.

"$ yum install snarf snarf-devel snarf-python
Installation of libsnarf and snarfd is accomplished through a
standard ./configure && make && make install process. If a supported
Python installation is detected during installation, snarf-python will
also be installed." - from the PDF of the libsnard the OP tries to
build.

I don't no what those RPM distros use, there seems to be
https://github.com/purpleteam/snarf either.

http://rpm.pbone.net/index.php3/stat/4/idpl/28482001/dir/centos_other/com/snarf-0.2.4-1.el6.i686.rpm.html

In case were no Debian/Ubuntu source is available I usually install the
needed packages myself, but there seems to be a helper that might do it
automatically too
https://help.ubuntu.com/community/AutoApt
A while back I installed it, but never tested it.

"Usage example

    IconsPage/example.png You're compiling a program and, all of a
    sudden, there's an error because it needs a file you don't have.
    The program auto-apt asks you to install packages if they're
    needed, stopping the relevant process and continuing once the
    package is installed.

         # auto-apt run ./configure

    It will then ask to install the needed packages and call apt-get
    automatically. If you're running X, a graphical interface will
    replace the default text interface." -
    https://help.ubuntu.com/community/AptGet/Howto

There are run time and build/compile time dependencies.
To run a binary or script no development files are needed, to compile
software, tools and compile dependencies, such as headers are needed and
to build a package, additional tools are needed, but you not necessarily
need to build a package to install software.

Assumed the source code shouldn't provide debian related files, you
could try to build a package with

https://help.ubuntu.com/community/CheckInstall

relatively often I use checkinstall myself, it's not the best way to
build a package, but it's the easiest way and it often works.

If you search something, then don't install random packages, instead
e.g. use the Ubuntu package search like this:

http://packages.ubuntu.com/search?suite=trusty&arch=any&mode=filename&searchon=contents&keywords=libprotobuf-c

File 	                                         Packages
/usr/lib/i386-linux-gnu/libprotobuf-c.a 	 libprotobuf-c0-dev [not amd64]
/usr/lib/i386-linux-gnu/libprotobuf-c.so 	 libprotobuf-c0-dev [not amd64]
/usr/lib/i386-linux-gnu/libprotobuf-c.so.0 	 libprotobuf-c0 [not amd64]
/usr/lib/i386-linux-gnu/libprotobuf-c.so.0.0.0 	 libprotobuf-c0 [not amd64]
/usr/lib/x86_64-linux-gnu/libprotobuf-c.a 	 libprotobuf-c0-dev [not i386]
/usr/lib/x86_64-linux-gnu/libprotobuf-c.so 	 libprotobuf-c0-dev [not i386]
/usr/lib/x86_64-linux-gnu/libprotobuf-c.so.0 	 libprotobuf-c0 [not i386]
/usr/lib/x86_64-linux-gnu/libprotobuf-c.so.0.0.0 libprotobuf-c0 [not i386]

OP, we can only help you, if you do some of your homework yourself.

Regards,
Ralf




More information about the ubuntu-users mailing list