Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 1996 23:23:05 +0200 (SAT)
From:      Khetan Gajjar <khetan@iafrica.com>
To:        Gary Palmer <gpalmer@freebsd.org>
Cc:        questions@freebsd.org, stable@freebsd.org
Subject:   Re: top : a updated situation 
Message-ID:  <Pine.BSF.3.91.960520231804.242V-100000@chain.iafrica.com>
In-Reply-To: <19828.832543725@palmer.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 May 1996, Gary Palmer wrote:

> This is because the swaplist stuff changed in -current a couple of
> months back. I'll send a copy of files/m_freebsd2.c in private e-mail
> which should allow the port to compile if I remember right.

Thanks for the file. However, I now get to a stage where it won't
install. I'll just copy the top file from work, but what's the solution
to get it working correctly ?

---beginnning---
[chain] /usr/ports/sysutils/top# make clean all
===>  Cleaning for top-3.3
Checksums OK.
===>  Extracting for top-3.3
===>  Patching for top-3.3
===>  Applying FreeBSD patches for top-3.3
===>  Configuring for top-3.3
cp /usr/ports/sysutils/top/files/defaults 
/usr/ports/sysutils/top/work/.defaults
cp /usr/ports/sysutils/top/files/m_freebsd2.* 
/usr/ports/sysutils/top/work/machine

Reading configuration from last time...

Using these settings:
        Bourne Shell   /bin/sh
          C compiler   cc
    Compiler options   -DHAVE_GETOPT -O
         Awk command   awk
     Install command   ./install

              Module   freebsd2
             LoadMax   5.0
        Default TOPN   -1
        Nominal TOPN   18
       Default Delay   2
Random passwd access   yes
          Table Size   47
               Owner   root
         Group Owner   kmem
                Mode   2755
       bin directory   $(PREFIX)/bin
       man directory   $(PREFIX)/man/man1
       man extension   1
       man style       man

Building Makefile...
Building top.local.h...
Building top.1...
Doing a "make clean".
rm -f *.o top core core.* sigdesc.h
To create the executable, type "make".
===>  Building for top-3.3
cc -DHAVE_GETOPT -O -c top.c
awk -f sigconv.awk /usr/include/sys/signal.h >sigdesc.h
cc -DHAVE_GETOPT -O -c commands.c
cc -DHAVE_GETOPT -O -c display.c
cc -DHAVE_GETOPT -O -c screen.c
cc -DHAVE_GETOPT -O -c username.c
cc -DHAVE_GETOPT -O -c utils.c
cc -DHAVE_GETOPT -O -c version.c
cc -DHAVE_GETOPT -O -c getopt.c
cc -DHAVE_GETOPT -O -c machine.c
rm -f top
cc -o top top.o commands.o display.o screen.o username.o  utils.o 
version.o getopt.o machine.o -ltermcap -lm -lkvm
[chain] /usr/ports/sysutils/top# make
Checksums OK.
[chain] /usr/ports/sysutils/top# make install
Checksums OK.
===>  Installing for top-3.3
install -c -o root -m 2755 -g kmem top /usr/local/bin
install: unknown option -c
install -c top.1 /usr/local/man/man1/top.1
install: unknown option -c
strip /usr/local/bin/top
strip: /usr/local/bin/top: No such file or directory
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
[chain] /usr/ports/sysutils/top# 
---
Khetan Gajjar
Visit at http://www.iafrica.com/~khetan/
UUNet-Internet Africa Operations
help@iafrica.com or  0800-030-002





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960520231804.242V-100000>