Re: Xbox 360 controller on Fedora 32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sat, 25 Jul 2020 12:19:15 -0600
Greg Woods <greg@xxxxxxxxxxxxxx>:
> I attempted to download and compile xboxdrv, but it does not work due
> to Python 2 vs. 3 incompatibilities, and it doesn't look like any
> work has been done on xboxdrv in quite some time. If I try to make
> it, I get this:
> 
> 
> root@snowcrash xboxdrv-linux-0.8.8]# make
> scons
> scons: Reading SConscript files ...
>   File "/local/src/xboxdrv-linux-0.8.8/SConstruct", line 34
> 
>     print target
> 
>           ^
> 
> SyntaxError: Missing parentheses in call to 'print'. Did you mean
> print(target)?
> 
> make: *** [Makefile:24: xboxdrv] Error 2
> 
> Certainly looks like Python version incompatibility.

Print is super easy to fix:
- print target
+ print(target)

I bet there is about 100 other thing to fix. As Ed suggested, 2to3
shoud handle prints and other obvious problems, but it do not handle
missing dependencies, which are a problem with migrating to Python 3.

-- 
Łukasz Posadowski
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux