[nhc-bugs] confhc does not recognize ghc 5.*
Mieszko Lis
elf@sandburst.com
Mon, 22 Oct 2001 17:32:12 -0400
This is a multi-part message in MIME format.
--------------090704050308080409070804
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
hello,
i ran into a compiler-detection bug in building nhc98 (the 1.10 tarball,
but the same bug seems to be in cvs and earlier versions): the build
process fails to detect the default ghc 5.02 installation on my debian
linux machine as well as the ghc 5.00.2 installation on a redhat 7.1 box
nearby.
the problem turns out to be that script/confhc looks through the ghc
executable for the wrong stuff (at least in the installations i
mentioned above). i attached a patch (against the cvs tree) to fix
this at least on these debian and redhat installations.
cheers,
-- mieszko
--------------090704050308080409070804
Content-Type: text/plain;
name="confhc-ghc5.patch"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="confhc-ghc5.patch"
SW5kZXg6IHNjcmlwdC9jb25maGMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2cy9uaGMv
c2NyaXB0L2NvbmZoYyx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS4yOQpkaWZmIC1jIC1yMS4y
OSBjb25maGMKKioqIHNjcmlwdC9jb25maGMJMjAwMS8xMC8wMiAxNDo0OTowMgkxLjI5Ci0t
LSBzY3JpcHQvY29uZmhjCTIwMDEvMTAvMjIgMjE6MTU6MDkKKioqKioqKioqKioqKioqCioq
KiAxNjEsMTY3ICoqKioKICAgIGVsc2UKICAgICAgI0dIQ0RJUj1gZ2hjLXBrZyAtLXNob3ct
cGFja2FnZSBzdGQgLS1maWVsZCBpbXBvcnRfZGlyc2AKICAgICAgI0dIQ0lOQ0RJUj1gZGly
bmFtZSAkR0hDRElSYAohICAgICBHSENESVI9YGdyZXAgJ15saWJkaXInICR7d2hpY2hHSEN9
IHwgaGVhZCAtMSB8IHNlZCAncy9ebGliZGlyPS5cKC4qXCkuL1wxLydgCiAgICA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