Insufficient instructions for compiling from source; also, PPAs are not longer current

Asked by ALinuxUser on 2017-02-27

It seems to be that the advertised Ubuntu (/Mint etc.) PPAs do not contain the 0.11.3 code.

Also, fuller instructions for installing that code - installing from source - might be useful. I had to do the following (some of which is specific to Linux Mint).

==================================

Download the source code from: https://launchpad.net/plank (see right hand side of the page).

Unpack somewhere (e.g. the desktop).

Install packages you need to compile Plank. On my system (which had some compilation stuff installed already) I needed to do:

sudo apt-get install libbamf3-dev gir1.2-gee-0.8 libwnck-3-dev libgee-0.8-dev

Open a terminal in the folder you unpacked the code into (or open terminal and use the 'cd' command to get to the folder you've unpacked the code into).

Do:
./configure && make && make install

Run plank by searching for plank in the MintMenu, or ALT-F2 and enter 'plank'.

To make plank start on boot: System Settings -> Startup Applications and add a entry. It might be best to make use of the delay field to add a delay of a few (3?) seconds.

==================================

Question information

Language:
English Edit question
Status:
Solved
For:
Plank Edit question
Assignee:
No assignee Edit question
Solved by:
ALinuxUser
Solved:
2017-03-07
Last query:
2017-03-07
Last reply:
2017-03-07
Peter Feichtinger (shippo) said : #1

There are pretty detailed instructions in the source directory in a file called HACKING.

The only thing I can see missing are prerequisites, which would indeed be nice to have.

Peter Feichtinger (shippo) said : #2

Come to think of it, ./configure (or ./autogen.sh for that matter) will probably tell you about missing libraries, no?

I think that `./configure` did tell me about the missing libraries. Some prior warning would have been nice. (Something like: 'You may have to install additional packages in order for the `./configure` to work.')

The 'hacking' file did prove useful, once I found it and stopped looking for a file called 'readme' or 'install'. (Or, if files with those names were there - I don't recall - they were not useful.)

In sum, I think a little more documentation of an easily-findable sort wouldn't go amiss.

Sadi Yumuşak (sa-yu) said : #4

Are there any changes between 0.11.1 and 0.11.3 that would make this path worth taking?

Sadi Yumuşak (sa-yu) said : #5

And here is an easier path for installing the "less stable" development version, e.g. 0.11.3:
https://launchpad.net/~ricotz/+archive/ubuntu/docky

Rico Tzschichholz (ricotz) said : #6

I will try to get it updated soon.