Stuck in dependency hell

Asked by Fred

Hi all!

The Satan of Dependency claws at me furiously...
First autogen was throwing an exception at me.

after installing "libglib2.0-dev" - joy.

then the .configure script complains about gtk+3stuff not being present.

after installing libgtk-3-dev - still no joy.

>>configure: error: Package requirements (gtksourceview-3.0 >= 3.10) were not met:

still missing stuff...

is there a way to make this easier?
why is installing Xpad so hard?
am I getting too old for this?

thx for helping me to get rid of this demon

Question information

Language:
English Edit question
Status:
Solved
For:
Xpad Edit question
Assignee:
No assignee Edit question
Solved by:
Fred
Solved:
Last query:
Last reply:
Revision history for this message
Fred (dr.fred) said :
#1

System: Host: xxx Kernel: 4.13.0-45-generic x86_64 (64 bit) Desktop: N/A
           Distro: Linux Mint 18.3 Sylvia
Machine: System: Dell (portable) product: XPS 13 9360 serial:
           Mobo: Dell model: 0T3FTF v: A00 serial: Bios: Dell v: 2.1.0 date: 08/02/2017
CPU: Dual core Intel Core i7-7500U (-HT-MCP-) speed/max: 1317/3500 MHz
Graphics: Card: Intel Device 5916
           Display Server: X.org 1.19.6 driver: N/A tty size: 318x46 Advanced Data: N/A for root

Revision history for this message
Fred (dr.fred) said :
#2

On my Mint machine the GTK version is

3.18.9-1ubuntu3.3

On my Linux lite Machine it is 3.22.30-1ubuntu1

It works on the lite but not on Mint.

Is there a way to install a new version of Xpad on Mint?

After all, Mint is the 2nd most used Distro out there..

Also, I do not understand why a simple App (and that is why I like Xpad), which is not that complex at all,
needs cutting edge software packages to run?

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Why are you not using the pre-packaged version?

sudo apt-get install xpad

If you want to build the newest version, see https://launchpad.net/ubuntu/cosmic/+source/xpad for the build dependencies:
 debhelper (>= 10)
 intltool
 libgtk-3-dev (>= 3.10)
 libgtksourceview-3.0-dev (>= 3.10)

Revision history for this message
Fred (dr.fred) said :
#4

Hi Manfred, thank you for the advice.

When I use the pre-packaged version, what I get is v4.5.
In v4.5 the feature to hide the pads from the Taskbar is not yet implemented. Thus in 4.5 the Pads are cluttering up the Taskbar, while in 5.0+ they dont. That is why I dont want to go pre-packaged.

According to Synaptic, all the dependencies are met, still the installer says that 'gtkcourceview-3.0' is missing.
So I installed it and ./configure compiled with no error. However, now I am stuck with MAKE.

The closing part looks like this:

xpad-pad.o: In function `xpad_pad_popup':
/home/dolf/Downloads/xpad-5.1.0/src/xpad-pad.c:1801: undefined reference to `gtk_menu_popup_at_pointer'
xpad-settings.o: In function `xpad_settings_set_property':
/home/dolf/Downloads/xpad-5.1.0/src/xpad-settings.c:374: undefined reference to `g_file_new_build_filename'
/home/dolf/Downloads/xpad-5.1.0/src/xpad-settings.c:375: undefined reference to `g_file_new_build_filename'
xpad-toolbar.o: In function `xpad_toolbar_popup_context_menu':
/home/dolf/Downloads/xpad-5.1.0/src/xpad-toolbar.c:533: undefined reference to `gtk_menu_popup_at_pointer'
collect2: error: ld returned 1 exit status
Makefile:408: recipe for target 'xpad' failed
make[2]: *** [xpad] Error 1
make[2]: Leaving directory '/home/dolf/Downloads/xpad-5.1.0/src'
Makefile:465: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/dolf/Downloads/xpad-5.1.0'
Makefile:385: recipe for target 'all' failed
make: *** [all] Error 2

Revision history for this message
Arthur Borsboom (arthurborsboom) said :
#5

Hi Fred,

If you want to build Xpad from scratch, it is also necessary to install the
GTK-sourceview-devel package. I am not sure about the exact package name in
Mint.

Does this help you?

On Wed, Oct 10, 2018, 12:43 Fred <email address hidden>
wrote:

> Question #674912 on Xpad changed:
> https://answers.launchpad.net/xpad/+question/674912
>
> Status: Answered => Open
>
> Fred is still having a problem:
> Hi Manfred, thank you for the advice.
>
> When I use the pre-packaged version, what I get is v4.5.
> In v4.5 the feature to hide the pads from the Taskbar is not yet
> implemented. Thus in 4.5 the Pads are cluttering up the Taskbar, while in
> 5.0+ they dont. That is why I dont want to go pre-packaged.
>
> According to Synaptic, all the dependencies are met, still the installer
> says that 'gtkcourceview-3.0' is missing.
> So I installed it and ./configure compiled with no error. However, now I
> am stuck with MAKE.
>
> The closing part looks like this:
>
> xpad-pad.o: In function `xpad_pad_popup':
> /home/dolf/Downloads/xpad-5.1.0/src/xpad-pad.c:1801: undefined reference
> to `gtk_menu_popup_at_pointer'
> xpad-settings.o: In function `xpad_settings_set_property':
> /home/dolf/Downloads/xpad-5.1.0/src/xpad-settings.c:374: undefined
> reference to `g_file_new_build_filename'
> /home/dolf/Downloads/xpad-5.1.0/src/xpad-settings.c:375: undefined
> reference to `g_file_new_build_filename'
> xpad-toolbar.o: In function `xpad_toolbar_popup_context_menu':
> /home/dolf/Downloads/xpad-5.1.0/src/xpad-toolbar.c:533: undefined
> reference to `gtk_menu_popup_at_pointer'
> collect2: error: ld returned 1 exit status
> Makefile:408: recipe for target 'xpad' failed
> make[2]: *** [xpad] Error 1
> make[2]: Leaving directory '/home/dolf/Downloads/xpad-5.1.0/src'
> Makefile:465: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/dolf/Downloads/xpad-5.1.0'
> Makefile:385: recipe for target 'all' failed
> make: *** [all] Error 2
>
> --
> You received this question notification because your team Xpad
> Developers is an answer contact for Xpad.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~xpad-hackers
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~xpad-hackers
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

According to https://stackoverflow.com/questions/41684106/missing-gtk-menu-popup-at-pointer
for using gtk_menu_popup_at_pointer you need GTK+ version 3.22 or higher.
You have only 3.18.9-1ubuntu3.3

You either have to find an updated version (>= 3.22) of the gtk+3.0 packages for your operating system (not sure whether that exists at all), or use an older version of xpad that works with gtk+3.0 3.18-..., or eventually upgrade your whole operating system to Mint 19 Tara.

Revision history for this message
Fred (dr.fred) said :
#7

Thanks very much for your answers Manfred and Arthur.

Tara would be a solution, but it conflicts with my general update plan.

I am not so keen on building it up from scratch either.

....However, I've just seen in the Changelog that the ability to hide the pads from the taskbar came already in 4.6. I mistakenly assumed I will need at least 5.0+ for the feature!

Since for 4.9 the changelog claims:

"Fix: Deprecated functions - Replaced gtk_menu_popup with gtk_menu_popup_at_pointer"

I assumed that the GTK requirements ramped up at this point and installed 4.8.

and Joy.... *_*

Thank you both. Without you, I would have given up by now.. :)