Greetings,

Thanks to an accurate description of the problem in the FAQ, I was
able to solve this immediately.  However, now that we know dec_osf
requires -DHAS_BOOL, perhaps it should go into Makefile.PL, to save
others the trouble of encountering it.

At least, this is the case for me with gcc-2.95.3 on Tru64 UNIX 5.0.

================================================
--- Makefile.PL.orig    Mon Sep 10 05:15:55 2001
+++ Makefile.PL Tue Sep 18 14:29:12 2001
@@ -99,6 +99,8 @@
 
 # gcc on solaris needs HAS_BOOL, RedHat fails with this defined
 $CFLAGS .= ' -DHAS_BOOL' if $^O eq 'solaris';
+# gcc-2.95.3 on Tru64 needs this too
+$CFLAGS .= ' -DHAS_BOOL' if $^O eq 'dec_osf';
 
 # until I get ahold of Detect::OS, I assume all linux is debian
 $CFLAGS .= ' -DDEBIAN' if $^O eq 'linux';
================================================

Thanks for your help.

Kind regards,
David

 -------------------------------------------------------------------
  David Starks-Browning                  | [EMAIL PROTECTED]
  EMBL Outstation --                     |
  The European Bioinformatics Institute  |
  Wellcome Trust Genome Campus           | tel: +44 (1223) 494 616
  Hinxton, Cambridge, CB10 1SD, UK       | fax: +44 (1223) 494 468
 -------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to