tuxmark5 / ApexCtl

An utility to enable extra macro keys on Steelseries Apex keyboards
GNU Lesser General Public License v3.0
101 stars 19 forks source link

Dependency Issues with usb-1.2 #30

Closed kiwistrongis closed 9 years ago

kiwistrongis commented 9 years ago

When trying to install the usb library with the required 1.2 version:

$ cabal install usb-1.2.0.1
Resolving dependencies...
cabal: Could not resolve dependencies:
next goal: usb (user goal)
rejecting: usb-1.3.0.0 (global constraint requires ==1.2.0.1)
trying: usb-1.2.0.1
next goal: base (dependency of usb-1.2.0.1)
rejecting: base-4.8.0.0/installed-1b6... (conflict: usb => base>=4 && <4.8)
rejecting: base-4.8.0.0, 4.7.0.2, 4.7.0.1, 4.7.0.0, 4.6.0.1, 4.6.0.0, 4.5.1.0,
4.5.0.0, 4.4.1.0, 4.4.0.0, 4.3.1.0, 4.3.0.0, 4.2.0.2, 4.2.0.1, 4.2.0.0,
4.1.0.0, 4.0.0.0, 3.0.3.2, 3.0.3.1 (global constraint requires installed
instance)
Dependency tree exhaustively searched.

Also tried the following:

$ cabal install usb-1.2
Resolving dependencies...
cabal: Could not resolve dependencies:
next goal: usb (user goal)
rejecting: usb-1.3.0.0, 1.2.0.1 (global constraint requires ==1.2)
trying: usb-1.2
next goal: base (dependency of usb-1.2)
rejecting: base-4.8.0.0/installed-1b6... (conflict: usb => base>=4 && <4.7)
rejecting: base-4.8.0.0, 4.7.0.2, 4.7.0.1, 4.7.0.0, 4.6.0.1, 4.6.0.0, 4.5.1.0,
4.5.0.0, 4.4.1.0, 4.4.0.0, 4.3.1.0, 4.3.0.0, 4.2.0.2, 4.2.0.1, 4.2.0.0,
4.1.0.0, 4.0.0.0, 3.0.3.2, 3.0.3.1 (global constraint requires installed
instance)
Dependency tree exhaustively searched.

Seems to me like the only option is to update to usb-1.3.

tuxmark5 commented 9 years ago

Ok. I've updated the dependency to 1.3. Somebody please update all the readme files to reflect that 1.2 is no longer required or compatible with latest version of ApexCtl.

kiwistrongis commented 9 years ago

Done: 182c0c746cad51f07a7d47b891758b4fa9cb095f, f3e3b251c7de9054f8c74fbce8c2bee717e3cdc3.