home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / perl / 5830 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.8 KB  |  40 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!ux2.cso.uiuc.edu!ejk
  3. From: ejk@ux2.cso.uiuc.edu (Ed Kubaitis - CCSO)
  4. Subject: Re: perl4.035 under SunOS4.1.2
  5. References:  <26194@dog.ee.lbl.gov>
  6. Message-ID: <BuD09D.Ew3@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois - Urbana
  9. Date: Thu, 10 Sep 1992 11:08:00 GMT
  10. Lines: 28
  11.  
  12. In article <26194@dog.ee.lbl.gov>, jpc@gauss.msri.org (Joe Christy) writes:
  13.   |I've recently come to this mainly Sun shop and miss my old tools.
  14.   |What are the tricks neccessary to compile perl4.035 on a sparc (IPX)
  15.   |under SunOS4.1.2? I have gcc as well as cc. My naive first attempt
  16.   |using cc gave compile time errors in perl.c:
  17.   |
  18.   |gauss(perl4.0): make
  19.   |`sh  cflags perl.o` perl.c
  20.   |          CCCMD =  cc -c  -I/usr/include/sun -I/usr/ucbinclude -O  
  21.   |          perl.c: 95: If-less endif
  22.   |
  23.   |Using gcc I compiled ok but the tests op/eval and op/regexp failed
  24.   |and lib/big dumped core. The one thing, alas, I don't have, is enough
  25.   |time to find what's going wrong ( I want to use my favorite perl
  26.   |script to replace a departed programmer's buggy c code in a crucial
  27.   |application). Surely someone has a recipe for how to build perl in this
  28.   |common configuration. Help!
  29.  
  30. Perl 4.035 built out of the box for me on a 690MP running 4.1.2. One
  31. thing though, the Sun cc compiler got installed in /usr/local/lang/cc,
  32. not /bin/cc which is a different compiler. The admin had told me to put
  33. /usr/local/lang in my search path before /bin to use the "right" compiler,
  34. which I did. You might check if you're really using the Sun cc compiler 
  35. you think you are.
  36.  
  37. ----------------------------------
  38. Ed Kubaitis (ejk@ux2.cso.uiuc.edu)
  39. Computing & Communications Services Office - University of Illinois, Urbana
  40.