Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:

Ticket #32 (closed enhancement: wontfix)

Opened 5 years ago

Last modified 5 years ago

problem configuring generic source tarball under debian lenny: editline is missing

Reported by: aycan.irican@… Owned by: duncan
Priority: minor Milestone: 2009.2.0.1
Component: Generic source tarball Keywords: debian source editline


aycan@mon:~/haskell-platform-2009.2.0$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for ghc... /home/local/bin/ghc
checking for ghc-pkg... /home/local/bin/ghc-pkg
checking for hsc2hs... /home/local/bin/hsc2hs
checking version of ghc... 6.10.2
checking version of ghc-pkg matches... yes
checking ghc actually works... yes
checking the ghc core packages are all installed... no
configure: error: The core package editline- is missing. It should have been distributed with 6.10.2
aycan@mon:~/haskell-platform-2009.2.0$ ghci
GHCi, version 6.10.2:  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Prelude> :q

Change History

  Changed 5 years ago by dons

  • milestone set to 2009.2.1

Strange. editline is listed as being available in ghc6 on Debian:

I wonder if this should be a bug against Debian, rather than the package? (We don't want to collect distro bugs here).

  Changed 5 years ago by duncan

That is strange indeed. We should get an explanation from the Debian folks.

From first impressions I'd say that the ghc installation should indeed have that core package registered and that the ./configure script has correctly discovered a problem.

  Changed 5 years ago by dons

Issue reported to the Debian Haskell team:

  Changed 5 years ago by nomeata@…

Note that the snippet above mentions ghc-6.10.2, which is not packaged for Debian yet. Aycan must have gotten it somewhere else...

  Changed 5 years ago by jgoerzen@…

Smells as if the builder didn't install libeditline-dev or libedit-dev prior to building.

  Changed 5 years ago by dons

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

OK. Closing. Not a bug with the platform, or Debian's packages.

My guess: wrong GHC+editline config downloads from

follow-up: ↓ 8   Changed 5 years ago by aycan.irican@…

  • priority changed from blocker to minor
  • type changed from defect to enhancement

why we need editline package to build haskell platform?

in reply to: ↑ 7   Changed 5 years ago by duncan

Replying to

why we need editline package to build haskell platform?

If you're asking which other platform packages need editline then the answer is none. If you're asking why do we look for editline, it's because the platform specifies a GHC release and the core libs that come with that release.

That said, we may need to make an exception anyway since I think GHC 6.10.3 does not include editline at all.

Note: See TracTickets for help on using tickets.