
I've tried all the 6.6 and 6.8 versions, trying to compile them on a RHEL-based supercomputer, and I always see this error when I run ./configure: -bash-3.00$ ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu Which we'll further canonicalise into: x86_64-unknown-linux checking for path to top of build tree... pwd: timer_create: Invalid argument configure: error: cannot determine current directory Is this a known bug with GHC, or is it my supercomputer? We have several supercomputers here running in production, so I can't really ask them to change the configuration just for me, but nonetheless I'd like to run on them.

On Jun 27, 2008, at 10:15 , Jefferson Heard wrote:
checking for path to top of build tree... pwd: timer_create: Invalid argument
Translated into plain English, this means "your glibc is too old for this binary distribution". You will probably have to build from source with an older gcc as the bootstrap compiler. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

Linux version 2.6.9-34.0.2.ELsmp (buildcentos@x8664-build.centos.org) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Fri Jul 7 18:22:55 CDT 2006 This is my version string if that helps... I'd do the bootstrap build right now, but hackage is down (I understand it's moving), and I can't get to the instructions for bootstrapping. On Fri, Jun 27, 2008 at 2:00 PM, Brandon S. Allbery KF8NH < allbery@ece.cmu.edu> wrote:
On Jun 27, 2008, at 10:15 , Jefferson Heard wrote:
checking for path to top of build tree... pwd: timer_create: Invalid
argument
Translated into plain English, this means "your glibc is too old for this binary distribution". You will probably have to build from source with an older gcc as the bootstrap compiler.
-- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
-- I try to take things like a crow; war and chaos don't always ruin a picnic, they just mean you have to be careful what you swallow. -- Jessica Edwards

On Jun 27, 2008, at 15:04 , Jefferson Heard wrote:
Linux version 2.6.9-34.0.2.ELsmp (buildcentos@x8664- build.centos.org) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Fri Jul 7 18:22:55 CDT 2006
I can't help with much of anything Linux aside form having run into that error on SuSE 9.3. But in any case, that's the kernel version. for glibc version, run /lib/libc.so.6. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

On Fri, Jun 27, 2008 at 10:15:23AM -0400, Jefferson Heard wrote:
I've tried all the 6.6 and 6.8 versions, trying to compile them on a RHEL-based supercomputer, and I always see this error when I run ./configure:
-bash-3.00$ ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu Which we'll further canonicalise into: x86_64-unknown-linux checking for path to top of build tree... pwd: timer_create: Invalid argument configure: error: cannot determine current directory
I don't know whether this is related, but I've noticed that the most recent source distribution of the HEAD branch (ghc-6.9.20080615) includes a binary executable utils/pwd/pwd compiled for x86-64. This causes ./configure to break with a similar message, since I have a 32-bit system. If I delete utils/pwd/pwd, the configure script automatically rebuilds it and then completes successfully. Regards, Reid Barton
participants (3)
-
Brandon S. Allbery KF8NH
-
Jefferson Heard
-
Reid Barton