home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!rzsun2.informatik.uni-hamburg.de!rzdspc1!zierke
- From: zierke@rzdspc1.informatik.uni-hamburg.de (Reinhard Zierke)
- Subject: Re: Perl on Solaris 2.1 w/GCC
- Message-ID: <zierke.725816291@rzdspc1>
- Sender: news@informatik.uni-hamburg.de (Mr. News)
- Organization: University of Hamburg, FRG
- References: <DNB.92Dec30175234@meshugge.media.mit.edu> <1992Dec31.011203.25669@newscan.canada.sun.com>
- Date: 31 Dec 92 15:38:11 GMT
- Lines: 57
-
- gerrys@sun.com (Gerry Singleton - OpCom Consultant) writes:
-
- > In article 92Dec30175234@meshugge.media.mit.edu, dnb@meshugge.media.mit.edu (David N. Blank-Edelman) writes:
- > |>Howdy-
- > |> I've been having no fun at all attempting to build 4.035 under
- > |>Solaris 2.1 using the Catalyst CD version of GCC. Has anyone done
- > |>this recently who would be willing to share the incantation? Thanks.
- > |> Peace,
- > |> dNb
- >
- > I didn't use gcc but there's a version of perl-4.035 for Solaris 2.x
- > ftpable from opcom.sun.can:/pub/tars/perl. Have look at perl4solaris.patch,
- > in particular for clues.
-
- I patched perl with opcom.sun.ca:/opcom/pub/tars/perl/perl4solaris.patch
- but I still have problems building perl under Solaris 2.1. Having no
- SunSoft C compiler, first I changed the file hints/sunos_5_0.sh to
-
- cc='/opt/cygnus-sol2-1.1/bin/cc'
- yacc='/usr/ccs/bin/yacc'
-
- Running make died while trying to link perl with the following message:
-
- /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
- ld: fatal: file /usr/lib:/usr/ucblib: cannot open file; errno=2
- *** Error code 1
- make: Fatal error: Command failed for target `perl'
-
- After that I changed hints/sunos_5_0.sh to
-
- cc='/opt/gnu/bin/gcc'
- yacc='/opt/gnu/bin/bison -y'
-
- (/opt/gnu/bin/gcc being gcc 2.3.3) and ran Configure and make again.
- This time it died with
-
- /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
- ld: warning: symbol `dc' has differing sizes:
- (file perly.o value=0x4; file /usr/ucblib/libucb.so value=0x108);
- perly.o definition taken and updated with larger size
- ld: warning: file /usr/lib/libc.so: attempted multiple inclusion of file libc.so
- Undefined first referenced
- symbol in file
- elf32_xlatetom /usr/ucblib/libucb.so
- __builtin_va_arg_incr util.o
- elf32_fsize /usr/ucblib/libucb.so
- elf_version /usr/ucblib/libucb.so
- ld: fatal: Symbol referencing errors. No output written to perl
- *** Error code 1
- make: Fatal error: Command failed for target `perl'
-
- Any help?
- Reinhard
- --
- Reinhard Zierke Universitaet Hamburg, FB Informatik
- zierke@informatik.uni-hamburg.de Vogt-Koelln-Strasse 30, D-2000 Hamburg 54
- Tel.: (040) 54715-295 Fax: -206
-