cd /usr/ports/sysutils/htop
make install

如果出現以下錯誤訊息

FreeBSD 9.3 August 10, 1994 FreeBSD 9.3
root@api-02:/usr/ports/sysutils/htop # make install
===> htop-1.0.3 depends on file: /usr/local/bin/python2.7 - found
===> htop-1.0.3 depends on executable: python2 - found
===> htop-1.0.3 depends on file: /usr/local/bin/automake-1.15 - found
===> htop-1.0.3 depends on file: /usr/local/bin/autoconf-2.69 - found
===> htop-1.0.3 depends on shared library: libexecinfo.so - found (/usr/local/lib/libexecinfo.so.1)
===> Configuring for htop-1.0.3
***********************************************************
htop(1) requires linprocfs(5) to be mounted. If you don't
have it mounted already, please add this line to /etc/fstab
and run `mkdir -p /usr/compat/linux/proc; ln -s /usr/compat /compat; mount linproc`:
linproc /compat/linux/proc linprocfs rw,late 0 0
***********************************************************
*** [pre-configure] Error code 1

Stop in /usr/ports/sysutils/htop.
*** [install] Error code 1

Stop in /usr/ports/sysutils/htop.

修改/etc/fstab,並建立以下目錄即可

# vi /etc/fstab
linproc /compat/linux/proc linprocfs rw,late 0 0

# mkdir -p /usr/compat/linux/proc ; ln -s /usr/compat /compat ; mount linproc

# make install

,

helloworld 發表在 痞客邦 PIXNET 留言(0) 人氣()