Stop! Tickets are now managed at GitHub.

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


Ticket #107 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

building haskell platform yields unrecognized option error on ubuntu

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

Description

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"   
**************************************************
scripts/build.sh
Building 
"/usr/bin/ghc" "--make" "Setup" "-o" "Setup" "-package" "Cabal-1.6.0.3"
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'

Error:
Configuring the mtl-1.1.0.2 package failed
make: *** [build.stamp] Error 2
metaperl@locohost:~/tmp/haskell-platform-2009.2.0.2$

Change History

Changed 4 years ago by metaperl

Per: http://sitr.us/2009/07/02/how-to-install-haskell-platform-on-ubuntu-jaunty.html

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 4 years ago by dons

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

Closed.

Note: See TracTickets for help on using tickets.