Hi, ... install 'parsec < 3.1' installs parsec, but I get some errors: one about can't find source for Visi.Snark in haskell the second that ld can't find -lVisi, but that's maybe due to the previous error There is VisiPro in haskell ... and I changed the cabal file using VisiPro in stead of Visi for Snark Then it's missing Data.text. I found 0.11.08, but the next error says missing ... it's a member of the hidden package. Well that's too much for the moment, I've no idea what that means, I've to look in the docs probably Ton Op 26 dec 2011, om 20:26 heeft David Pollak het volgende geschreven:
On Mon, Dec 26, 2011 at 11:20 AM, Ton Biegstraaten
wrote: Op 26 dec 2011, om 19:36 heeft David Pollak het volgende geschreven:
The following code compiles into a running iPad app (no rooting required): https://github.com/visi-lang/visi/tree/323e70bb2ff0dd96cfa79262b29f978e63ccd...
I did my compilation work on Snow Leopard with xcode 3.2.5. The code runs well (no crashes or anything else).
Hope this helps. Not yet :-) After installing this in xcode it needs parsec It needs parsec >= 3, so:
=1.8 but no suitable version is installed. iphone-simulator-cabal: Error: some packages failed to install:
iphone-simulator-cabal install parsec Resolving dependencies... iphone-simulator-cabal: The package requires Cabal library version -any && parsec-3.1.2 depends on text-0.11.1.12 which failed to install. text-0.11.1.12 failed during the configure step. The exception was: exit: ExitFailure 1
iphone-simulator-cabal --version cabal-install version 0.6.2 using version 1.6.0.3 of the Cabal library
I'm not sure if I can update the cabal library update gives:
iphone-simulator-cabal update Downloading the latest package list from hackage.haskell.org Note: there is a new version of cabal-install available. To upgrade, run: cabal install cabal-install
Hope you can help me further?
Dusting off my memory of the whole configuration fragility issue...
I think I had to specify parsec 3.0.1 which was built against GHC 6.10. I don't remember the cabal syntax for specifying that exact version (perhaps someone else on the list can help with the right cabal command.)
thanks, Ton
On Fri, Dec 23, 2011 at 11:36 AM, Ton Biegstraaten
wrote: Hi, I'm new to this. I 've snow leopard highest version with xcode 3.2.6 and so target 4.3.3. My iPhone is a (jailbroken) 5.01. I can run simple (hello world Objective C) examples on the iPhone (by `persuading' xcode to allow me :-) Compiling haskelldraw is awfull, more than 1800 errors. GetInBehind runs on the simulator but gives about 40 errors for the device, missing header files etc. Reading the maillist gives some clues about versions and adjusting things, but they are to vague for me. I also read that the stuff works on xcode 3.2.5 with ios 4.2. I downloaded this version from a torrent and I wander if it is useful to replace the current 3.2.6 with this previous version for getting the examples working. I like haskell very much and it should be fun to use it in the phone. I hope someone can give me some clues about downgrading or changing the current setup.
regards, Ton _______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
-- Visi.Pro, Cloud Computing for the Rest of Us http://visi.pro Lift, the simply functional web framework http://liftweb.net Follow me: http://twitter.com/dpp Blog: http://goodstuff.im
-- Visi.Pro, Cloud Computing for the Rest of Us http://visi.pro Lift, the simply functional web framework http://liftweb.net Follow me: http://twitter.com/dpp Blog: http://goodstuff.im