Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18039 closed defect (fixed)

Omega-1.4.2_1 build fail.

Reported by: dmathers@… Owned by: ggreif@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: Omega

Description

It's a readline problem. I don't know if the problem is with Omega or with ghc since this is the only thing I've tried to compile with ghc so far. I note that Omega depends on port:readline and ghc doesn't. My ghc is 6.10.1_8.

--->  Building Omega
Error: Target org.macports.build returned: shell command " cd "/ports/var/macports/build/_ports_var_macports_sources_rsync.macports.org_release_ports_lang_Omega/work/Omega" && make strip " returned error 2
Command output: ghc -O -auto-all  -fglasgow-exts -fallow-undecidable-instances -o omega --make Main

on the commandline:
    Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances#-} instead

Toplevel.hs:40:7:
    Could not find module `System.Console.Readline':
      Use -v to see a list of the files searched for.
make: *** [all] Error 1

Attachments (1)

ticket-18039.tgz (605 bytes) - added by ggreif@… 16 years ago.
patch 2 more files to compile with ghc 6.10.1

Download all attachments as: .zip

Change History (6)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ggreif@…
Port: Omega added

comment:2 Changed 16 years ago by ggreif@…

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/editline

is the way to go. I'll try some experiments in the next days and come back with my findings.

Changed 16 years ago by ggreif@…

Attachment: ticket-18039.tgz added

patch 2 more files to compile with ghc 6.10.1

comment:3 in reply to:  2 Changed 16 years ago by ggreif@…

Replying to ggreif@…:

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/editline

is the way to go. I'll try some experiments in the next days and come back with my findings.

I have attached a fix. Of course the patchlevel needs to be bumped.

Could a committer be so kind and svn add those 2 files?

Thanks a bunch!!

comment:4 Changed 16 years ago by blb@…

Resolution: fixed
Status: newclosed

Updated in r45741.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.