Ticket #1248 (closed defect: invalid)

Opened 3 years ago

Last modified 20 months ago

Fails to install because of missing dependencies

Reported by: guest Owned by: duncan
Priority: normal Milestone: 0.11.0
Component: build system Version: 0.11.0
Keywords: Cc: ancechu@…

Description

The Gtk2HS depends on alex and happy but they are not specified as requirements in the cabal file. From a fresh installation you get:

cabal install gtk2hs-buildtools Resolving dependencies... Configuring gtk2hs-buildtools-0.12.1... cabal: The program alex is required but it could not be found. cabal: Error: some packages failed to install: gtk2hs-buildtools-0.12.1 failed during the configure step. The exception was: ExitFailure? 1

Change History

Changed 20 months ago by dmwit

  • status changed from new to closed
  • resolution set to invalid

The alex and happy executables are listed as requirements in the appropriate cabal file. Unfortunately, due to the way cabal works, it's not possible to properly depend on a cabal package that only provides executables for now. (You can request an executable, but there's no way to indicate which Haskell package can provide that executable if it's not already available.)

Thanks for the report, but there's nothing that can be done.

Note: See TracTickets for help on using tickets.