finalterm icon indicating copy to clipboard operation
finalterm copied to clipboard

Install finalterminal on Debian Wheezy

Open gAmUssA opened this issue 10 years ago • 9 comments

Hi,

I followed the instruction how to install finalterminal on ubuntu inDebian Wheezy but aptitude unable to find finaterm package.

Please, advise Thanks

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

gAmUssA avatar Apr 07 '14 21:04 gAmUssA

I installed Debian 7.4 in a virtual machine to give you a little help.

Since this is Debian wheezy instead of Ubuntu, apt will be looking for the "wheezy" repository, but the PPA team has built finalterm for Ubuntu "Saucy", "Quantal", "Precise", and "Raring". Even if you changed the repository source to one of those, it wouldn't install due to missing dependencies.

Since you added the ppa, you can remove it by running:

sudo add-apt-repository --remove ppa:finalterm/daily

I would suggest building it yourself for your OS, but it looks like Debian 7.4 doesn't have some of the minimal dependencies. One thing I saw right away was the requirement for gee-0.8, but Debian 7.4 has libgee 0.6.4. It would be a lot of work to build all the dependencies you would need.

This is how I tried building it for Debian 7.4: First I installed dependencies:

sudo apt-get install git build-essential cmake valac libnotify4 libmx-1.0-2 libkeybinder0 libgee2

Then I built as instructed in the README:

git clone https://github.com/p-e-w/finalterm.git
cd finalterm/
mkdir build
cd build/
cmake ..
-- checking for module 'unity'
--   package 'unity' not found
-- checking for modules 'clutter-gtk-1.0;mx-1.0;keybinder-3.0;gee-0.8;libnotify'
--   package 'clutter-gtk-1.0' not found
--   package 'mx-1.0' not found
--   package 'keybinder-3.0' not found
--   package 'gee-0.8' not found
--   package 'libnotify' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
  CMakeLists.txt:42 (pkg_check_modules)


-- checking for a minimum Vala version of 0.16.0
--   found Vala, version 0.16.1
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find Intltool (missing: INTLTOOL_EXTRACT_EXECUTABLE
  INTLTOOL_MERGE_EXECUTABLE)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindIntltool.cmake:40 (find_package_handle_standard_args)
  cmake/Gettext.cmake:326 (find_package)
  po/CMakeLists.txt:4 (gettext_create_pot)


-- Configuring incomplete, errors occurred!

CurtisLeeBolin avatar Apr 21 '14 19:04 CurtisLeeBolin

clutter, mx, keybinder, libgee, libnotify, ... Seems like CMake is not finding anything! Any ideas why that happens despite you installing the libraries?

p-e-w avatar Apr 26 '14 07:04 p-e-w

@CurtisLeeBolin: IIRC, on Debian, you would need to install the -dev "versions" of the dependencies if you would like to compile and link against the headers/libraries, e.g. try running apt-get install libmx-dev libkeybinder-dev libclutter-gtk-1.0-dev libgee-dev libnotify-dev before trying to build from source.

ferki avatar May 13 '14 20:05 ferki

@p-e-w and @ferki, I stated that debian doesn't meet the minimal version of some of the dependencies. I did not go any further.

CurtisLeeBolin avatar May 13 '14 21:05 CurtisLeeBolin

@CurtisLeeBolin: ah, sorry, you're right, I missed that version mismatch :)

ferki avatar May 13 '14 21:05 ferki

What I see in the CMake output is

--   package 'clutter-gtk-1.0' not found
--   package 'mx-1.0' not found
--   package 'keybinder-3.0' not found
--   package 'gee-0.8' not found
--   package 'libnotify' not found

So either there is a version mismatch on each of those libraries or indeed you don't have the headers as suggested by @ferki.

p-e-w avatar May 16 '14 13:05 p-e-w

Let me over explain this so people will stop commenting.

  1. First I would install the packages for the dependencies.
  2. Try to build.
  3. If it fails to build, I see which headers are absolutely needed and install the -dev package for them, because headers aren't always needed. e.g. build-tools
  4. Try to build again. (looping 3 and 4 until it builds so I have an exact list of dependencies to make a deb package)

I never got to step 3 because libgee 0.6.4 < gee-0.8 dependency.

CurtisLeeBolin avatar May 16 '14 17:05 CurtisLeeBolin

OK, understood... you didn't even attempt to install the headers because of the version mismatch.

p-e-w avatar May 16 '14 22:05 p-e-w

Hi guys! I was able to build Finalterm successfully in Debian Wheezy by doing the following (Very cool terminal by the way :D ):

// FINALTERM INSTALL STEPS

Add the following to /etc/apt/sources.list

TESTING REPO DEBIAN

deb http://http.us.debian.org/debian/ testing non-free contrib main

sudo apt-get update sudo apt-get install git build-essential cmake updatedb apt-get -t testing install valac libgtk-3-dev intltool clutter-gtk-1.0 libkeybinder-3.0-dev libgee-0.8-dev libnotify-bin libmx-dev

git clone https://github.com/p-e-w/finalterm.git cd finalterm/ mkdir build cd build/ cmake .. make sudo make install

bitclaw avatar Jun 07 '14 10:06 bitclaw