Skip to content

Error While Installing hdbc-mysql With Cabal On Windows #31

@waste-of-kindergarten

Description

@waste-of-kindergarten

I'm trying to install hdbc-mysql on my computers. But something went wrong. I wonder if there is any solutions for this. Thanks!

`Resolving dependencies...
Build profile: -w ghc-9.2.5 -O1
In order, the following will be built (use -v for more details):

  • old-locale-1.0.0.7 (lib) (requires download & build)
  • utf8-string-1.0.2 (lib) (requires download & build)
  • old-time-1.1.0.3 (lib:old-time) (requires download & build)
  • convertible-1.1.1.1 (lib) (requires download & build)
  • HDBC-2.4.0.4 (lib) (requires download & build)
  • HDBC-mysql-0.7.1.0 (lib:HDBC-mysql) (requires download & build)
    Downloading old-locale-1.0.0.7
    Downloaded old-locale-1.0.0.7
    Downloading old-time-1.1.0.3
    Starting old-locale-1.0.0.7 (lib)
    Downloaded old-time-1.1.0.3
    Downloading utf8-string-1.0.2
    Downloaded utf8-string-1.0.2
    Downloading convertible-1.1.1.1
    Starting utf8-string-1.0.2 (lib)
    Downloaded convertible-1.1.1.1
    Downloading HDBC-2.4.0.4
    Downloaded HDBC-2.4.0.4
    Downloading HDBC-mysql-0.7.1.0
    Downloaded HDBC-mysql-0.7.1.0
    Building old-locale-1.0.0.7 (lib)
    Building utf8-string-1.0.2 (lib)
    Installing old-locale-1.0.0.7 (lib)
    Completed old-locale-1.0.0.7 (lib)
    Starting old-time-1.1.0.3 (all, legacy fallback)
    Installing utf8-string-1.0.2 (lib)
    Completed utf8-string-1.0.2 (lib)
    Building old-time-1.1.0.3 (all, legacy fallback)
    Installing old-time-1.1.0.3 (all, legacy fallback)
    Completed old-time-1.1.0.3 (all, legacy fallback)
    Starting convertible-1.1.1.1 (lib)
    Building convertible-1.1.1.1 (lib)
    Installing convertible-1.1.1.1 (lib)
    Completed convertible-1.1.1.1 (lib)
    Starting HDBC-2.4.0.4 (lib)
    Building HDBC-2.4.0.4 (lib)
    Installing HDBC-2.4.0.4 (lib)
    Completed HDBC-2.4.0.4 (lib)
    Starting HDBC-mysql-0.7.1.0 (all, legacy fallback)
    cabal-3.6.2.0.exe: Failed to build HDBC-mysql-0.7.1.0. The failure occurred
    during the configure step. The exception was:
    dieVerbatim: user error (cabal-3.6.2.0.exe: 'E:\ghcup\bin\ghc.exe' exited with
    an error:

C:\Users\lambda\AppData\Local\Temp\cabal-install.-17320\dist-newstyle\tmp\src-17320\HDBC-mysql-0.7.1.0\dist\setup\setup.hs:38:21:
error:
Variable not in scope:
rawSystemProgramStdoutConf
:: Verbosity -> Program -> ProgramDb -> t
|
38 | let mysqlConfig = rawSystemProgramStdoutConf verbosity mysqlConfigProgram
(withPrograms lbi)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions