From owner-freebsd-ports@FreeBSD.ORG Thu Sep 6 08:41:10 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 866ED16A418 for ; Thu, 6 Sep 2007 08:41:10 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-7.EUnet.yu (smtpclu-7.eunet.yu [194.247.192.232]) by mx1.freebsd.org (Postfix) with ESMTP id 164A513C468 for ; Thu, 6 Sep 2007 08:41:09 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-223-251.eunet.yu [213.198.223.251]) by smtpclu-7.EUnet.yu (8.13.6/8.13.6) with ESMTP id l867MsVV024729; Thu, 6 Sep 2007 09:22:55 +0200 Message-Id: <200709060722.l867MsVV024729@smtpclu-7.EUnet.yu> Date: Thu, 6 Sep 2007 10:41:34 +0200 From: Nikola Lecic To: "Sunry Chen" In-Reply-To: References: X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: freebsd-ports@freebsd.org Subject: Re: Install ctorrent-3.2_1 error, Makefile error? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 08:41:10 -0000 On Thu, 6 Sep 2007 10:59:56 +0800 "Sunry Chen" wrote: > [root@www /usr/ports/net-p2p/ctorrent]# make install > =3D=3D=3D> Installing for ctorrent-3.2_1 > =3D=3D=3D> Generating temporary packing list > =3D=3D=3D> Checking if net-p2p/ctorrent already installed > test -z "/usr/local/bin" || /bin/sh ./mkinstalldirs "/usr/local/bin" > install -s -o root -g wheel -m 555 'ctorrent' > '/usr/local/bin/ctorrent' /bin/mkdir -p /usr/local/share/doc/ctorrent > install -o root -g wheel -m 444 > /usr/ports/net-p2p/ctorrent/work/ctorrent-dnh3.2/README-DNH.TXT > UserGuide /usr/local/share/d > oc/ctorrent/ > install: UserGuide: No such file or directory > *** Error code 71 >=20 > Stop in /usr/ports/net-p2p/ctorrent. > -------------------------------------------------------------------------= --- > README-DNH.TXT and UserGuide files are there in the same directory, > but make install can't get UserGuide found. Can solve it by doing some > adjust in Makefile, is this the problem caused by Makefile? Hello Sunry Chen, No, Makefile is OK. But for some reason, your make ignores the space between README-DNH.TXT and UserGuide (PORTDOCS) and send them together to the install command, and not one by one through for loop. Hence the error. The logical steps could be: (1) What is the contents of .PLIST.mktmp file? It should be # cat /usr/ports/net-p2p/ctorrent/work/.PLIST.mktmp bin/ctorrent share/doc/ctorrent/README-DNH.TXT share/doc/ctorrent/UserGuide @dirrm share/doc/ctorrent (2) Do you get the same error installing e.g. devel/avra? (3) If yes, please try the following test file. Name it BSDmakefile, and make sure you type real TAB between Third and Fourth. ----------------------BSDmakefile--------------------------- A=3DFirst Second B=3DThird Fourth all: .for i in ${A} @echo $i .endfor .for i in ${B} @echo $i .endfor ------------------------------------------------------------ Just run 'make'. What is the output? It should be # make First Second Third Fourth Or maybe you get 'First Second' in one line? Nikola Le=C4=8Di=C4=87