Off-Topic > Off-Topic - Tiny Core Lounge
help compiling xscreensaver for TCL12 x86
(1/1)
GNUser:
I'm trying to compile the xscreensaver source code available here:
http://repo.tinycorelinux.net/11.x/x86_64/tcz/src/xscreensaver/xscreensaver-5.44.tar.gz
on TCL12 x86. Despite my best efforts, the configure step seems unable to locate GTK, GDK-Pixbuf, and OpenGL libraries:
--- Code: ---$ tce-load -wi compiletc bc intltool libglade-dev gdk-pixbuf2-dev Xorg-7.7-3d-dev pkg-config gtk2-dev
$ cd xscreensaver-5.44
$ ./configure --prefix=/usr/local --with-pixbuf --with-jpeg --with-setuid-hacks
---snip---
config.status: creating driver/XScreenSaver.ad
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
#################################################################
Warning: The GTK libraries do not seem to be available; the
`xscreensaver-demo' program requires them.
Warning: Use of GDK-Pixbuf was requested, but it was not found.
The PNG library is being used instead.
Some of the demos will not use images as much as they could.
You should consider installing GDK-Pixbuf and re-running
configure.
Note: The OpenGL 3D library was not found.
More specifically, we found the headers, but not the
libraries; so either GL is half-installed on this
system, or something else went wrong. The `config.log'
file might contain some clues.
Those demos which use 3D will not be built or installed.
You might want to consider installing OpenGL and
re-running configure.
#################################################################
User programs will be installed in /usr/local/bin/
Screen savers will be installed in /usr/local/libexec/xscreensaver/
Configuration dialogs will be installed in /usr/local/share/xscreensaver/config/
System-wide default settings will be installed in /usr/lib/X11/app-defaults/
--- End code ---
I already tried many things, too numerous to list (or even remember). I also searched the internet for a long time. I must be missing a flag that is important for TCL specifically.
Can someone point me in the right direction?
Juanito:
Assuming the configure script is using pkg-config to check for gdk-pixbuf2, etc you can use it directly to see what’s missing, for example:
--- Code: ---$ pkgconfig —cflags gdk-pixbuf-2.0
--- End code ---
GNUser:
Thank you, Juanito :) I had to alter the command slightly:
--- Code: ---$ pkg-config --cflags gdk-pixbuf-2.0
--- End code ---
and it told me that shared-mime-info was missing! I would never have guessed.
This made the GDK-Pixbuf-related warning go away:
--- Code: ---$ tce-load -wi shared-mime-info
--- End code ---
The OpenGL warning persisted, so I decided to not mess around and loaded every extension I could find that seemed related or that had "gl" in the name:
--- Code: ---$ tce-load -wi libGL-dev libGLESv2-dev libEGL-dev glu-dev glade-dev gegl-dev
--- End code ---
It was overkill, for sure, but that made the OpenGL warning go away ;D
Solved!
Navigation
[0] Message Index
Go to full version