Install ctorrent-3.2_1 error, Makefile error?

Sunry Chen sunrychen at gmail.com
Thu Sep 6 19:13:03 PDT 2007


On 9/6/07, Nikola Lecic <nlecic at eunet.yu> wrote:
> [Please keep the list in CC.]
>
> On Thu, 6 Sep 2007 20:38:33 +0800
> "Sunry Chen" <sunrychen at gmail.com> wrote:
>
> > On 9/6/07, Nikola Lecic <nlecic at 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.

For devel/gtgt:
[root at www /usr/ports/devel/gtgt]# cat work/.PLIST.mktmp
bin/gcng
bin/gptg
bin/gscg
share/doc/gtgt/autoconf.html
share/doc/gtgt/automake.html
share/doc/gtgt/company-license.long
share/doc/gtgt/company-license.short
share/doc/gtgt/gtgt.gif
share/doc/gtgt/gtgt.html
share/doc/gtgt/gtgt.txt
share/doc/gtgt/index.html
share/doc/gtgt/libtool.html
@dirrm share/doc/gtgt


For devel/p5-Proc-ProcessTable:
[root at www /usr/ports/devel/p5-Proc-ProcessTable]# cat work/.PLIST.mktmp
lib/perl5/5.8.8/man/man3/Proc::ProcessTable::Process.3.gz
lib/perl5/5.8.8/man/man3/Proc::Killall.3.gz
lib/perl5/5.8.8/man/man3/Proc::ProcessTable.3.gz
lib/perl5/5.8.8/man/man3/Proc::Killfam.3.gz
@unexec rm -f %D/lib/perl5/5.8.8/man/cat3/Proc::ProcessTable::Process.3.gz
%D/lib/
perl5/5.8.8/man/cat3/Proc::ProcessTable::Process.3
%D/lib/perl5/5.8.8/man/cat3/Pro
c::ProcessTable::Process.3.gz
%D/lib/perl5/5.8.8/man/cat3/Proc::ProcessTable::Proc
ess.3.gz.gz %D/lib/perl5/5.8.8/man/cat3/Proc::ProcessTable::Process.3.gz.bz2
@unexec rm -f %D/lib/perl5/5.8.8/man/cat3/Proc::Killall.3.gz
%D/lib/perl5/5.8.8/ma
n/cat3/Proc::Killall.3 %D/lib/perl5/5.8.8/man/cat3/Proc::Killall.3.gz
%D/lib/perl5
/5.8.8/man/cat3/Proc::Killall.3.gz.gz
%D/lib/perl5/5.8.8/man/cat3/Proc::Killall.3.
gz.bz2
@unexec rm -f %D/lib/perl5/5.8.8/man/cat3/Proc::ProcessTable.3.gz
%D/lib/perl5/5.8
.8/man/cat3/Proc::ProcessTable.3
%D/lib/perl5/5.8.8/man/cat3/Proc::ProcessTable.3.
gz %D/lib/perl5/5.8.8/man/cat3/Proc::ProcessTable.3.gz.gz
%D/lib/perl5/5.8.8/man/c
at3/Proc::ProcessTable.3.gz.bz2
@unexec rm -f %D/lib/perl5/5.8.8/man/cat3/Proc::Killfam.3.gz
%D/lib/perl5/5.8.8/ma
n/cat3/Proc::Killfam.3 %D/lib/perl5/5.8.8/man/cat3/Proc::Killfam.3.gz
%D/lib/perl5
/5.8.8/man/cat3/Proc::Killfam.3.gz.gz
%D/lib/perl5/5.8.8/man/cat3/Proc::Killfam.3.
gz.bz2
lib/perl5/site_perl/5.8.8/mach/Proc/Killall.pm
lib/perl5/site_perl/5.8.8/mach/Proc/Killfam.pm
lib/perl5/site_perl/5.8.8/mach/Proc/ProcessTable.pm
lib/perl5/site_perl/5.8.8/mach/Proc/ProcessTable/Process.pm
lib/perl5/site_perl/5.8.8/mach/Proc/example.pl
lib/perl5/site_perl/5.8.8/mach/auto/Proc/ProcessTable/.packlist
lib/perl5/site_perl/5.8.8/mach/auto/Proc/ProcessTable/Process/autosplit.ix
lib/perl5/site_perl/5.8.8/mach/auto/Proc/ProcessTable/ProcessTable.bs
lib/perl5/site_perl/5.8.8/mach/auto/Proc/ProcessTable/ProcessTable.so
@dirrm lib/perl5/site_perl/5.8.8/mach/auto/Proc/ProcessTable/Process
@dirrm lib/perl5/site_perl/5.8.8/mach/auto/Proc/ProcessTable
@dirrm lib/perl5/site_perl/5.8.8/mach/Proc/ProcessTable
@unexec rmdir %D/lib/perl5/site_perl/5.8.8/mach/auto/Proc 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/5.8.8/mach/Proc 2>/dev/null || true
share/doc/Proc-ProcessTable/README
share/doc/Proc-ProcessTable/README.freebsd
@dirrm share/doc/Proc-ProcessTable


>
> > > (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=First Second
> > > B=Third   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 at 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 at www /tmp]# gmake -f BSDmakefile
> > BSDmakefile:5: *** missing separator.  Stop
>
> No, BSD make is in question...
>
> (BTW, what is your FreeBSD version?)
>
> Nikola Lečić
>
>
[root at www /tmp]# make
First
Second
Third
Fourth
[root at www /tmp]# uname -a
FreeBSD www 6.2-STABLE FreeBSD 6.2-STABLE #7: Wed Mar 28 04:38:15 CST
2007     root@:/usr/obj/usr/src/sys/MYKERNEL  i386
[root at www /tmp]#


More information about the freebsd-ports mailing list