Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-06-16 14:02:10

sonwon
Member
Registered: 2014-06-14
Posts: 20

[Solved] xfce4-sensors: how to adding sensors

Can someone point me in the right direction for adding sensors to xfce4-sensors?  I all ready tried 'sudo sensors-detect'.  These are the sensors missing from xfce4-sensors:

    GPU NVIDIA GEFORCE GTX460M
    Samsung SSD (I think this one is hddtemp)

Any shove in the right direction is appreciated.

Offline

#2 2014-06-16 18:42:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] xfce4-sensors: how to adding sensors

According to this discussion, it is possible but you may need to recompile the plugin to get it to work (after install). Looks like the "xnvctrl" that is mentioned (#include <NVCtrl/NVCtrlLib.h>) is part of ubuntu's "nvidia-settings" package.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#3 2014-06-16 21:01:00

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

Thank you, I ended up creating a script in /usr/bin and using genmon applet, got the GPU temperature showing now.

#!/bin/bash
nvidia-smi -q -d TEMPERATURE | grep Gpu | cut -c39-40
exit 0

Offline

#4 2014-06-16 22:39:01

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

Enable Samsung SSD 840 EVO 500G in hddtemp by adding this line

"Samsung SSD 840 EVO 500G B"     190    C  "Samsung SSD 840 EVO 500GB"

to the Samsung section of /etc/hddtemp.db

Requires reboot.

Offline

#5 2014-06-16 22:42:26

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

ToZ wrote:

According to this discussion, it is possible but you may need to recompile the plugin to get it to work (after install). Looks like the "xnvctrl" that is mentioned (#include <NVCtrl/NVCtrlLib.h>) is part of ubuntu's "nvidia-settings" package.

If I recompile will I still get new packages?

Offline

#6 2014-06-17 01:38:14

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] xfce4-sensors: how to adding sensors

If you keep the original xfce4-sensors-plugin package installed, then yes, it will be updated and may overwrite the version you compile. If you remove the package, then no, it won't be updated.

Last edited by ToZ (2014-06-17 01:39:02)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#7 2014-06-17 16:56:55

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

This website, https://wiki.archlinux.org/index.php/Xfce says, "To detect and use sensors of nvidia gpu you need to install libxnvctrl and then recompile xfce4-sensors-plugin package."

Recompile didn't work as the libxnvctrl is needed if that website is correct.  It comes with NVIDIA-settings however it isn't compiled by the package maintainer.  I need to learn more to compile.

Offline

#8 2014-06-17 17:47:30

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] xfce4-sensors: how to adding sensors

This is for Xubuntu 14.04, correct?

Is the nvidia-settings package installed?

apt-cache policy nvidia-settings

If it is, I would suggest a process like this:

1. First remove the sensors applet from the panel and uninstall the existing sensors plugin (we can install it later if we need it back):

 sudo apt-get remove xfce4-sensors-plugin

2. Install the build essentials:

sudo apt-get install build-essential

3. Create a build directory and move there:

mkdir ~/Downloads/build && cd ~/Downloads/build

4. Get the source:

apt-get source xfce4-sensors-plugin

5. Get the build dependencies:

sudo apt-get build-dep xfce4-sensors-plugin

6. Go to the source directory:

cd xfce4-sensors-plugin-1.2.5

7. Compile and install:

./configure --prefix=/usr --enable-xnvctrl
make
sudo make install

8. Re-run sensors-detect:

sudo sensors-detect

9. Add the sensors applet back to the panel and see if it includes the nvidia info.

I don't have a system with an nvidia card to validate whether this will display the nvidia sensor.
If you need to undo these changes and revert back to the version from the repositories, first (from the xfce4-sensors-plugin build directory) run:

sudo make uninstall

...then reinstall the package:

sudo apt-get install xfce4-sensors-plugin

Last edited by ToZ (2014-06-17 23:17:11)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#9 2014-06-17 18:28:45

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

Sorry for not being more clear.  I actually recompiled xfce4-sensors-plugin like this:

sudo apt-get build-dep xfce4-sensors-plugin
apt-get source xfce4-sensors-plugin -b

This did not work.  What isn't clear to me is compiling libxnvctrl.  I believe the library and headers were loaded with nividia-settings.

Offline

#10 2014-06-17 20:33:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] xfce4-sensors: how to adding sensors

Just reviewing the code and in http://git.xfce.org/panel-plugins/xfce4 … gure.ac.in, there is:

--enable-xnvctrl

Looks like a configuration parameter. You might want to try:

./configure --enable-xnvctrl

EDIT: Yep, it lists it as supported now at the end of the ./configure run.

Last edited by ToZ (2014-06-17 20:34:01)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#11 2014-06-17 21:30:55

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

I changed step 7 to (posting this for anyone reading this thread later on):

./configure --enable-xnvctrl
make
sudo make install

And it worked perfectly.  I have this saved so it is repeatable.  And I can apply this to other packages.

Thank you again for all your support!

Offline

#12 2014-06-17 23:20:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] xfce4-sensors: how to adding sensors

Glad to hear. I've edited my post as well for accuracy.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#13 2014-07-14 21:31:31

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

Well, this no longer works?  When I follow this process the sensor applet is not available to add to the panel.

Offline

#14 2014-07-14 23:42:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] xfce4-sensors: how to adding sensors

Can you post back the results of your ./configure, make and make install commands? Maybe there is an error there.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#15 2014-07-15 20:16:24

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

./configure --enable-xnvctrl

~/Downloads/build/xfce4-sensors-plugin-1.2.5$ ./configure --enable-xnvctrl
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether NLS is requested... yes
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.18.2
checking for XML::Parser... ok
checking for ANSI C header files... (cached) yes
checking for sensors_get_detected_chips in -lsensors... yes
checking for hddtemp... yes
checking for hddtemp path... /usr/sbin/hddtemp
checking for netcat... yes
checking for nc... yes
checking for netcat path... /bin/netcat
checking for hddtemp being queryable via netcat... 
checking for /proc/acpi/info... no
checking for /sys/class/power_supply... yes
checking for gethostname... yes
checking for memset... yes
checking for socket... yes
checking for strstr... yes
checking for malloc... yes
checking for bzero... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether gcc needs -traditional... no
checking for size_t... yes
checking for kstat_open in -lkstat... no
checking for kstat_open in -lnsl... no
checking for ceilf in -lm... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-2.0 >= 2.10.0... 2.24.23
checking GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz  
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype  
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib-2.0 >= 2.6.0... 2.40.0
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  
checking GLIB_LIBS... -lglib-2.0  
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libnotify >= 0.4... 0.7.6
checking LIBNOTIFY4_CFLAGS... -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libpng12  
checking LIBNOTIFY4_LIBS... -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libnotify >= 0.7... 0.7.6
checking LIBNOTIFY7_CFLAGS... -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libpng12  
checking LIBNOTIFY7_LIBS... -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4ui-1 >= 4.6.0... 4.11.1
checking LIBXFCE4UI_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz  
checking LIBXFCE4UI_LIBS... -lxfce4ui-1 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lfreetype -lglib-2.0  
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4panel-1.0 >= 4.4.0... 4.11.0
checking LIBXFCE4PANEL_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4panel-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/xfce4 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz  
checking LIBXFCE4PANEL_LIBS... -Wl,--export-dynamic -pthread -lxfce4panel-1.0 -lgtk-x11-2.0 -lgmodule-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lfreetype -lglib-2.0  
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  ar ast ca cs da de el en_GB es eu fi fr gl hu id it ja ko lt lv nl pl pt_BR pt ru sk sq sv tr ug uk ur_PK ur vi zh_CN zh_TW
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${datarootdir}/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking whether to build with debugging support... no
checking PLATFORM_LDFLAGS... 
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xfce4-sensors-plugin.spec
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating lib/libxfce4sensors-1.0.pc
config.status: creating panel-plugin/Makefile
config.status: creating src/Makefile
config.status: creating icons/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing intltool-update commands
stat: cannot stat 'intltool-update': No such file or directory
./config.status: line 2246: test: !=: unary operator expected
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

===============================================================
Build Configuration
===============================================================

The following sensor interfaces will be built into the plugin:
*  hddtemp: /usr/sbin/hddtemp (Make sure it is user-executable with UID bit set 
                      and user member of the respective group)
*  libsensors
*  /proc/acpi
*  /sys/class/power_supply
*  NVIDIA X CTRL

Support for libnotify will be built in.

Support for libnotify >= 0.7 will be built in.

Full debug is disabled

===============================================================
~/Downloads/build/xfce4-sensors-plugin-1.2.5$ 

Offline

#16 2014-07-15 20:18:39

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

make

~/Downloads/build/xfce4-sensors-plugin-1.2.5$ make
make  all-recursive
make[1]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5'
Making all in include
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/include'
Making all in lib
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/lib'
Making all in panel-plugin
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/panel-plugin'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/panel-plugin'
Making all in src
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/src'
Making all in po
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/po'
Making all in icons
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/icons'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/icons'
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5'
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5'
make[1]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5'
~/Downloads/build/xfce4-sensors-plugin-1.2.5$ 

Offline

#17 2014-07-15 20:22:07

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

sudo make install

~/Downloads/build/xfce4-sensors-plugin-1.2.5$ sudo make install
[sudo] password for sonwon: 
Making install in include
make[1]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/include'
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/include'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/include'
make[1]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/include'
Making install in lib
make[1]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/lib'
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/lib'
make[2]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libxfce4sensors-1.0.pc '/usr/local/lib/pkgconfig'
 /bin/mkdir -p '/usr/local/lib/xfce4/modules'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libxfce4sensors.la '/usr/local/lib/xfce4/modules'
libtool: install: /usr/bin/install -c .libs/libxfce4sensors.so.1.2.4 /usr/local/lib/xfce4/modules/libxfce4sensors.so.1.2.4
libtool: install: (cd /usr/local/lib/xfce4/modules && { ln -s -f libxfce4sensors.so.1.2.4 libxfce4sensors.so.1 || { rm -f libxfce4sensors.so.1 && ln -s libxfce4sensors.so.1.2.4 libxfce4sensors.so.1; }; })
libtool: install: (cd /usr/local/lib/xfce4/modules && { ln -s -f libxfce4sensors.so.1.2.4 libxfce4sensors.so || { rm -f libxfce4sensors.so && ln -s libxfce4sensors.so.1.2.4 libxfce4sensors.so; }; })
libtool: install: /usr/bin/install -c .libs/libxfce4sensors.lai /usr/local/lib/xfce4/modules/libxfce4sensors.la
libtool: install: /usr/bin/install -c .libs/libxfce4sensors.a /usr/local/lib/xfce4/modules/libxfce4sensors.a
libtool: install: chmod 644 /usr/local/lib/xfce4/modules/libxfce4sensors.a
libtool: install: ranlib /usr/local/lib/xfce4/modules/libxfce4sensors.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib/xfce4/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/xfce4/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/lib'
make[1]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/lib'
Making install in panel-plugin
make[1]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/panel-plugin'
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/panel-plugin'
make[2]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/usr/local/share/xfce4/panel-plugins'
 /usr/bin/install -c -m 644 xfce4-sensors-plugin.desktop '/usr/local/share/xfce4/panel-plugins'
 /bin/mkdir -p '/usr/local/libexec/xfce4/panel-plugins'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c xfce4-sensors-plugin '/usr/local/libexec/xfce4/panel-plugins'
libtool: install: /usr/bin/install -c .libs/xfce4-sensors-plugin /usr/local/libexec/xfce4/panel-plugins/xfce4-sensors-plugin
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/panel-plugin'
make[1]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/panel-plugin'
Making install in src
make[1]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/src'
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/src'
 /bin/mkdir -p '/usr/local/bin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c xfce4-sensors '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/xfce4-sensors /usr/local/bin/xfce4-sensors
 /bin/mkdir -p '/usr/local/share/applications'
 /usr/bin/install -c -m 644 xfce4-sensors.desktop '/usr/local/share/applications'
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/src'
make[1]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/src'
Making install in po
make[1]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/po'
linguas="ar ast ca cs da de el en_GB es eu fi fr gl hu id it ja ko lt lv nl pl pt_BR pt ru sk sq sv tr ug uk ur_PK ur vi zh_CN zh_TW "; \
	for lang in $linguas; do \
	  dir=/usr/local/share/locale/$lang/LC_MESSAGES; \
	  /bin/bash /home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/install-sh -d $dir; \
	  if test -r $lang.gmo; then \
	    /usr/bin/install -c -m 644 $lang.gmo $dir/xfce4-sensors-plugin.mo; \
	    echo "installing $lang.gmo as $dir/xfce4-sensors-plugin.mo"; \
	  else \
	    /usr/bin/install -c -m 644 ./$lang.gmo $dir/xfce4-sensors-plugin.mo; \
	    echo "installing ./$lang.gmo as" \
		 "$dir/xfce4-sensors-plugin.mo"; \
	  fi; \
	  if test -r $lang.gmo.m; then \
	    /usr/bin/install -c -m 644 $lang.gmo.m $dir/xfce4-sensors-plugin.mo.m; \
	    echo "installing $lang.gmo.m as $dir/xfce4-sensors-plugin.mo.m"; \
	  else \
	    if test -r ./$lang.gmo.m ; then \
	      /usr/bin/install -c -m 644 ./$lang.gmo.m \
		$dir/xfce4-sensors-plugin.mo.m; \
	      echo "installing ./$lang.gmo.m as" \
		   "$dir/xfce4-sensors-plugin.mo.m"; \
	    else \
	      true; \
	    fi; \
	  fi; \
	done
installing ar.gmo as /usr/local/share/locale/ar/LC_MESSAGES/xfce4-sensors-plugin.mo
installing ast.gmo as /usr/local/share/locale/ast/LC_MESSAGES/xfce4-sensors-plugin.mo
installing ca.gmo as /usr/local/share/locale/ca/LC_MESSAGES/xfce4-sensors-plugin.mo
installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/xfce4-sensors-plugin.mo
installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/xfce4-sensors-plugin.mo
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/xfce4-sensors-plugin.mo
installing el.gmo as /usr/local/share/locale/el/LC_MESSAGES/xfce4-sensors-plugin.mo
installing en_GB.gmo as /usr/local/share/locale/en_GB/LC_MESSAGES/xfce4-sensors-plugin.mo
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/xfce4-sensors-plugin.mo
installing eu.gmo as /usr/local/share/locale/eu/LC_MESSAGES/xfce4-sensors-plugin.mo
installing fi.gmo as /usr/local/share/locale/fi/LC_MESSAGES/xfce4-sensors-plugin.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/xfce4-sensors-plugin.mo
installing gl.gmo as /usr/local/share/locale/gl/LC_MESSAGES/xfce4-sensors-plugin.mo
installing hu.gmo as /usr/local/share/locale/hu/LC_MESSAGES/xfce4-sensors-plugin.mo
installing id.gmo as /usr/local/share/locale/id/LC_MESSAGES/xfce4-sensors-plugin.mo
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/xfce4-sensors-plugin.mo
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/xfce4-sensors-plugin.mo
installing ko.gmo as /usr/local/share/locale/ko/LC_MESSAGES/xfce4-sensors-plugin.mo
installing lt.gmo as /usr/local/share/locale/lt/LC_MESSAGES/xfce4-sensors-plugin.mo
installing lv.gmo as /usr/local/share/locale/lv/LC_MESSAGES/xfce4-sensors-plugin.mo
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/xfce4-sensors-plugin.mo
installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/xfce4-sensors-plugin.mo
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/xfce4-sensors-plugin.mo
installing pt.gmo as /usr/local/share/locale/pt/LC_MESSAGES/xfce4-sensors-plugin.mo
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/xfce4-sensors-plugin.mo
installing sk.gmo as /usr/local/share/locale/sk/LC_MESSAGES/xfce4-sensors-plugin.mo
installing sq.gmo as /usr/local/share/locale/sq/LC_MESSAGES/xfce4-sensors-plugin.mo
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/xfce4-sensors-plugin.mo
installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/xfce4-sensors-plugin.mo
installing ug.gmo as /usr/local/share/locale/ug/LC_MESSAGES/xfce4-sensors-plugin.mo
installing uk.gmo as /usr/local/share/locale/uk/LC_MESSAGES/xfce4-sensors-plugin.mo
installing ur_PK.gmo as /usr/local/share/locale/ur_PK/LC_MESSAGES/xfce4-sensors-plugin.mo
installing ur.gmo as /usr/local/share/locale/ur/LC_MESSAGES/xfce4-sensors-plugin.mo
installing vi.gmo as /usr/local/share/locale/vi/LC_MESSAGES/xfce4-sensors-plugin.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/xfce4-sensors-plugin.mo
installing zh_TW.gmo as /usr/local/share/locale/zh_TW/LC_MESSAGES/xfce4-sensors-plugin.mo
make[1]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/po'
Making install in icons
make[1]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/icons'
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/icons'
make[2]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/usr/local/share/icons/hicolor/24x24/apps'
 /usr/bin/install -c -m 644 24x24/xfce-sensors.png '/usr/local/share/icons/hicolor/24x24/apps'
 /bin/mkdir -p '/usr/local/share/icons/hicolor/32x32/apps'
 /usr/bin/install -c -m 644 32x32/xfce-sensors.png '/usr/local/share/icons/hicolor/32x32/apps'
 /bin/mkdir -p '/usr/local/share/icons/hicolor/48x48/apps'
 /usr/bin/install -c -m 644 48x48/xfce-sensors.png '/usr/local/share/icons/hicolor/48x48/apps'
 /bin/mkdir -p '/usr/local/share/icons/hicolor/64x64/apps'
 /usr/bin/install -c -m 644 64x64/xfce-sensors.png '/usr/local/share/icons/hicolor/64x64/apps'
 /bin/mkdir -p '/usr/local/share/icons/hicolor/scalable/apps'
 /usr/bin/install -c -m 644 scalable/xfce-sensors.svg '/usr/local/share/icons/hicolor/scalable/apps'
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/icons'
make[1]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5/icons'
make[1]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5'
make[2]: Entering directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5'
make[1]: Leaving directory `/home/sonwon/Downloads/build/xfce4-sensors-plugin-1.2.5'
~/Downloads/build/xfce4-sensors-plugin-1.2.5$ 

Offline

#18 2014-07-15 21:54:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] xfce4-sensors: how to adding sensors

Looks like its using the /usr/local prefix and xfce won't find the libraries there (at least on Xubuntu it won't). Try running configure like this:

./configure --prefix=/usr --enable-xnvctrl

...then "make" then "sudo make install".


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#19 2014-07-15 22:26:19

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

That did the trick.  What tipped you off that there was a problem there?  I scanned the output for errors and didn't see any.  I use to code in C so I know a little.  I would like to learn how to fix these problems on my own.

And thank you for helping!!!

Offline

#20 2014-07-15 22:34:38

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] xfce4-sensors: how to adding sensors

I noticed the /usr/local path mapping in the output of your sudo make install command. Most Xfce installs that I've seen (including Xubuntu) install to just /usr. Installing to /usr/local (the default) would make the plugin libraries inaccessible on Xubuntu (lessons learned the hard way here).

You could have added /usr/local/lib to your library path and it would have worked, but it was just easier to compile and install into the normal directories where it would be expected.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#21 2014-07-16 11:10:01

sonwon
Member
Registered: 2014-06-14
Posts: 20

Re: [Solved] xfce4-sensors: how to adding sensors

It was a great call and thank you again for your help!

Offline

Board footer

Powered by FluxBB