! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Install issues & no info in Readme file
Status:
RESOLVED: WONTFIX
Product:
Xfce4-power-manager
Component:
General

Comments

Description Simon Dedman 2016-08-08 20:29:41 CEST
While much derided in the community, Ubuntu Software Centre at least simplifies things somewhat for the user. I'm trying and failing to install v1.6.0 using generic "./configure make install" instructions, as well as extra ones from here (http://www.linuxfromscratch.org/blfs/view/svn/xfce/xfce4-power-manager.html) and tips from here (https://askubuntu.com/questions/324261/configure-no-such-file-or-directory-even-after-installing-build-essentials) and here (https://help.ubuntu.com/community/CompilingEasyHowTo) and getting nowhere.

I've downloaded the tarball to downloads and unpacked it to /home/me/xfce4-power-manager-1.6.0/
I've opened a terminal in that folder and tried:
./configure
./configure --prefix=/usr --sysconfdir=/etc && make
./configure --prefix=/home/simon/xfce4-power-manager-1.6.0 --sysconfdir=/etc && make
 ./configure --prefix=/xfce4-power-manager-1.6.0 --sysconfdir=/etc && make
and get:
bash: ./configure: No such file or directory

./configure.ac.in --prefix=/home/simon/xfce4-power-manager-1.6.0 --sysconfdir=/etc && make
permission denied
sudo ./configure.ac.in --prefix=/home/simon/xfce4-power-manager-1.6.0 --sysconfdir=/etc && make
sudo: ./configure.ac.in: command not found

Please could someone
A. Let me know how one installs this program
B. Put that info in the README file
Thanks

Additionally a PPA for this program would be super useful. Cheers.
Comment 1 Simon Dedman 2016-08-08 21:28:33 CEST
install xfce4-dev-tools
gtk+-3.0 => 3.14.0 not found [but 3.16.7-0ubuntu3.3 installed]
sudo apt-get install build-essential libgtk-3-dev
checking for libxfconf-0 >= 4.12.0... not found [but 4.12.0-2 installed]
sudo apt-get install build-essential libxfconf-0-dev
libxfce4ui-2 >= 4.12.0... not found [but 4.12.1-2 installed]
sudo apt-get install build-essential libxfce4ui-2-dev
upower-glib >= 0.99.0... not found [not install. apt-get unable to locate. upower installed
sudo apt-get install build-essential libupower-glib-dev
worked
make
worked
make install
recipes failed
sudo make install
looks like everything worked

Please could these instructions be included in the readme for the benefit of future users?

Cheers
Comment 2 Simon Steinbeiss editbugs 2017-11-01 00:00:23 CET
xfce4-power-manager 1.6.0 should be available in a PPA, e.g. this one:
https://launchpad.net/~xubuntu-dev/+archive/ubuntu/ppa

Also, please don't use ./configure directly (especially not with sudo!), use ./autogen.sh instead.

You really shouldn't have to build from source and if you want to do that, it's partly documented here:
https://docs.xfce.org/xfce/building

Further examples can be found here:
https://github.com/schuellerf/xfce-test/blob/master/Dockerfile

Finally: Install instructions are usually distro specific, so that would make for a very long README file (plus they would constantly have to be updated because distros change). This means the READMEs of the released stuff would often not be up-to-date and that would be even more misleading.

Cheers
Comment 3 Simon Steinbeiss editbugs 2017-11-01 00:00:44 CET
Also: sudo apt-get build-dep xfce4-power-manager is quite useful in general.

Bug #12750

Reported by:
Simon Dedman
Reported on: 2016-08-08
Last modified on: 2017-11-01

People

Assignee:
Ali Abdallah
CC List:
4 users

Version

Attachments

Additional information