Categories
Linux Mastering Development

Cannot install Timeshift on Kali

I have been trying to install time shift from the directory I cloned from github.

I ran the following command:

cd src; make install

And then I seperatly ran:

sudo make all

Got the following result in both cases:

makefile:4: *** No msgmerge found, install it.  Stop.

I then tried the command:

sudo make all

And got the following output:

cd src; make all
make[1]: Entering directory '/home/omair/timeshift/src'
makefile:4: *** No msgmerge found, install it.  Stop.
make[1]: Leaving directory '/home/omair/timeshift/src'
make: *** [makefile:2: all] Error 2

After a bit of googling I installed gettext as recommended on online forums:

sudo apt install gettext

After which I again tried:

sudo make all

the result:

cd src; make all
make[1]: Entering directory '/home/omair/timeshift/src'
makefile:4: *** No valac found, install it.  Stop.
make[1]: Leaving directory '/home/omair/timeshift/src'
make: *** [makefile:2: all] Error 2

After a bit of googling again, I ran:

sudo apt-get install libvala-dev

After which I gave the command I ran above one more shot:

sudo make all

The result:

cd src; make all
make[1]: Entering directory '/home/omair/timeshift/src'
makefile:4: *** No valac found, install it.  Stop.
make[1]: Leaving directory '/home/omair/timeshift/src'
make: *** [makefile:2: all] Error 2

sudo apt-get install valac

then I ran:

sudo make all

the result of which is:

cd src; make all
make[1]: Entering directory '/home/omair/timeshift/src'
Package vte-2.91 was not found in the pkg-config search path.
Perhaps you should add the directory containing `vte-2.91.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vte-2.91' found
/bin/bash: line 0: test: -lt: unary operator expected
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
/bin/bash: line 0: test: -gt: unary operator expected
#timeshift-gtk
valac -X -D'GETTEXT_PACKAGE="timeshift"' \
        --Xcc="-lm" --Xcc="-O3" -D VTE_291   \
        Core/*.vala Gtk/*.vala Utility/*.vala Utility/Gtk/*.vala \
        -o timeshift-gtk \
        --pkg glib-2.0 --pkg gio-unix-2.0 --pkg posix \
        --pkg gee-0.8 --pkg json-glib-1.0 \
        --pkg gtk+-3.0 --pkg vte-2.91 
error: Package `gee-0.8' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `vte-2.91' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 2 error(s), 0 warning(s)
make[1]: *** [makefile:52: app-gtk] Error 1
make[1]: Leaving directory '/home/omair/timeshift/src'
make: *** [makefile:2: all] Error 2

I am at the verge of giving up here.

Edit: I have also tried it after installing libgtk2.0-dev:

sudo apt-get install libgtk2.0-dev

Also tried:

Install dependencies

sudo apt install -y g++ libgtk-3-dev gtk-doc-tools gnutls-bin \
    valac intltool libpcre2-dev libglib3.0-cil-dev libgnutls28-dev \
    libgirepository1.0-dev libxml2-utils gperf build-essential

Get and install vte-ng as per instructions I’ve found somewhere:

git clone https://github.com/thestinger/vte-ng.git
echo export LIBRARY_PATH="/usr/include/gtk-3.0:$LIBRARY_PATH"
cd vte-ng && ./autogen.sh && make && sudo make install
cd ..

Leave a Reply

Your email address will not be published. Required fields are marked *