添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
温柔的苹果  ·  【arai ...·  4 月前    · 
霸气的小熊猫  ·  联想拯救者Y700 2023 ...·  4 月前    · 
痴情的篮球  ·  知乎日报 - 知乎·  8 月前    · 

xboxdrv and libx11-dev

trying to  get my xbox controller working on arch linux. I got the xboxdrv from AUR but I can't get past the makepkg part.

here's a snippit:

[root@myhost xboxdrv]# makepkg --asroot -s
==> Making package: xboxdrv 0.8.4-1 (Wed Jul 18 22:26:08 EDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Found xboxdrv-linux-0.8.4.tar.bz2
==> Validating source files with md5sums...
    xboxdrv-linux-0.8.4.tar.bz2 ... Passed
==> Extracting Sources...
  -> Extracting xboxdrv-linux-0.8.4.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
scons: Reading SConscript files ...
Checking for C++ library X11... no
libx11-dev must be installed!
==> ERROR: A failure occurred in build().
    Aborting...
[root@myhost xboxdrv]# 

anyone got any ideas?

Re: xboxdrv and libx11-dev

why are you running "makepkg" as ROOT user and using "--asroot" option ? never run it as ROOT user unless you know what you are doing.
running "makepkg -si" can solve your problem about dependencies. If that doesn't work try searching for dependencies in AUR.
Do you have "base-devel" package installed?


Never argue with stupid people,They will drag you down to their level and then beat you with experience. --Mark Twain
@github

Re: xboxdrv and libx11-dev

illusionist wrote:

why are you running "makepkg" as ROOT user and using "--asroot" option ? never run it as ROOT user unless you know what you are doing.
running "makepkg -si" can solve your problem about dependencies. If that doesn't work try searching for dependencies in AUR.
Do you have "base-devel" package installed?


well, during my install i forgot to edit visudo, and long story short, the wheel setting doesn't work properly. makepkg -si should be the same as makepkg -s which i am running. and the base-devel package is installed.