1

I hope this is an appropriate forum for this question. I'm trying to learn the "configure, make, make install" workflow that seems to be well-known Linux convention. I am trying to apply this to xscreensaver. In addition to reading the xscreensaver website, and googling around this topic, I'm unable to find the workaround to this: Having downloaded and unzipped xscreensaver, I run configure. It outputs the following warnings:

Warning: The GTK libraries do not seem to be available; the
         `xscreensaver-demo' program requires them.

Warning: The GDK-Pixbuf library was not found.

Warning: The XPM library was not found.

In order to understand the "configure, make, make install", I wanted to work through these warnings until configure completes cleanly.

As far as I can tell, I have the GDK-Pixbuf library:

>sudo dnf install gdk-pixbuf2
Package gdk-pixbuf2-2.30.3-1.fc20.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
>
>find /usr/local/lib -name "*pixbuf*"
/usr/local/lib/libgdk_pixbuf-2.0.so.0
/usr/local/lib/pkgconfig/gdk-pixbuf-2.0.pc
/usr/local/lib/libgdk_pixbuf-2.0.la
/usr/local/lib/libgdk_pixbuf-2.0.so.0.2800.2
/usr/local/lib/libgdk_pixbuf-2.0.so
>
>echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/lib64

(I created LD_LIBRARY_PATH as part of my aimless debugging this problem).

Can anyone advise how to further debug this? Why might configure complain about a missing pixbuf library, when it seems to be present? Even though this question is specific to xscreensaver, I'd like to learn the workflow of how experienced Linux users work through figuring out how to install dependencies to pacify configure.

Update:

My Linux distro:

>cat /proc/version 
Linux version 3.11.10-301.fc20.x86_64 ([email protected]) (gcc version 4.8.2 20131017 (Red Hat 4.8.2-1) (GCC) ) #1 SMP Thu Dec 5 14:01:17 UTC 2013
6
  • 4
    some distributions split libraries into multiple packages. while gdk-pixbuf2 may provide the library itself, you may also need gdk-pixbuf2-devel for associated header files in order to compile other software with it. (debian-based distributions use -dev packages for the same purpose.) if that's not enough info to help you find your solution, please update your question to include what distribution you're using.
    – quixotic
    Commented Feb 22, 2017 at 4:17
  • Check for 32 bit vs 64 bit. Also see what's in config.log. That may have some clues. Also, did you tell it to look in /usr/local? It won't look there unless you tell it. Commented Feb 22, 2017 at 4:25
  • @quixotic edit: he has it installed in /usr/local, probably not an RPM install. Commented Feb 22, 2017 at 4:26
  • @quixotic - Updated post with my linux distro.
    – StoneThrow
    Commented Feb 22, 2017 at 17:32
  • @quixotic - I think you were right to suggest installing gdk-pixbuf2-devel. After doing so, and re-running configure, the warnings for GDK-Pixbuf and XPM went away. If you post as an answer, I would accept it. Could you explain a bit more about this also? This looks like another Linux convention that I should be aware of. When you are confronted with a situation where you need to install required libs/headers/software in general, how do you know what package(s) to install with dnf? I feel like there's tribal knowledge about all this that I've yet to learn.
    – StoneThrow
    Commented Feb 22, 2017 at 17:38

0

You must log in to answer this question.

Browse other questions tagged .