Skip to content

Ubuntu 23.04 Incompatibility Issue #34

@Ogjerry

Description

@Ogjerry

Hi. I am running Haskell with vscode and Ubuntu 23.04. I want to install haskell-debug-adapter on my system but can never figure out a way to install that properly by command line

stack install haskell-dap ghci-dap haskell-debug-adapter

but it will always show "fail to build zib-0.6.3.0"

vector                           > Registering library for vector-0.13.1.0..
Progress 69/87        

Error: [S-7282]
       Stack failed to execute the build plan.
       
       While executing the build plan, Stack encountered the error:
       
       [S-7011]
       While building package zlib-0.6.3.0 (scroll up to its section to see the
       error) using:

and

zlib                         > configure
zlib                         > Configuring zlib-0.6.3.0...
zlib                         > Error: Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4: Missing dependency on a
zlib                         > foreign library:
zlib                         > * Missing (or bad) header file: zlib.h
zlib                         > * Missing (or bad) C library: z

I tried to add libz.h and libz.so to the --extra-include-dirs and --extra-lib-dirs but they don't work as well. Can anyone help with the situation? Thank you.

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