Compiling gpointing-device-settings-1.5.1 on OpenSUSE 11.3 problem

Hello :slight_smile: (hope not to be mistaken posting this here)

I am having problems with my touchpad on my dv7 notebook, that I can not resolveā€¦ so I thought it would be a good idea to update the gpointing-device-settings that came with the opensuse 11.3 repositories (version 1.3.1-1.2 too old maybe)

So I downloaded the source files but when I try to ./configure, I have some errors telling my that my gtk+ and gnome-settings-daemon versions are older (that is not true, I check them and they are newer)

So I am a little lost hereā€¦ and also new rather new in linux world, hope someone can give me some help :slight_smile:

Thank you very much,

S.

Here is the ./configure output:


damususe:/home/sebadamus/Downloads/gpointing-device-settings-1.5.1 # ls
aclocal.m4    configure     libgpointing-device-settings.pc.in  modules
autogen.sh    configure.ac  ltmain.sh                           NEWS
ChangeLog     COPYING       m4                                  po
config.guess  data          MAINTAINERS                         src
config.h.in   depcomp       Makefile.am                         test
config.log    doc           Makefile.in                         TODO
config.sub    install-sh    missing
damususe:/home/sebadamus/Downloads/gpointing-device-settings-1.5.1 # ./configurechecking 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... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking how to create a pax tar archive... (cached) gnutar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/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 for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 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/x86_64-suse-linux/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 for pkg-config... /usr/bin/pkg-config
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 dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.1 found
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.12.1
checking for XML::Parser... ok
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 locale.h... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking for libintl.h... (cached) yes
checking for ngettext in libc... (cached) yes
checking for dgettext in libc... (cached) yes
checking for bind_textdomain_codeset... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.14.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for glib-mkenums... /usr/bin/glib-mkenums
checking pkg-config is at least version 0.9.0... yes
checking for GNOME_SETTINGS_DAEMON... configure: error: Package requirements (gnome-settings-daemon >= 2.28.0) were not met:

No package 'gnome-settings-daemon' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GNOME_SETTINGS_DAEMON_CFLAGS
and GNOME_SETTINGS_DAEMON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

damususe:/home/sebadamus/Downloads/gpointing-device-settings-1.5.1 # 

Looks like it requires a newer Gnome version then you have.

checking for GNOME_SETTINGS_DAEMONā€¦ configure: error: Package requirements (gnome-settings-daemon >= 2.28.0) were not met:

Sorry I run KDE thus can not help further

Thanks Gogalthorp, I double check my version and its gnome-settings-daemon 2.30.1-2.6, so I think I am doing something else wrong orā€¦ I dont know what may be happening.

Here I found a good guide about compiling, its for newbies (me :slight_smile: ā€¦ Compiling and installing software from source in Linux

Hope to find a solutionā€¦

OK, I tried some more hopping to solve my touchpad problem upgrading gpointing-device-settings (I mean compiling a new one because the default in the distro is rather old)

Seems that the error when compiling:
checking for GNOME_SETTINGS_DAEMONā€¦ configure: error: Package requirements (gnome-settings-daemon >= 2.28.0) were not met:

Means that I need to have the gnome settings daemon development files, I installed them, now I could compile the program I think, but I dont know what to do next or how to try the program I compile (or if I have installed it :frowning:

Anyway this is the output, hope someone can help me to understand how this worksā€¦

Thanks! :slight_smile:

(Output in pastebin)
RAW OUTPUT 8xxkGVHe

Hi
As your user (NOT ROOT) run the command;


/usr/local/bin/gpointing-device-settings

If you also looked at the tutorial, you would have seen the
instructions to compile as your user, not root user then you can use su
or sudo to install.

ā€“
Cheers Malcolm Ā°ĀæĀ° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default
up 2 days 16:36, 3 users, load average: 0.13, 0.07, 0.01
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.29

Thanks Malcom, I could found the program in the /usr/local/bin/gpointing-device-settings as you told me. The tutorial told to run as root only the ā€œmake installā€ command, the rest as lowlevel userā€¦ I miss it, but it worked doing the whole process as root, also.

Hi
Just a follow up, I submitted a fix/update to the Gnome:Contrib repository for gpointing-device-settings so hopefully it will be accepted soon.
https://build.opensuse.org/package/show?package=gpointing-device-settings&project=home%3Amalcolmlewis%3Abranches%3AGNOME%3AContrib

Thanks! thats great MalcomLewis rotfl!