How do I install libsuinput on Raspberry Pi 10 (Buster) - linux-kernel

I'm working on a project that requires libsuinput available here
https://github.com/tuomasjjrasanen/libsuinput
I've downloaded it but when I follow the instructions in the readme
Just run the following commands:
./configure && make && make install
I get the following error
bash: ./configure: No such file or directory
Instructions couldn't be simpler but its just not working. Am I missing something or is the module not compatible with the latest version of Raspberry Pi?

You need to run ./autogen.sh first - it will call autoreconf that will create configure script.
If you get:
pi#raspberrypi:~/libsuinput $ ./autogen.sh
aclocal: warning: couldn't open directory 'm4': No such file or directory
configure.ac:9: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
install libtool:
sudo apt-get -y install libtool

Related

`gnutls/gnutls.h: No such file or directory` while installing latest `cups`

I am trying to install the latest version of cups 2.3.3, I was following
https://fossies.org/linux/cups/INSTALL.md
After the make command, I got the foll error.
In file included from cups-private.h:21:0,
from auth.c:17:
http-private.h:70:14: fatal error: gnutls/gnutls.h: No such file or directory
# include <gnutls/gnutls.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [../Makedefs:271: auth.o] Error 1
Note that I followed the step
sudo apt-get install autoconf build-essential libavahi-client-dev \
libgnutls28-dev libkrb5-dev libnss-mdns libpam-dev \
libsystemd-dev libusb-1.0-0-dev zlib1g-dev
before going to make.
It seems like you're missing a gnutls related package. Try to search which package you need:
$ apt-file search gnutls/gnutls.h
libgnutls28-dev: /usr/include/gnutls/gnutls.h

dfu-programmer 0.6.2 error message during ./bootstrap.sh

I'm after little help. I'm working on a hobby project to create a mouse from an Arduino with an accelerometer.
For part of this I need to change the firmware on the atmega16u2. I have a mac so to do this I am trying to use the dfu-programmer.
When I use the ./bootstrap.sh command line in terminal I get the following error messages displayed. I was wondering if anyone could shed some light on what they mean and if this would prevent the program from working ?
DJ:dfu-programmer-0.6.2 hd334$ ./bootstrap.sh
sh: autom4te: command not found
aclocal: error: echo failed with exit status: 127
./bootstrap.sh: line 3: autoheader: command not found
sh: autoconf: command not found
automake: error: autoconf failed with exit status: 127
./bootstrap.sh: line 5: autoconf: command not found
DJ:dfu-programmer-0.6.2 hd334$
You need to install autom4te, autoheader, autoconf, libusb-compat and libusb before executing dfu-programmer.
All those auto* prerequisites are included in autoconf package. I recommend you to install home-brew package manager. It can do these things automatically. Although there is dfu-programmer package in the repository, so you can install it automatically too.
To install home-brew, run this command in your Terminal:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Recommended: After that, install dfu-programmer with this command:
brew install dfu-programmer
If you want to install prerequisites only, run this command:
brew install autoconf libusb libusb-compat
then rerun ./bootstrap.sh.

How do you compile Mesos on OS X Yosemite

I followed the directions outlined here: http://mesos.apache.org/gettingstarted/
I checked everything out and then ran:
$ xcode-select --install
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install autoconf automake libtool subversion maven
When I go into the mesos directory and run ./bootstrap I get the following:
ln: .git/hooks/pre-commit: Not a directory
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --warnings=all -I m4
aclocal: error: aclocal: file '/usr/local/share/aclocal/libmcrypt.m4' does not exist
autoreconf: aclocal failed with exit status: 1
Not sure what I'm doing wrong, any help is much appreciated.
EDIT
Just thought I'd add that the selected answer solved the issue for me. After running make check I had 3 tests that failed. I ran it again and got 5 that failed. I exhaustively ran
$ ./bin/mesos-tests.sh --gtest_filter="NAMEOFFAILEDTEST" --verbose
and ended up with only three that failed because Docket tests are not supported on non-linux systems:
[ FAILED ] ExamplesTest.TestFramework
[ FAILED ] ExamplesTest.NoExecutorFramework
[ FAILED ] ExamplesTest.PersistentVolumeFramework
Hope this helps others in the future.
aclocal: error: aclocal: file '/usr/local/share/aclocal/libmcrypt.m4' does not exist
That file is provided by MCrypt. brew install mcrypt

Why can't I install libzmq in order to have ratchet working ? (Websocket)

Not sure if I'm posting on the correct Stack Exchange forum. Please redirect me to the proper one if needed.
When setting up Ratchet, I need to install ZeroMQ and I am stuck at the libzmq installation:
I have followed the instructions https://github.com/zeromq/libzmq/blob/master/INSTALL
I'm on mac os X 10.9
when doing the following command:
./autogen.sh
here is what I get:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I config --force -I config
main::scan_file() called too early to check prototype at /opt/lo/bin/aclocal line 617.
autoreconf: configure.ac: tracing
autoreconf: configure.ac: subdirectory
foreign/openpgm/build-staging/openpgm/pgm/ not present
autoreconf: configure.ac: not using Libtool
autoreconf: running: /opt/lo/bin/autoconf --include=config --force
configure.ac:57: error:
possibly undefined macro: AC_LIBTOOL_WIN32_DLL If this token and
others are legitimate, please use m4_pattern_allow. See the Autoconf
documentation.
configure.ac:58: error: possibly undefined macro: AC_PROG_LIBTOOL
configure:5242: error: possibly undefined macro: AC_DISABLE_STATIC
configure:5246: error: possibly undefined macro: AC_ENABLE_STATIC
autoreconf: /opt/lo/bin/autoconf failed with exit status: 1
autogen.sh: error: autoreconf exited with status 0
And I can't have it working.
Please help
Many Thanks
This happened to me when installing a different package. The fix was to install libtool with:
$ sudo apt-get install libtool
then run:
$ ./auto_gen.sh
then you can proceed as normal:
$ ./configure && make
$ sudo make install

MagickWand ./configure can't find MagickWand-config

I've been trying unsuccessfully to install ImageMagick and am stuck at this point. I've dled and phpized MagickWand and am trying to run ./configure and get the error:
checking MagickWand-config in default path... configure: error: Cannot locate configuration program MagickWand-config
I've tried both export PATH=$PATH:/opt/local/bin
and export PATH=$PATH:/opt/local/bin/
and have also tried adding the paths to my .bash_profile file. I've also confirmed that there is a MagickWand-config executable in my /opt/local/bin directory.
Suggestions?
Try sudo apt-get install libmagickwand-dev and then run ./configure. Worked for me on Ubuntu 10.04 after grabbing MagickWand 1.0.8 source from http://www.magickwand.org/download/php/.
Check MagickWand-config - if it doesn't install,
Run sudo apt-get install libmagickwand-dev in your server
Reference the MagicWand-config man pages for further options

Resources