Stop! Tickets are now managed at GitHub.

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

Ticket #107 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

building haskell platform yields unrecognized option error on ubuntu

Reported by: metaperl Owned by: dons
Priority: major Milestone:
Component: Platform Keywords: ubuntu


I am using the latest ubuntu and tried to build haskell-platform-2009.2.0.2

after running configure I attempt to run make and get the following error

* Configuration completed successfully.           
*   Install prefix: /usr/local
*     Haskell packages will be registered into    
*     the global ghc package database             
*   If you wish to change these settings then     
*   use --prefix= and/or --enable-user-install    
* Now do "make" followed by "sudo make install"   
"/usr/bin/ghc" "--make" "Setup" "-o" "Setup" "-package" "Cabal-"
Linking Setup ...
"./Setup" "configure" "--package-db=../../packages/package.conf.inplace" "--prefix=/usr/local" "--with-compiler=/usr/bin/ghc" "--with-hc-pkg=/usr/bin/ghc-pkg" "--with-hsc2hs=/usr/bin/hsc2hs" "--with-happy=../happy-1.18.4/dist/build/happy/happy" "--happy-options=--template=../happy-1.18.4" "--with-alex=../alex-2.3.1/dist/build/alex/alex" "--with-cabal-install=../cabal-install-0.6.2/dist/build/cabal/cabal" "--enable-library-profiling"
unrecognized option `--with-cabal-install=../cabal-install-0.6.2/dist/build/cabal/cabal'

Configuring the mtl- package failed
make: *** [build.stamp] Error 2

Change History

Changed 6 years ago by metaperl


It turns out you need to remove both mtl packages:

sudo apt-get remove libghc6-mtl-dev libghc6-mtl-prof

then start over

make clean ./configure make

Changed 6 years ago by dons

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


Note: See TracTickets for help on using tickets.