*BSD News Article 99820


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!news-feed.inet.tele.dk!news.maxwell.syr.edu!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!202.243.48.20!news.gol.com!not-for-mail
From: Tsukasa Koizumi <pigtail@tpro.com>
Newsgroups: comp.unix.bsd.netbsd.misc,comp.lang.perl
Subject: Perl5 compiling
Date: Thu, 17 Jul 1997 21:48:27 +0900
Organization: TAMa-Te-bAKO Project
Lines: 72
Message-ID: <33CE149B.44A93FFA@tpro.com>
NNTP-Posting-Host: tc-5-046.tokyo.gol.com
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.01 [en] (Win95; I)
X-Priority: 3 (Normal)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:6270 comp.lang.perl:48586

Hello,

I'm trying to compile perl5.004_01 (tryied perl5.002, too) on
NetBSD/mac68k. Run make, I get following mesasge....

>`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
>Segmentation fault - core dumped
>miniperlmain.c: not found
>*** Error code 127
>
>Stop.

Then, I'v tried run

>`sh -xi cflags libperl.a miniperlmain.o`  miniperlmain.c

and result is following.....

># # > > > > > > > > > > > > + test -f config.sh
>+ TOP=.
>+ . ./config.sh
>+ Author=
>+ Date=$Date
>+ Header=
>+ Id=$Id
>+ Locker=
>+ Log=$Log
>+ Mcc=Mcc
.
.
.
.
>+ vi=
>+ voidflags=15
>+ xlibpth=/usr/lib/386 /lib/386
>+ zcat=
>+ PATCHLEVEL=2
>+ SUBVERSION=0
>+ CONFIG=true
>+ pp_sys_cflags=ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"
># # + perltype=
># + optdebug=
># > > > > > > > > > > + perltype=
>+ shift
># # + also=:
># > > + also=echo 1>&2 "          CCCMD = "
># # > > # # + sed -e s/¥.[oc] / /g -e s/¥.obj / /g
>Segmentation fault - core dumped                  
<-----!!!!!
>+ set
># # > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >
>> > > > > > > > > > > > > > > > > > > > > > > + : allow variables like
toke_cfla
>gs to be evaluated
>+ eval eval ${miniperlmain.o_cflags-""}
>eval: 1: Syntax error: Bad substitution
># voidflags=15: Command not found.

The error at excuting echo "$*".

Please let me know the way to fix the error and to compile Perl5.
 

--
-----------------------------------------------------------
Tsukasa Koizumi @ TAMa-Te-bAKO Project (Tokyo, Japan)
mailto:pigtail@tpro.com / JCD03321@niftyserve.or.jp
WWW Home Page URL http://www.tpro.com/
-------------------------- by Netscape Communicator 4.0.1 -