Comments (7)
What version of GHC and cabal are you running? I can't reproduce the issue on my side. (GHC 7.6.3 / cabal 1.16.0)
from haste-compiler.
I am using GHC 7.6.3. and cabal 1.16.0.2
How should these .hi files be produced? Which program produces them?
from haste-compiler.
The .his are produced by haste-inst configure/build
, which mysteriously fail because it seems that cabal doesn't find haste-pkg
, and it all goes downhill from there. This is very weird, as the first line (haste-pkg update libraries/rts.pkg
) seems to work just fine.
It looks like cabal for some reason doesn't see haste-pkg
on your $PATH. I have no idea why that would be though (Mac-specific quirk, perhaps?), since the shell script apparently sees it.
I fixed haste-inst
to explicitly go looking for haste-pkg
in ~/.cabal/bin unless it's found on the path in commit d466601 - does this fix your problem?
from haste-compiler.
Thanks! Now, everything works much better, however, I have another errors:
cbits/float.c:72:0:
error: nested functions are disabled, use -fnested-functions to re-enable
cbits/float.c:72:0:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘*’ token
cbits/float.c:72:0: error: expected expression before ‘const’
cbits/float.c:82:0:
error: ‘arr’ undeclared (first use in this function)
cbits/float.c:82:0:
error: (Each undeclared identifier is reported only once
cbits/float.c:82:0: error: for each function it appears in.)
cbits/float.c: In function ‘integer_cbits_encodeFloat’:
cbits/float.c:135:0:
error: nested functions are disabled, use -fnested-functions to re-enable
cbits/float.c:135:0:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘*’ token
Should I install gmp for this?
from haste-compiler.
The cbits stuff is completely unnecessary and only left in there because I haven't really bothered to do a proper cleanup, but since they're apparently causing trouble on some platforms I got rid of them in commit ab8ddab - does it work now?
from haste-compiler.
Now it worked without errors. Thank you very much!
from haste-compiler.
No problem, it's great to get platform specific issues like this reported since I don't have a Mac myself to test on!
from haste-compiler.
Related Issues (20)
- JS syntax error caused by inlining HOT 1
- Is Haste supposed/known to work on FreeBSD? HOT 4
- Name conflict in buildStgName HOT 1
- compiler bug involving MVar, Integer, and tuples
- How does the server part of haste compare to warp and wai HOT 1
- can't load .so/.DLL for: libHSinteger-gmp-0.5.0.0 HOT 2
- Official binaries of 0.5.5.1 HOT 1
- A comprehensive guide on how to contribute?
- examples/canvas/ canvas code sample does not compile (Windows 10, haste v0.6.0.0) HOT 1
- Installation fails with type errors OSX10.13 HOT 5
- Fix for building latest with stack
- problem with installing HOT 1
- Unable to install on OSX -- legacy or new-style cabal install? HOT 2
- Depends on versions that are too old HOT 2
- "Ratio Integer" (from Data.Ratio) uses 32 bit arithmetic instead of Integers
- Haste with STM HOT 1
- Haste with Stack HOT 1
- Build fails on latest ghc HOT 1
- Fail to install haste-compiler
- So this project is dead and shouldn't be used?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haste-compiler.