Re: Error building GHC from darwin ports

2005-06-17 Thread Gregory Wright
David, Try 'sudo port clean ghc' and then 'sudo port -dv install ghc'. The bootstrap compiler script is edited automatically by the portfile so it points to the proper location of the executable. If you interrupt the build for any reason and restart it (without cleaning) you can have the path

Re: Error building GHC from darwin ports

2005-06-17 Thread Gregory Wright
Hi David, I think I have an idea of what is happening. Recent changes to DP have moved the work directories to new locations (inside ${prefix}/var), symlinked to the old location. This can mess up ports that unpack multiple tarballs in the work directory. I'll let you know when I have a fix.

Re: Error building GHC from darwin ports

2005-06-17 Thread Gregory Wright
Hi David, I maintain GHC under darwinports. You're more likely to get help for this (apparently DP specific) issue on the darwinports list. What seems to be happening is that your bootstrap compiler is not being found. Since this doesn't happen on my machine (10.4.1 with Xcode 2.1) I suspect

Error building GHC from darwin ports

2005-06-16 Thread David Menendez
I currently have GHC installed using darwin ports, and I've been trying to upgrade from 6.4_0 to 6.4_8, but I keep hitting a file-not-found error. Looking at the paths in question, I'm guessing the problem has to do with the path segment "/var/db/dports/build/file._opt_local_var_db_dports_sources_r