From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,be225fc08e9e8a1f X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-13 22:26:25 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!hookup!usc!math.ohio-state.edu!howland.reston.ans.net!EU.net!dkuug!eunet.no!nuug!abel!meyer From: meyer@geomatic.no (Harald M. Meyer) Subject: Re: perl 4.036 on OSF 2.0 In-Reply-To: cwright@bigboote.wpi.edu's message of 12 Jul 1994 20:08:15 GMT Message-ID: Sender: meyer@geomatic.no (Harald M. Meyer) Organization: Geomatic a.s, Norway. References: <2vut7f$2bj@bigboote.WPI.EDU> Date: Wed, 13 Jul 1994 07:38:16 GMT >>>>> On 12 Jul 1994 20:08:15 GMT, cwright@bigboote.wpi.edu (Charles R. Wright) said: Charles> NNTP-Posting-Host: tensor3.wpi.edu Charles> Hello, Charles> I'm having some trouble getting perl 4.036 to compile on our alpha Charles> machines. The "configure" goes ok, I guess, but as soon as I "make", Charles> cc chokes due to a problem with the time structures. Anyone have a Charles> working config.sh for this version of perl and OSF 2.0 they could send Charles> me? I guess what you're expriencing is the same as I did when I tried compiling perl, typing "make" results in: [Removed some lines......] `sh cflags perly.o` perly.c CCCMD = cc -c -Olimit 2900 -DLANGUAGE_C -O /usr/lib/cmplrs/cc/cfe: Error: ./perl.h, line 1032: redeclaration of 'time'; previous declaration at line 117 in file '/usr/include/time.h' long time(); -----^ /usr/lib/cmplrs/cc/cfe: Error: ./perl.h, line 1032: Incompatible function return type for this function long time(); ---------^ *** Exit 1 Stop. What I did, was comment line 1032 in perl.h (declaration of time()), then "make". This worked.... the executable passes all test when you type "make test"... 2 HM -- Harald Martens Meyer | Geomatic a.s | #_O_# Powder Email:meyer@geomatic.no | PO.Box 165 Skoyen | (/ _|_ \) Snow Tel: +47 22 50 43 30 | N-0212 OSLO 2 | \/ \/ Is Tfx: +47 22 50 05 55 | NORWAY | \ / Simply the Best!