home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / perl / 7636 < prev    next >
Encoding:
Text File  |  1992-12-31  |  3.2 KB  |  69 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!rzsun2.informatik.uni-hamburg.de!rzdspc1!zierke
  3. From: zierke@rzdspc1.informatik.uni-hamburg.de (Reinhard Zierke)
  4. Subject: Re: Perl on Solaris 2.1 w/GCC
  5. Message-ID: <zierke.725816291@rzdspc1>
  6. Sender: news@informatik.uni-hamburg.de (Mr. News)
  7. Organization: University of Hamburg, FRG
  8. References: <DNB.92Dec30175234@meshugge.media.mit.edu> <1992Dec31.011203.25669@newscan.canada.sun.com>
  9. Date: 31 Dec 92 15:38:11 GMT
  10. Lines: 57
  11.  
  12. gerrys@sun.com (Gerry Singleton - OpCom Consultant) writes:
  13.  
  14. > In article 92Dec30175234@meshugge.media.mit.edu, dnb@meshugge.media.mit.edu (David N. Blank-Edelman) writes:
  15. > |>Howdy-
  16. > |>  I've been having no fun at all attempting to build 4.035 under
  17. > |>Solaris 2.1 using the Catalyst CD version of GCC.  Has anyone done
  18. > |>this recently who would be willing to share the incantation?  Thanks.
  19. > |>        Peace,
  20. > |>             dNb
  21. > I didn't use gcc but there's a version of perl-4.035 for Solaris 2.x 
  22. > ftpable from opcom.sun.can:/pub/tars/perl.  Have look at perl4solaris.patch,
  23. > in particular for clues.
  24.  
  25. I patched perl with  opcom.sun.ca:/opcom/pub/tars/perl/perl4solaris.patch
  26. but I still have problems building perl under Solaris 2.1. Having no
  27. SunSoft C compiler, first I changed the file hints/sunos_5_0.sh to
  28.  
  29. cc='/opt/cygnus-sol2-1.1/bin/cc'
  30. yacc='/usr/ccs/bin/yacc'
  31.  
  32. Running make died while trying to link perl with the following message:
  33.  
  34. /opt/cygnus-sol2-1.1/bin/cc  -R /usr/lib:/usr/ucblib -L/usr/ucblib array.o cmd.o cons.o consarg.o doarg.o doio.o dolist.o dump.o eval.o form.o  perl.o regcomp.o regexec.o stab.o str.o toke.o util.o hash.o perly.o usersub.o -lsocket -lnsl -ldbm -lmalloc -lm -lc -lucb -o perl
  35. ld: fatal: file /usr/lib:/usr/ucblib: cannot open file; errno=2
  36. *** Error code 1
  37. make: Fatal error: Command failed for target `perl'
  38.  
  39. After that I changed hints/sunos_5_0.sh to
  40.  
  41. cc='/opt/gnu/bin/gcc'
  42. yacc='/opt/gnu/bin/bison -y'
  43.  
  44. (/opt/gnu/bin/gcc being gcc 2.3.3) and ran Configure and make again.
  45. This time it died with 
  46.  
  47. /opt/gnu/bin/gcc  -R /usr/lib:/usr/ucblib -L/usr/ucblib array.o cmd.o cons.o consarg.o doarg.o doio.o dolist.o dump.o eval.o form.o  perl.o regcomp.o regexec.o stab.o str.o toke.o util.o hash.o perly.o usersub.o -lsocket -lnsl -ldbm -lmalloc -lm -lc -lucb -o perl
  48. ld: warning: symbol `dc' has differing sizes:
  49.     (file perly.o value=0x4; file /usr/ucblib/libucb.so value=0x108);
  50.     perly.o definition taken and updated with larger size
  51. ld: warning: file /usr/lib/libc.so: attempted multiple inclusion of file libc.so
  52. Undefined            first referenced
  53.  symbol                  in file
  54. elf32_xlatetom                      /usr/ucblib/libucb.so
  55. __builtin_va_arg_incr               util.o
  56. elf32_fsize                         /usr/ucblib/libucb.so
  57. elf_version                         /usr/ucblib/libucb.so
  58. ld: fatal: Symbol referencing errors. No output written to perl
  59. *** Error code 1
  60. make: Fatal error: Command failed for target `perl'
  61.  
  62. Any help?
  63.   Reinhard
  64. -- 
  65. Reinhard Zierke                   Universitaet Hamburg, FB Informatik
  66. zierke@informatik.uni-hamburg.de  Vogt-Koelln-Strasse 30, D-2000 Hamburg 54
  67.                                   Tel.: (040) 54715-295   Fax: -206
  68.