Hi, We've been trying to install ghc-iphone, based on the 30 Apr 2010 installation and user's guide. Installing from source came to a screeching halt at step 5: - "ghc-iphone.patch" and - "ghc-iphone-simulator" and - "config-iphone.sh" don't exist in anything we've downloaded. We installed everything in the source instructions, plus "ghc-iphone.tar.bz2". This manual seems in need of a revision. I would be glad to help update it. Tom
William, 1. Take the patches from here... http://projects.haskell.org/ghc-iphone/downloads/patch.snowleopard/ 2. Read the README.SnowLeopard file. 3. Then install according to the instructions in GHC-iPhone.pdf (which is a little old), except that you use ghc version 6.10.4 in all cases. config-iphone.sh is created by applying the patches. http://projects.haskell.org/ghc-iphone/downloads/GHC-iPhone.pdf Steve On 08/03/11 18:12, william murphy wrote:
Hi, We've been trying to install ghc-iphone, based on the 30 Apr 2010 installation and user's guide.
Installing from source came to a screeching halt at step 5: - "ghc-iphone.patch" and - "ghc-iphone-simulator" and - "config-iphone.sh" don't exist in anything we've downloaded.
We installed everything in the source instructions, plus "ghc-iphone.tar.bz2".
This manual seems in need of a revision. I would be glad to help update it.
Tom
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
It says that GHC-6.10.4 is required to build GHC-iPhone 6.10.4. Is it exactly 6.10.4, or at least 6.10.4? I just upgraded to 7.0.2. Tom On Tue, Mar 8, 2011 at 12:20 AM, Stephen Blackheath [to GHC-iPhone] < likeliest.complexions.stephen@blacksapphire.com> wrote:
William,
1. Take the patches from here...
http://projects.haskell.org/ghc-iphone/downloads/patch.snowleopard/
2. Read the README.SnowLeopard file.
3. Then install according to the instructions in GHC-iPhone.pdf (which is a little old), except that you use ghc version 6.10.4 in all cases.
config-iphone.sh is created by applying the patches.
http://projects.haskell.org/ghc-iphone/downloads/GHC-iPhone.pdf
Steve
On 08/03/11 18:12, william murphy wrote:
Hi, We've been trying to install ghc-iphone, based on the 30 Apr 2010 installation and user's guide.
Installing from source came to a screeching halt at step 5: - "ghc-iphone.patch" and - "ghc-iphone-simulator" and - "config-iphone.sh" don't exist in anything we've downloaded.
We installed everything in the source instructions, plus "ghc-iphone.tar.bz2".
This manual seems in need of a revision. I would be glad to help update it.
Tom
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
Also, I know that this is a newbie question, but when you refer to,
say, "Remove extraneous stuff from your PATH.", what exactly is the
PATH? Any place where we want to have ghc-iphone from?
Tom
On Tue, Mar 8, 2011 at 7:40 PM, Tom Murphy
It says that GHC-6.10.4 is required to build GHC-iPhone 6.10.4. Is it exactly 6.10.4, or at least 6.10.4? I just upgraded to 7.0.2. Tom
On Tue, Mar 8, 2011 at 12:20 AM, Stephen Blackheath [to GHC-iPhone]
wrote: William,
1. Take the patches from here...
http://projects.haskell.org/ghc-iphone/downloads/patch.snowleopard/
2. Read the README.SnowLeopard file.
3. Then install according to the instructions in GHC-iPhone.pdf (which is a little old), except that you use ghc version 6.10.4 in all cases.
config-iphone.sh is created by applying the patches.
http://projects.haskell.org/ghc-iphone/downloads/GHC-iPhone.pdf
Steve
On 08/03/11 18:12, william murphy wrote:
Hi, We've been trying to install ghc-iphone, based on the 30 Apr 2010 installation and user's guide.
Installing from source came to a screeching halt at step 5: - "ghc-iphone.patch" and - "ghc-iphone-simulator" and - "config-iphone.sh" don't exist in anything we've downloaded.
We installed everything in the source instructions, plus "ghc-iphone.tar.bz2".
This manual seems in need of a revision. I would be glad to help update it.
Tom
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
Also, the line
"cat ../ghc-iphone.patch | patch -p0"
still doesn't work. There is no file "ghc-iphone.patch" among those I
downloaded for this.
Other tries which failed:
"cat ../patch.snowleopard/ | patch -p0"
"cat ../patch.snowleopard/*.patch | patch -p0"
"cat ../patch.snowleopard/01-makefiles-general.patch | patch -p0" (for example)
Thanks for the help!
Tom
On Tue, Mar 8, 2011 at 7:49 PM, Tom Murphy
Also, I know that this is a newbie question, but when you refer to, say, "Remove extraneous stuff from your PATH.", what exactly is the PATH? Any place where we want to have ghc-iphone from?
Tom
On Tue, Mar 8, 2011 at 7:40 PM, Tom Murphy
wrote: It says that GHC-6.10.4 is required to build GHC-iPhone 6.10.4. Is it exactly 6.10.4, or at least 6.10.4? I just upgraded to 7.0.2. Tom
On Tue, Mar 8, 2011 at 12:20 AM, Stephen Blackheath [to GHC-iPhone]
wrote: William,
1. Take the patches from here...
http://projects.haskell.org/ghc-iphone/downloads/patch.snowleopard/
2. Read the README.SnowLeopard file.
3. Then install according to the instructions in GHC-iPhone.pdf (which is a little old), except that you use ghc version 6.10.4 in all cases.
config-iphone.sh is created by applying the patches.
http://projects.haskell.org/ghc-iphone/downloads/GHC-iPhone.pdf
Steve
On 08/03/11 18:12, william murphy wrote:
Hi, We've been trying to install ghc-iphone, based on the 30 Apr 2010 installation and user's guide.
Installing from source came to a screeching halt at step 5: - "ghc-iphone.patch" and - "ghc-iphone-simulator" and - "config-iphone.sh" don't exist in anything we've downloaded.
We installed everything in the source instructions, plus "ghc-iphone.tar.bz2".
This manual seems in need of a revision. I would be glad to help update it.
Tom
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
Tom, To answer all your questions...
It says that GHC-6.10.4 is required to build GHC-iPhone 6.10.4. Is it exactly 6.10.4, or at least 6.10.4? I just upgraded to 7.0.2. Tom
I wish. :) It has to be exactly 6.10.4.
Also, I know that this is a newbie question, but when you refer to, say, "Remove extraneous stuff from your PATH.", what exactly is the PATH? Any place where we want to have ghc-iphone from?
PATH is the shell environment variable of that name. To see what it's set to, type this: echo $PATH Basically the command you want to type is something like this: export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin That is, you need to remove any junk that's been added, like MacPorts and so on. MacPorts is 100% guaranteed to make it not work.
"cat ../ghc-iphone.patch | patch -p0" still doesn't work. There is no file "ghc-iphone.patch" among those I downloaded for this.
That instruction is a little out-of-date. The single patch has been split up into multiple patches and put into the 'patch.snowleopard' directory. So the command you will want is something like: cd ghc-6.10.4 cat ../patch.snowleopard/*.patch | patch -p1 The number after 'p' is how many directories to strip off the filenames referenced in the patch. If you're inside ghc-6.10.4 then it should be 1. Steve On 09/03/11 14:09, Tom Murphy wrote:
Also, the line "cat ../ghc-iphone.patch | patch -p0" still doesn't work. There is no file "ghc-iphone.patch" among those I downloaded for this.
Other tries which failed: "cat ../patch.snowleopard/ | patch -p0" "cat ../patch.snowleopard/*.patch | patch -p0" "cat ../patch.snowleopard/01-makefiles-general.patch | patch -p0" (for example)
Thanks for the help! Tom
On Tue, Mar 8, 2011 at 7:49 PM, Tom Murphy
wrote: Also, I know that this is a newbie question, but when you refer to, say, "Remove extraneous stuff from your PATH.", what exactly is the PATH? Any place where we want to have ghc-iphone from?
Tom
On Tue, Mar 8, 2011 at 7:40 PM, Tom Murphy
wrote: It says that GHC-6.10.4 is required to build GHC-iPhone 6.10.4. Is it exactly 6.10.4, or at least 6.10.4? I just upgraded to 7.0.2. Tom
On Tue, Mar 8, 2011 at 12:20 AM, Stephen Blackheath [to GHC-iPhone]
wrote: William,
1. Take the patches from here...
http://projects.haskell.org/ghc-iphone/downloads/patch.snowleopard/
2. Read the README.SnowLeopard file.
3. Then install according to the instructions in GHC-iPhone.pdf (which is a little old), except that you use ghc version 6.10.4 in all cases.
config-iphone.sh is created by applying the patches.
http://projects.haskell.org/ghc-iphone/downloads/GHC-iPhone.pdf
Steve
On 08/03/11 18:12, william murphy wrote:
Hi, We've been trying to install ghc-iphone, based on the 30 Apr 2010 installation and user's guide.
Installing from source came to a screeching halt at step 5: - "ghc-iphone.patch" and - "ghc-iphone-simulator" and - "config-iphone.sh" don't exist in anything we've downloaded.
We installed everything in the source instructions, plus "ghc-iphone.tar.bz2".
This manual seems in need of a revision. I would be glad to help update it.
Tom
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
_______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
participants (3)
-
Stephen Blackheath [to GHC-iPhone] -
Tom Murphy -
william murphy