[Haskell-cafe] Error building Edison 188.8.131.52
gwright at comcast.net
Thu Oct 19 10:11:16 EDT 2006
On Oct 18, 2006, at 8:47 AM, Robert Dockins wrote:
> On Oct 17, 2006, at 1:46 PM, Gregory Wright wrote:
>> On Oct 17, 2006, at 1:07 PM, Robert Dockins wrote:
>>> On Oct 17, 2006, at 12:55 PM, Gregory Wright wrote:
>>>> Hi Rob,
>>>> I've built Edison 184.108.40.206 using ghc-6.6. (I'm testing the
>>>> formerly darwinports, packages for the new 6.6 release.)
>>>> The build goes fine, but the ./Setup register fails claiming
>>>> that the directory
>>>> /opt/local/lib/EdisonAPI-1.2/ghc-6.6/include does not exist. I
>>>> can make the
>>>> directory by hand, and the registration works. I have an ugly
>>>> but I wanted to check with you that this is really a cabal bug.
>>>> using ghc-6.4.2 on OS X/ppc worked just fine for me.
>>>> Best Wishes,
>>> I'm not doing anything unusual with the cabal scripts (that I'm
>>> aware of!), so I expect this is a cabal or GHC bug.
>>> BTW, could you run the test suite if you get a moment? Every
>>> data point helps.
>> Hi Rob,
>> OK, it looks like cabal has gone slightly broken again. :-(
> Any idea what the problem is? Or why other people aren't yelling
> about it? Is it only the "register" command that is broken?
I don't know what the problem is yet. It only affects the "register"
command, which I suspect is
It may be moot, since I have discovered more infelicities when using
cabal and macports together.
Macports allows an applications tree to be uninstalled and
reinstalled. Uninstallation is done
by removing the installed file; reinstallation is done by unpacking
them from a tarball. The
problem here is that the Setup script is not preserved after the
initial build, so unregistering
and reregistering don't work.
The workaround will likely be to run the ghc-pkg commands directly,
rather than using
setup. The cabal folks might want to think about saving setup
scripts somewhere, so that
"unregister" could be run even if the original build tree were deleted.
I could just unarchive the whole library or application and rebuild
the setup script, but that
doesn't seem very attractive either.
>> Here's the test data:
>> OS X 10.4.8/ppc
>> PowerBook G4, 1.5 GHz, 1 GB ram
>> ghc-6.6, cabal 1.1.6 as distributed with ghc-6.6, built using
>> test output:
>> Welcome to Darwin!
>> crossroads-able> cd ~/Desktop/edison-220.127.116.11-source/test/
>> crossroads-able> ./dist/build/testSuite/testSuite
>> Cases: 1728 Tried: 1728 Errors: 0 Failures: 0
> Excellent. That's what I like to see. Thanks!
>> Everything looks good but for the package registration.
>> I should add that I find the Edison package wonderfully easy
>> to work with. It has really helped me out while writing simulation
>> of the custom communication system for a customer. Many thanks
>> to you, Rob, and Chris Okasaki for this fine software!
>> Best Wishes,
> Rob Dockins
> Speak softly and drive a Sherman tank.
> Laugh hard; it's a long way to the bank.
> -- TMBG
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe