Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2007 17:15:59 +0200
From:      Nikola Lecic <nlecic@EUnet.yu>
To:        Nikola Lecic <nlecic@eunet.yu>
Cc:        Sunry Chen <sunrychen@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: Install ctorrent-3.2_1 error, Makefile error?
Message-ID:  <200709061515.l86FFNXm025802@smtpclu-2.EUnet.yu>
In-Reply-To: <200709060722.l867MsVV024729@smtpclu-7.EUnet.yu>
References:  <c96f04920709051959q51781c86jdb02e1399151f3e2@mail.gmail.com> <200709060722.l867MsVV024729@smtpclu-7.EUnet.yu>

next in thread | previous in thread | raw e-mail | index | archive | help
--MP_otZ+Hq1Nxr/nM5gEhoIShzs
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

[Please keep the list in CC.]

On Thu, 6 Sep 2007 20:38:33 +0800
"Sunry Chen" <sunrychen@gmail.com> wrote:

> On 9/6/07, Nikola Lecic <nlecic@eunet.yu> wrote:
[...]
> > (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
> My output is only:
>        bin/ctorrent

Ok, expected...

> > (2) Do you get the same error installing e.g. devel/avra?
>  No. Not any error installing devel/avra-1.0.1_1.

Ok... Maybe the devel/gtgt and devel/p5-Proc-ProcessTable would be more
informative examples (because of their install commands). Please
include work/.PLIST.mktmp files of both ports.

> > (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
> For me, errors:
> [root@www /tmp]# make
> "BSDmakefile", line 6: Need an operator
> "BSDmakefile", line 6: Need an operator
> "BSDmakefile", line 9: Need an operator
> "BSDmakefile", line 9: Need an operator
> make: fatal errors encountered -- cannot continue

This is because the two "@echo" commands must be preceded by TAB, not
by spaces. I apologise, I attached the file.

> [root@www /tmp]# gmake -f BSDmakefile
> BSDmakefile:5: *** missing separator.  Stop

No, BSD make is in question...

(BTW, what is your FreeBSD version?)

Nikola Le=C4=8Di=C4=87

--MP_otZ+Hq1Nxr/nM5gEhoIShzs
Content-Type: application/octet-stream; name=BSDmakefile
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=BSDmakefile

QT1GaXJzdAkJU2Vjb25kCkI9VGhpcmQJRm91cnRoCgphbGw6Ci5mb3IgaSBpbiAke0F9CglAZWNo
byAkaQouZW5kZm9yCi5mb3IgaSBpbiAke0J9CglAZWNobyAkaQouZW5kZm9yCg==

--MP_otZ+Hq1Nxr/nM5gEhoIShzs--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709061515.l86FFNXm025802>