home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / perl / 7100 < prev    next >
Encoding:
Text File  |  1992-11-23  |  3.2 KB  |  68 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!decwrl!deccrl!news.crl.dec.com!rdg.dec.com!decvax.dec.com!decvax!evans
  3. From: evans@zk3.dec.com (Marc Evans)
  4. Subject: Re: perl on Alpha AXP
  5. Message-ID: <1992Nov23.123008.16135@decvax.dec.com>
  6. Sender: usenet@decvax.dec.com (Usenet News System)
  7. Nntp-Posting-Host: akrisis.zk3.dec.com
  8. Reply-To: evans@zk3.dec.com
  9. Organization: Synergytics
  10. References: <1992Nov20.063505.4001@ulrik.uio.no> <2B0DC2D4.20446@news.service.uci.edu>
  11. Date: Mon, 23 Nov 1992 12:30:08 GMT
  12. Lines: 54
  13.  
  14. In article <2B0DC2D4.20446@news.service.uci.edu>, iglesias@draco.acs.uci.edu (Mike Iglesias) writes:
  15. |> In article <1992Nov20.063505.4001@ulrik.uio.no> tleifsen@astro.uio.no (Torben Leifsen) writes:
  16. |> >
  17. |> >Has anyone ported perl to Digitals Alpha AXP/OSF-1 yet?
  18. |> >
  19. |> 
  20. |> I used the hints that Marc Evans posted a couple of months ago to get
  21. |> perl 4.035 to compile and pass the tests.  However, it doesn't work
  22. |> quite right.  When I try to run Tom Christiansen's makewhatis script
  23. |> (part of his excellent man package), perl seg faults compiling the
  24. |> script (it even dies if I use perl -c makewhatis).  I've included the
  25. |> output of dbx 'where' below.  I'm not sure how to proceed from here,
  26. |> so if anyone has any suggestions please let me know. 
  27.  
  28. The problem with your core dumping is the OS, as I recall. I don't seem to
  29. have this problem on by current systems, which are likely running newer
  30. OS bits then you have ;-). I believe that there was some problems in the
  31. *alloc libc functions back in the BL9 timeframe...
  32.  
  33. |> 
  34. |> One other note:  nm dies trying to output the symbols in libdbm.a
  35. |> during Configure.  I took -ldbm out of the library list and nm worked
  36. |> fine and perl linked with no problems.
  37.  
  38. There was actually a pretty nasty bug in nm'ing archive files (.a files)
  39. until recently (BL10.2). The result is core dumps when the conditions are
  40. *right*, and even worse is mis-information when those same conditions are
  41. slightly different. This too has been fixed.
  42.  
  43. >From: john@sekrit.WPI.EDU (John Stoffel)
  44. >
  45. >As I remember, it was only a single line, and something along the
  46. >lines of changing a long to a time_t, or something like that.  If you
  47. >can't figure it out, let me know and I'll see what I can do.
  48.  
  49. The time_t problem will NOT surface if you use the -std1 option to cc. This
  50. is being caused by perl sources trying to define a function return type
  51. which is in conflict with that of the function prototype in the include files.
  52. By using the -std1 option the compiler runs in strict ANSI-C mode and
  53. therefore defines __STDC__ which the perl sources use so that the function
  54. is not declared.
  55.  
  56. It is my *opinion* that you should try to make use of the -std1 option in all
  57. of your invocations (not just perl) as this will aid greatly in the portability
  58. of your code to POSIX.1, XPG/3, and other *standard* systems.
  59.  
  60. - Marc
  61. -- 
  62. ===========================================================================
  63. Marc Evans - evans@zk3.dec.com              | Synergytics     (603)635-8876
  64. WB1GRH     - WB1GRH@W2XO.#WPA.PA.USA.NOAM   | 21 Hinds Ln, Pelham, NH 03076
  65. ---------------------------------------------------------------------------
  66.                       Unix and X11 Software Consultant 
  67. ===========================================================================
  68.