GHC 6.6 for OS X using MacPorts

Hi, GHC 6.6 is now available for OS X systems on both Intel and PowerPC processors using the MacPorts infrastructure. The compiler is built from source, using a binary bootstrap compiler. OS X versions 10.3 (Panther) and 10.4 (Tiger) are supported for PowerPC processors; for Intel processors, version 10.4. MacPorts (formerly Darwinports) is a packaging system for managing builds of unix-compatible software on OS X. For more information on MacPorts, see http://www.macports.org/ A new ghc-devel port will soon be available for those who just have to live on the bleeding edge. Best Wishes, Greg Gregory Wright Antiope Associates LLC gwright@antiope.com

Hi Greg, I have just been trying to install ghc 6.6 using Darwin Ports, but the search facility can't find ghc-6.6. : sudo port selfupdate DarwinPorts base version 1.320 installed Downloaded MacPorts base version 1.320 The MacPorts installation is not outdated and so was not updated selfupdate done! dhcp2940:~ cmb21$ port search ghc ghc lang/ghc 6.4.2 The Glorious Glasgow Haskell Compilation System ghc-devel lang/ghc-devel 6.5 The Glorious Glasgow Haskell Compilation System (development version) dhcp2940:~ cmb21$ Am I doing something wrong? Kind regards, Chris Brown, On Fri, 27 Oct 2006, Gregory Wright wrote:
Hi,
GHC 6.6 is now available for OS X systems on both Intel and PowerPC processors using the MacPorts infrastructure.
The compiler is built from source, using a binary bootstrap compiler. OS X versions 10.3 (Panther) and 10.4 (Tiger) are supported for PowerPC processors; for Intel processors, version 10.4.
MacPorts (formerly Darwinports) is a packaging system for managing builds of unix-compatible software on OS X. For more information on MacPorts, see
A new ghc-devel port will soon be available for those who just have to live on the bleeding edge.
Best Wishes, Greg
Gregory Wright Antiope Associates LLC gwright@antiope.com
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

On Oct 27, 2006, at 10:25 AM, C.M.Brown wrote:
Hi Greg,
I have just been trying to install ghc 6.6 using Darwin Ports, but the search facility can't find ghc-6.6. :
sudo port selfupdate DarwinPorts base version 1.320 installed Downloaded MacPorts base version 1.320 The MacPorts installation is not outdated and so was not updated selfupdate done!
dhcp2940:~ cmb21$ port search ghc ghc lang/ghc 6.4.2 The Glorious Glasgow Haskell Compilation System ghc-devel lang/ghc-devel 6.5 The Glorious Glasgow Haskell Compilation System (development version)
dhcp2940:~ cmb21$
Am I doing something wrong?
No, just give the servers a few hours to run their update scripts. Then the new portfiles will be available by selfupdate. (I confess I do not know how often these days the scripts run, but it is at least a couple of times per day, IIRC.) If by, say, 0000 UTC 28 Oct 2006 you don't see the new portfiles, let me know. Something might be wacky with the server. Sorry for the delay. Best Wishes, Greg
Kind regards,
Chris Brown,
On Fri, 27 Oct 2006, Gregory Wright wrote:
Hi,
GHC 6.6 is now available for OS X systems on both Intel and PowerPC processors using the MacPorts infrastructure.
The compiler is built from source, using a binary bootstrap compiler. OS X versions 10.3 (Panther) and 10.4 (Tiger) are supported for PowerPC processors; for Intel processors, version 10.4.
MacPorts (formerly Darwinports) is a packaging system for managing builds of unix-compatible software on OS X. For more information on MacPorts, see
A new ghc-devel port will soon be available for those who just have to live on the bleeding edge.
Best Wishes, Greg
Gregory Wright Antiope Associates LLC gwright@antiope.com
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Hello, The Portfile has made it to the servers, but installation doesn't complete successfully for me (on Intel/10.4.8). The first issue is that something happens to the dynamic library lookup path so the configure check for a working C compiler fails with a dyld error. I managed to fix this with the following: cd /usr mkdir i686-apple-darwin8 cd i686-apple-darwin8 ln -s ../lib This allows configure to complete, but then it seems to have trouble finding the bootstrap compiler. I've attached the entire output, since I think context is important. If it seems more appropriate for this discussion to continue on the MacPorts mailing list, let me know. Aaron On Oct 27, 2006, at 6:59 AM, Gregory Wright wrote:
Hi,
GHC 6.6 is now available for OS X systems on both Intel and PowerPC processors using the MacPorts infrastructure.
The compiler is built from source, using a binary bootstrap compiler. OS X versions 10.3 (Panther) and 10.4 (Tiger) are supported for PowerPC processors; for Intel processors, version 10.4.
MacPorts (formerly Darwinports) is a packaging system for managing builds of unix-compatible software on OS X. For more information on MacPorts, see
A new ghc-devel port will soon be available for those who just have to live on the bleeding edge.
Best Wishes, Greg
Gregory Wright Antiope Associates LLC gwright@antiope.com
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Hi Aaron, On Oct 27, 2006, at 12:42 PM, Aaron Tomb wrote:
Hello,
The Portfile has made it to the servers, but installation doesn't complete successfully for me (on Intel/10.4.8). The first issue is that something happens to the dynamic library lookup path so the configure check for a working C compiler fails with a dyld error. I managed to fix this with the following:
cd /usr mkdir i686-apple-darwin8 cd i686-apple-darwin8 ln -s ../lib
This allows configure to complete, but then it seems to have trouble finding the bootstrap compiler. I've attached the entire output, since I think context is important. If it seems more appropriate for this discussion to continue on the MacPorts mailing list, let me know.
Can you tell me which version of Xcode you are running? Do open /Developer/Applications/Xcode.app then under the "Xcode" menu look at "About Xcode" . It should give the version number, as well as the component version number. Send those to me. Everything seems to work fine for some installation on Intel, and others have seen the problem you describe. Look very much like some Xcode version issue. Best WIshes, Greg
Aaron
On Oct 27, 2006, at 6:59 AM, Gregory Wright wrote:
Hi,
GHC 6.6 is now available for OS X systems on both Intel and PowerPC processors using the MacPorts infrastructure.
The compiler is built from source, using a binary bootstrap compiler. OS X versions 10.3 (Panther) and 10.4 (Tiger) are supported for PowerPC processors; for Intel processors, version 10.4.
MacPorts (formerly Darwinports) is a packaging system for managing builds of unix-compatible software on OS X. For more information on MacPorts, see
A new ghc-devel port will soon be available for those who just have to live on the bleeding edge.
Best Wishes, Greg
Gregory Wright Antiope Associates LLC gwright@antiope.com
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

I'm running version 2.2.1 Aaron On Oct 28, 2006, at 9:54 AM, Gregory Wright wrote:
Hi Aaron,
On Oct 27, 2006, at 12:42 PM, Aaron Tomb wrote:
Hello,
The Portfile has made it to the servers, but installation doesn't complete successfully for me (on Intel/10.4.8). The first issue is that something happens to the dynamic library lookup path so the configure check for a working C compiler fails with a dyld error. I managed to fix this with the following:
cd /usr mkdir i686-apple-darwin8 cd i686-apple-darwin8 ln -s ../lib
This allows configure to complete, but then it seems to have trouble finding the bootstrap compiler. I've attached the entire output, since I think context is important. If it seems more appropriate for this discussion to continue on the MacPorts mailing list, let me know.
Can you tell me which version of Xcode you are running? Do
open /Developer/Applications/Xcode.app
then under the "Xcode" menu look at "About Xcode" . It should give the version number, as well as the component version number. Send those to me.
Everything seems to work fine for some installation on Intel, and others have seen the problem you describe. Look very much like some Xcode version issue.
Best WIshes, Greg
Aaron
On Oct 27, 2006, at 6:59 AM, Gregory Wright wrote:
Hi,
GHC 6.6 is now available for OS X systems on both Intel and PowerPC processors using the MacPorts infrastructure.
The compiler is built from source, using a binary bootstrap compiler. OS X versions 10.3 (Panther) and 10.4 (Tiger) are supported for PowerPC processors; for Intel processors, version 10.4.
MacPorts (formerly Darwinports) is a packaging system for managing builds of unix-compatible software on OS X. For more information on MacPorts, see
A new ghc-devel port will soon be available for those who just have to live on the bleeding edge.
Best Wishes, Greg
Gregory Wright Antiope Associates LLC gwright@antiope.com
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Hi Aaron, On Oct 28, 2006, at 1:06 PM, Aaron Tomb wrote:
I'm running version 2.2.1
That could be the problem. I'm running 2.4. IIRC, the early Xcodes for Intel had a problem like this. What happens if you upgrade to the latest? (Xcode is a free download, but you need to register at the apple developer site.) -Greg
Aaron
On Oct 28, 2006, at 9:54 AM, Gregory Wright wrote:
Hi Aaron,
On Oct 27, 2006, at 12:42 PM, Aaron Tomb wrote:
Hello,
The Portfile has made it to the servers, but installation doesn't complete successfully for me (on Intel/10.4.8). The first issue is that something happens to the dynamic library lookup path so the configure check for a working C compiler fails with a dyld error. I managed to fix this with the following:
cd /usr mkdir i686-apple-darwin8 cd i686-apple-darwin8 ln -s ../lib
This allows configure to complete, but then it seems to have trouble finding the bootstrap compiler. I've attached the entire output, since I think context is important. If it seems more appropriate for this discussion to continue on the MacPorts mailing list, let me know.
Can you tell me which version of Xcode you are running? Do
open /Developer/Applications/Xcode.app
then under the "Xcode" menu look at "About Xcode" . It should give the version number, as well as the component version number. Send those to me.
Everything seems to work fine for some installation on Intel, and others have seen the problem you describe. Look very much like some Xcode version issue.
Best WIshes, Greg
Aaron
On Oct 27, 2006, at 6:59 AM, Gregory Wright wrote:
Hi,
GHC 6.6 is now available for OS X systems on both Intel and PowerPC processors using the MacPorts infrastructure.
The compiler is built from source, using a binary bootstrap compiler. OS X versions 10.3 (Panther) and 10.4 (Tiger) are supported for PowerPC processors; for Intel processors, version 10.4.
MacPorts (formerly Darwinports) is a packaging system for managing builds of unix-compatible software on OS X. For more information on MacPorts, see
A new ghc-devel port will soon be available for those who just have to live on the bleeding edge.
Best Wishes, Greg
Gregory Wright Antiope Associates LLC gwright@antiope.com
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Aaron, On Oct 27, 2006, at 12:42 PM, Aaron Tomb wrote:
Hello,
The Portfile has made it to the servers, but installation doesn't complete successfully for me (on Intel/10.4.8). The first issue is that something happens to the dynamic library lookup path so the configure check for a working C compiler fails with a dyld error. I managed to fix this with the following:
cd /usr mkdir i686-apple-darwin8 cd i686-apple-darwin8 ln -s ../lib
This allows configure to complete, but then it seems to have trouble finding the bootstrap compiler. I've attached the entire output, since I think context is important. If it seems more appropriate for this discussion to continue on the MacPorts mailing list, let me know.
One more thing: After adding the symlink, you must do sudo port clean ghc to clean up the failed build before trying again. Macports is not smart enough to do that yet, but if you don't, you will have all kinds of unpredictable problems. -Greg
Aaron
On Oct 27, 2006, at 6:59 AM, Gregory Wright wrote:
Hi,
GHC 6.6 is now available for OS X systems on both Intel and PowerPC processors using the MacPorts infrastructure.
The compiler is built from source, using a binary bootstrap compiler. OS X versions 10.3 (Panther) and 10.4 (Tiger) are supported for PowerPC processors; for Intel processors, version 10.4.
MacPorts (formerly Darwinports) is a packaging system for managing builds of unix-compatible software on OS X. For more information on MacPorts, see
A new ghc-devel port will soon be available for those who just have to live on the bleeding edge.
Best Wishes, Greg
Gregory Wright Antiope Associates LLC gwright@antiope.com
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

On Oct 28, 2006, at 10:30 AM, Gregory Wright wrote:
One more thing: After adding the symlink, you must do
sudo port clean ghc
to clean up the failed build before trying again. Macports is not smart enough to do that yet, but if you don't, you will have all kinds of unpredictable problems.
This turned out to be the key. With the symlinks and Xcode 2.2.1, it works fine if I do 'sudo port clean ghc' first. I should have thought to try it before reporting the problem. Aaron
participants (3)
-
Aaron Tomb
-
C.M.Brown
-
Gregory Wright