wacom CTL-472 在 Ubuntu 18.04.3 LTS 上安装(构建失败问题)

wacom CTL-472 在 Ubuntu 18.04.3 LTS 上安装(构建失败问题)

我尝试在运行 Ubuntu 18.04.3 LTS 的笔记本电脑上安装 wacom CTL-472 的驱动程序。

我尝试了网上找到的大多数建议。但都没有用。

例如,我访问过https://linuxwacom.github.io/

  1. 我打开了https://github.com/linuxwacom/input-wacom/wiki/Installing-input-wacom-from-source我运行sudo apt-get install build-essential autoconf linux-headers-$(uname -r)并得到以下输出

    正在读取软件包列表...完成 正在构建依赖关系树
    正在读取状态信息...完成
    build-essential 已经是最新版本 (12.4ubuntu1)。
    autoconf 已经是最新版本 (2.69-11)。
    linux-headers-4.15.0-72-generic 已经是最新版本 (4.15.0-72.81)。
    升级了 0 个软件包,新安装了 0 个软件包,要删除 0 个软件包,未升级 0 个软件包。

  2. 然后,正如那里提到的,我打开了https://github.com/linuxwacom/input-wacom/releases,已下载输入-wacom-0.45.0.tar.bz2并提取

  3. 然后我运行if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo "Build Failed" 并得到这个输出:

bash:./configure:没有这样的文件或目录构建失败

运行 xinput list 给出以下输出

xinput list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                     id=10   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=13   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Logitech USB Receiver                     id=9    [slave  keyboard (3)]
    ↳ HP Truevision HD: HP Truevision           id=11   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
    ↳ Logitech USB Receiver                     id=14   [slave  keyboard (3)]

我该如何解决构建失败并继续解决这个问题?

这一页https://github.com/linuxwacom/input-wacom/wiki/Device-IDs说“Linux”列表示本机支持平板电脑的最低内核版本”。此外,它还说“您可以通过运行 uname -r 检查内核版本”。我这样做了,发现内核是“4.15.0-72-generic”(请参阅​​下面附加的图片),而根据该页面,内核应该至少是 4.16(请参阅下面附加的图片)。

在此处输入图片描述

我认为这可能是一个问题。我该如何解决这个问题?


我已经检查过了https://github.com/linuxwacom/input-wacom/wiki/Device-IDs看看我的设备是否受支持。结果显示是支持的。我附上了屏幕截图。

在此处输入图片描述


我还添加了已下载文件夹的屏幕截图(带有位置)。

在此处输入图片描述

文件夹内容的屏幕截图如下

在此处输入图片描述

对于 ./configure 我得到了以下响应。

在此处输入图片描述

配置权限的屏幕截图如下。

在此处输入图片描述

我所做事情的历史如下:

 1506  if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo "Build Failed"
 1507  sudo add-apt-repository ppa:doctormo/wacom-plus
 1508  sudo apt-get update
 1509  sudo apt-get dist-upgrade
 1510  sudo apt-get install wacom-dkms
 1511  if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo "Build Failed"
 1512  clear
 1513  sudo apt-get install build-essential autoconf linux-headers-$(uname -r)
 1514  if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo "Build Failed"
 1515  wacom
 1516  if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo "Build Failed"
 1517  sudo apt-get install autoconf pkg-config make xutils-dev libtool xserver-xorg-dev$(dpkg -S $(which Xorg) | grep -Eo -- "-hwe-[^:]*") libx11-dev libxi-dev libxrandr-dev libxinerama-dev libudev-dev
 1518  set -- --prefix="/usr" --libdir="$(readlink -e $(ls -d /usr/lib*/xorg/modules/input/../../../ | head -n1))"
 1519  if test -x ./autogen.sh; then ./autogen.sh "$@"; else ./configure "$@"; fi && make && sudo make install || echo "Build Failed"
 1520  clear
 1521  sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
 1522  sudo apt-get update && sudo apt-get dist-upgrade
 1523  sudo apt-get update
 1524  sudo apt-get install update-manager-core
 1525  sudo do-release-upgrade
 1526  sudo ./bionic &
 1527  xsetwacom --list devices 
 1528  sudo rmmod wacom
 1529  sudo rmmod wacom_w8001
 1530  $ if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo "Build Failed"
 1531  clear
 1532  sudo apt-get install build-essential autoconf linux-headers-$(uname -r)
 1533  if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo "Build Failed"
 1534  grep "" /sys/module/wacom*/version
 1535  sudo rmmod wacom
 1536  if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo "Build Failed"
 1537  xinput list
 1538  clear
 1539  sudo apt-get install linux-headers-$(uname -r) build-essential 
 1540  sudo apt-get install autoconf                                  
 1541  cd downloads
 1542  cd /downloads
 1543  cd /home
 1544  /downloads
 1545  cd /home
 1546  if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo "Build Failed"
 1547  modinfo wacom | grep version
 1548  sudo -s 'apt-get update && apt-get install xserver-xorg-input-wacom'
 1549  sudo apt  install build-essential autoconf linux-headers-$(uname -r)
 1550  sudo apt-get install git-core make kernel-package bc
 1551  ls home
 1552  ls /home
 1553  ls Desktop
 1554  cd input-wacom-0.45.0
 1555  /configure
 1556  ./configure
 1557  make
 1558  sudo make install
 1559  clear
 1560  sudo apt install build-essential autoconf linux-headers-$(uname -r)
 1561  cd Desktop
 1562  home
 1563  cd Desktop
 1564  sudo apt install build-essential autoconf linux-headers-$(uname -r)
 1565  ./configure
 1566  sh ./configure
 1567  xinput list
 1568  uname -r
 1569  cd Desktop
 1570  if test -x ./autogen.sh; then ./autogen.sh; else ./configure; fi && make && sudo make install || echo "Build Failed"
 1571  sudo add-apt-repository ppa:teejee2008/ppa
 1572  sudo apt-get install ukuu
 1573  sudo xhost +
 1574  sudo ukuu
 1575  sudo ukuu --install-latest
 1576  clear
 1577  sudo apt-get update
 1578  sudo apt-get install python-bs4 python-apt
 1579  cd /tmp
 1580  rm -rf medigeek-kmp*
 1581  wget https://github.com/medigeek/kmp-downloader/tarball/master -O kmpd.tar.gz
 1582  tar xzf kmpd.tar.gz
 1583  cd medigeek-*
 1584  python kmpd.py -d
 1585  uname -r
 1586  sudo apt-add-repository ppa:teejee2008/ppa
 1587  clear
 1588  uname -r
 1589  lsb_release -a
 1590  sudo apt-get install --install-recommends linux-generic-hwe-18.04  
 1591  clear
 1592  lsb_release -a
 1593  uname -mrs
 1594  sudo apt update
 1595  apt-cache search linux-generic
 1596  sudo apt install linux-image-4.xx
 1597  apt-cache search linux-image
 1598  sudo apt install linux-image-4.xx
 1599  clear
 1600  sudo add-apt-repository ppa:teejee2008/ppa
 1601  sudo apt-get update
 1602  sudo apt-get install ukuu -y
 1603  ukuu –help
 1604  uname -mrs
 1605  uname -r
 1606  clear
 1607  sudo apt-get autoremove
 1608  ukuu --list
 1609  ukuu
 1610  sudo apt-get dist-upgrade
 1611  do-releaseupgrade -c
 1612  do-release-upgrade -c
 1613  /etc/update-manager/release-upgrades
 1614  sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
 1615  apt install linux-image-generic
 1616  apt purge linux-image-generic-lts-xenial
 1617  hwe-support-status
 1618  sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
 1619  sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
 1620  clear
 1621  sudo apt install --install-recommends linux-generic-hwe-18.04
 1622  sudo do-release-upgrade -p
 1623  sudo apt-get install linux-generic-hwe-18.04
 1624  lsb_release -a
 1625  sudo apt-get install linux-generic-hwe-18.04
 1626  clear
 1627  sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
 1628  sudo apt-get install --install-recommends linux-generic-hwe-18.04
 1629  sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
 1630  sudo apt-get clean
 1631  sudo apt-get autoclean
 1632  sudo apt-get -f install
 1633  clear
 1634  sudo apt-get -u dist-upgrade
 1635  clear
 1636  sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade
 1637  clear
 1638  sudo apt-get install ppa-purge
 1639  mkdir ppa-purge && cd ppa-purge && wget http://mirror.pnl.gov/ubuntu/pool/universe/p/ppa-purge/ppa-purge_0.2.8+bzr56_all.deb && wget http://mirror.pnl.gov/ubuntu//pool/main/a/aptitude/aptitude_0.6.6-1ubuntu1_i386.deb && sudo dpkg -i ./*.deb
 1640  sudo ppa-purge ppa:someppa/ppa
 1641  apt-add-repository ppa:gnome3-team/gnome3
 1642  sudo apt-add-repository ppa:gnome3-team/gnome3
 1643  clear
 1644  sudo apt-get update
 1645  sudo apt-get upgrade
 1646  sudo apt --fix-broken install
 1647  sudo apt-get update
 1648  lsb_release -a
 1649  uname -mrs
 1650  sudo apt-get install ukuu -y
 1651  wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.4_amd64.deb
 1652  ppa-purge
 1653  sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
 1654  sudo apt-get update
 1655  sudo aptt update
 1656  sudo apt update
 1657  lsb_release -a
 1658  sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
 1659  ppa: lubuntu-desktop/ppa 
 1660  ppa: lubuntu-desktop/ppa
 1661  lsb_release -a
 1662  ppa: lubuntu-desktop/ppa
 1663  sudo apt install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
 1664  sudo apt-get update
 1665  clear
 1666  sudo do-release-upgrade -p
 1667  history

相关内容