You are not logged in.

#1 2020-10-06 03:15:12

stephenboston
Banned
Registered: 2020-09-27
Posts: 46

make xscreensaver : wants gdk-pixbuf.h but I think it's installed?

I am building xscreensaver from source taken from https://www.jwz.org/xscreensaver/

I have a small simple customisation of glslideshow.c  for a logging feature that I have deployed to Ubuntu and Manjaro without issue.

Configure completes okay. Warning about the lack of 3D support but that is not an issue for my use.

Building on Arch I get this during the make

ximage-loader.c:43:12: fatal error: gdk-pixbuf/gdk-pixbuf-xlib.h: No such file or directory
   43 | #  include <gdk-pixbuf/gdk-pixbuf-xlib.h>
      |   

         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


It looks like I have the requirement installed. Do I?

 pacman -Ss libgdk
extra/gtk2 2.24.32-2 [installed]
    GObject-based multi-platform GUI toolkit (legacy)
extra/gtk3 1:3.24.23-3 [installed]
    GObject-based multi-platform GUI toolkit
stephen@arch:~/projects/xscreensaver-5.44$ pacman -Ss | grep pixbuf
extra/gdk-pixbuf2 2.40.0+6+g5432316df-1 [installed]
community/ruby-gdk_pixbuf2 3.4.3-1 

What am I missing here?

Last edited by stephenboston (2020-10-06 03:17:56)

Offline

#2 2020-10-06 05:54:28

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: make xscreensaver : wants gdk-pixbuf.h but I think it's installed?

stephenboston wrote:

I am building xscreensaver from source […]

Does that mean you manually patch, autoreconf, configure, make…? Have you compared with the Arch PKGBUILD to see what might be the issue?

To me, it looks like it doesn't pass /usr/include/gdk-pixbuf-2.0 as an include path to the compiler, so… have you passed the --with-pixbuf flag to configure?


pkgshackscfgblag

Offline

#3 2020-10-07 11:52:05

stephenboston
Banned
Registered: 2020-09-27
Posts: 46

Re: make xscreensaver : wants gdk-pixbuf.h but I think it's installed?

ayekat wrote:
stephenboston wrote:

I am building xscreensaver from source […]

Does that mean you manually patch, autoreconf, configure, make…? Have you compared with the Arch PKGBUILD to see what might be the issue?

To me, it looks like it doesn't pass /usr/include/gdk-pixbuf-2.0 as an include path to the compiler, so… have you passed the --with-pixbuf flag to configure?

I patched, ran autoreconf, configure --with-pixbuf. And -- nope.

Eventually I

pacman -S xscreensaver

which installed the application and all of its dependencies, and I *then* reran the make on my modified build. This time it worked just fine. Although the screensaver config dialog was sluggish it worked well enough.

Being just a couple days into Arch, I don't feel up to the forensics of this issue. Other items on the  project.

Thanks for your help.

Offline

Board footer

Powered by FluxBB