LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-23-2023, 05:15 PM   #1
Procenko
Member
 
Registered: May 2022
Posts: 144

Rep: Reputation: 1
Question compilation xscreensaver


why at debian xscreensaver needed much more dependincies than at arch?
debian apt say that cant find needed list of dependincies
but i can find this dependincies one by one at debian package site
why debian cand find all of them via apt if it present at site?

i need compilation with specific options
Code:
./configure --prefix=/usr --with-elogind --with-pam --with-gl --with-glx --with-pixbuf --with-xft
from xscreensaver readme install

Code:
root@home:/etc/apt# apt install perl pkg-config gettext intltool libx11 libxext libxi libxt libxft libxinerama libxrandr libxxf86vm libgl libglu libgle libgtk2 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 libxml2 libpam dbus libsystemd elogind
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libx11
E: Unable to locate package libxext
E: Unable to locate package libxi
E: Unable to locate package libxt
E: Unable to locate package libxft
E: Unable to locate package libxinerama
E: Unable to locate package libxrandr
E: Unable to locate package libxxf86vm
E: Unable to locate package libgl
E: Unable to locate package libglu
E: Unable to locate package libgle
E: Unable to locate package libgtk2
E: Unable to locate package gdk-pixbuf-2.0
E: Couldn't find any package by glob 'gdk-pixbuf-2.0'
E: Unable to locate package gdk-pixbuf-xlib-2.0
E: Couldn't find any package by glob 'gdk-pixbuf-xlib-2.0'
E: Unable to locate package libpam
E: Unable to locate package libsystemd
root@home:/etc/apt#

Last edited by Procenko; 03-23-2023 at 06:04 PM.
 
Old 03-23-2023, 09:21 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
On my Debian, xscreensaver is in the repos. I have it working quite nicely on my system.

Just out of curiosity, may I ask why you have decided to compile it from sources?
 
Old 03-23-2023, 11:21 PM   #3
artytux
Member
 
Registered: Oct 2022
Location: Central Eastcoast Australia
Distribution: EndeavourOS, MXLinux
Posts: 114

Rep: Reputation: 40
I thought MY eyes or MIND was/is playing tricky tricky on me, is this you with the same thing ?

https://forums.debian.net/viewtopic.php?t=154335
 
Old 03-24-2023, 05:03 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
Because those packages have different names: actually it is libxt6 and libxft2 (and so on). But if you want to compile probably you need the dev version: like libxft-dev ...
 
Old 03-24-2023, 07:03 AM   #5
Procenko
Member
 
Registered: May 2022
Posts: 144

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by frankbell View Post
On my Debian, xscreensaver is in the repos. I have it working quite nicely on my system.

Just out of curiosity, may I ask why you have decided to compile it from sources?
i need egl support, configure with

Code:
--with-gl --with-glx

Last edited by Procenko; 03-24-2023 at 07:07 AM.
 
Old 03-24-2023, 07:05 AM   #6
Procenko
Member
 
Registered: May 2022
Posts: 144

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by pan64 View Post
Because those packages have different names: actually it is libxt6 and libxft2 (and so on). But if you want to compile probably you need the dev version: like libxft-dev ...
ok, but why most thouse of all is present in arch but not at debian?
 
Old 03-24-2023, 07:30 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
they exist, just the name of the packages are different
 
Old 03-24-2023, 11:41 AM   #8
Procenko
Member
 
Registered: May 2022
Posts: 144

Original Poster
Rep: Reputation: 1
but why at arch most of them already preinstalled, why at debian i need resolve manually so many dependincies its very difficult?

is there way automate resolving so many dependincies?

Last edited by Procenko; 03-24-2023 at 11:47 AM.
 
Old 03-24-2023, 12:03 PM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
https://askubuntu.com/questions/3248...-get-build-dep
 
Old 03-24-2023, 01:53 PM   #10
Procenko
Member
 
Registered: May 2022
Posts: 144

Original Poster
Rep: Reputation: 1
how resolve this dephell?
Code:
dpkg: dependency problems prevent configuration of libgdk-pixbuf-xlib-2.0-dev:amd64:
 libgdk-pixbuf-xlib-2.0-dev:amd64 depends on libgdk-pixbuf-xlib-2.0-0 (= 2.40.2-2); however:
  Package libgdk-pixbuf-xlib-2.0-0 is not installed.
 libgdk-pixbuf-xlib-2.0-dev:amd64 depends on libgdk-pixbuf-2.0-dev (>= 2.40.0); however:
  Package libgdk-pixbuf-2.0-dev is not installed.
 libgdk-pixbuf-xlib-2.0-dev:amd64 depends on libglib2.0-dev (>= 2.38.0); however:
  Package libglib2.0-dev is not installed.

dpkg: error processing package libgdk-pixbuf-xlib-2.0-dev:amd64 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgdk-pixbuf2.0-dev:amd64:
 libgdk-pixbuf2.0-dev:amd64 depends on libgdk-pixbuf-2.0-dev (>= 2.40.0); however:
  Package libgdk-pixbuf-2.0-dev is not installed.
 libgdk-pixbuf2.0-dev:amd64 depends on libgdk-pixbuf-xlib-2.0-dev (>= 2.40.2-2); however:
  Package libgdk-pixbuf-xlib-2.0-dev:amd64 is not configured yet.

dpkg: error processing package libgdk-pixbuf2.0-dev:amd64 (--install):
 dependency problems - leaving unconfigured
Setting up libgl-dev:amd64 (1.6.0-1) ...
Setting up libgle3-dev:amd64 (3.1.0-10) ...
Setting up libglu1-mesa-dev:amd64 (9.0.2-1.1) ...
dpkg: dependency problems prevent configuration of libgtk2.0-dev:amd64:
 libgtk2.0-dev:amd64 depends on gir1.2-gtk-2.0 (= 2.24.33-2); however:
  Package gir1.2-gtk-2.0 is not installed.
 libgtk2.0-dev:amd64 depends on libglib2.0-dev (>= 2.27.3); however:
  Package libglib2.0-dev is not installed.
 libgtk2.0-dev:amd64 depends on libgdk-pixbuf-2.0-dev (>= 2.21.0) | libgdk-pixbuf2.0-dev (>= 2.21.0); however:
  Package libgdk-pixbuf-2.0-dev is not installed.
  Package libgdk-pixbuf2.0-dev:amd64 is not configured yet.
 libgtk2.0-dev:amd64 depends on libpango1.0-dev (>= 1.20); however:
  Package libpango1.0-dev is not installed.
 libgtk2.0-dev:amd64 depends on libatk1.0-dev (>= 1.29.2); however:
  Package libatk1.0-dev is not installed.
 libgtk2.0-dev:amd64 depends on libcairo2-dev (>= 1.6.4-6.1); however:
  Package libcairo2-dev is not installed.
 libgtk2.0-dev:amd64 depends on libxcursor-dev; however:
  Package libxcursor-dev is not installed.
 libgtk2.0-dev:amd64 depends on libxfixes-dev (>= 1:3.0.0-3); however:
  Package libxfixes-dev is not installed.
 libgtk2.0-dev:amd64 depends on libxcomposite-dev (>= 1:0.2.0-3); however:
  Package libxcomposite-dev is not installed.
 libgtk2.0-dev:amd64 depends on libxdamage-dev (>= 1:1.0.1-3); however:
  Package libxdamage-dev is not installed.
 libgtk2.0-dev:amd64 depends on pkg-config; however:
  Package pkg-config is not installed.
 libgtk2.0-dev:amd64 depends on libxml2-utils; however:
  Package libxml2-utils is not installed.

dpkg: error processing package libgtk2.0-dev:amd64 (--install):
 dependency problems - leaving unconfigured
Setting up libpam-freerdp2-dev (2.0.0-3) ...
Setting up libx11-dev:amd64 (2:1.8.4-2) ...
Setting up libxext-dev:amd64 (2:1.3.4-1+b1) ...
dpkg: dependency problems prevent configuration of libxft-dev:amd64:
 libxft-dev:amd64 depends on libfontconfig1-dev; however:
  Package libfontconfig1-dev is not installed.
 libxft-dev:amd64 depends on libfreetype6-dev; however:
  Package libfreetype6-dev is not installed.
 libxft-dev:amd64 depends on libxrender-dev; however:
  Package libxrender-dev is not installed.
 libxft-dev:amd64 depends on zlib1g-dev | libz-dev; however:
  Package zlib1g-dev is not installed.
  Package libz-dev is not installed.

dpkg: error processing package libxft-dev:amd64 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxi-dev:amd64:
 libxi-dev:amd64 depends on libxfixes-dev; however:
  Package libxfixes-dev is not installed.

dpkg: error processing package libxi-dev:amd64 (--install):
 dependency problems - leaving unconfigured
Setting up libxinerama-dev:amd64 (2:1.1.4-3) ...
dpkg: dependency problems prevent configuration of libxrandr-dev:amd64:
 libxrandr-dev:amd64 depends on libxrender-dev; however:
  Package libxrender-dev is not installed.

dpkg: error processing package libxrandr-dev:amd64 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxt-dev:amd64:
 libxt-dev:amd64 depends on libsm-dev; however:
  Package libsm-dev is not installed.

dpkg: error processing package libxt-dev:amd64 (--install):
 dependency problems - leaving unconfigured
Setting up libxxf86vm-dev:amd64 (1:1.1.4-1+b2) ...
Processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
 libgdk-pixbuf-xlib-2.0-dev:amd64
 libgdk-pixbuf2.0-dev:amd64
 libgtk2.0-dev:amd64
 libxft-dev:amd64
 libxi-dev:amd64
 libxrandr-dev:amd64
 libxt-dev:amd64
root@home:/home/freeartist-devuan/Downloads/xscreensaver-deps#
 
Old 03-24-2023, 04:37 PM   #11
Procenko
Member
 
Registered: May 2022
Posts: 144

Original Poster
Rep: Reputation: 1
Smile

solved!

successfully compiling and run at old gf9800(340.108 driver) even with 3d EGL support!

for autosolve dependencies help
Code:
apt --fix-broken install
dependencies
Code:
libxml2-dev_2.9.4+dfsg1-7+deb10u5_amd64.deb
libgdk-pixbuf2.0-dev_2.40.2-2_amd64.deb
libgdk-pixbuf-xlib-2.0-dev_2.40.2-2_amd64.deb
libgl-dev_1.6.0-1_amd64(1).deb
libgle3-dev_3.1.0-10_amd64.deb
libglu1-mesa-dev_9.0.2-1.1_amd64.deb
libgtk2.0-dev_2.24.33-2_amd64.deb
libgtk2.0-dev_2.24.33-2_i386.deb
libpam-freerdp2-dev_2.0.0-3_amd64.deb
libx11-dev_1.8.4-2_amd64.deb
libxext-dev_1.3.4-1+b1_amd64.deb
libxft-dev_2.3.6-1_amd64.deb
libxi-dev_1.8-1+b1_amd64.deb
libxinerama-dev_1.1.4-3_amd64.deb
libxrandr-dev_1.5.2-2+b1_amd64.deb
libxt-dev_1.2.1-1_amd64.deb
libxxf86vm-dev_1.1.4-1+b2_amd64.deb

sudo apt-get install libgtk-3-dev
sudo apt-get install build-essential libgtk2.0-dev
configure
Code:
./configure --prefix=/usr --with-elogind --with-pam --with-gl --with-glx --with-pixbuf --with-xft

Last edited by Procenko; 03-24-2023 at 04:42 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xscreensaver add new screensavers? dpr Linux - General 8 01-12-2023 11:33 AM
[SOLVED] Graphical Compilation/ IDE Compilation monika.2dec Ubuntu 4 08-22-2012 06:53 PM
Xscreensaver not using .xscreensaver psychobyte Fedora 4 04-07-2006 10:02 AM
xscreensaver installed, but no xscreensaver-demo command? dalesan Linux - Software 7 09-01-2004 01:06 PM
xscreensaver sets system clock back four hours the theorist Linux - General 0 04-23-2002 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration