[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trouble installing ports packages



I am trying to install an application(s) into a JAIL. I have ssh'd
into the JAIL (mail). I can see the linked directories. I do have a
full ports tree on the HOST system, where HOST is the true base
system, at /usr/ports. I can't seem to access the ports tree from the
JAIL in order to install the software.

{..JAIL..}
mail# pwd
/usr
mail# ls -la
total 10
drwxr-xr-x   5 root  wheel  512 Mar 22 15:15 .
drwxr-xr-x  12 root  wheel  512 Mar 22 15:15 ..
lrwxrwxrwx   1 root  wheel   17 Mar 21 14:16 bin -> /basejail/usr/bin
lrwxrwxrwx   1 root  wheel   19 Mar 21 14:16 games -> /basejail/usr/games
drwxr-xr-x   3 root  wheel  512 Mar 22 15:15 home
lrwxrwxrwx   1 root  wheel   21 Mar 21 14:16 include -> /basejail/usr/include
lrwxrwxrwx   1 root  wheel   17 Mar 21 14:16 lib -> /basejail/usr/lib
lrwxrwxrwx   1 root  wheel   21 Mar 21 14:16 libdata -> /basejail/usr/libdata
lrwxrwxrwx   1 root  wheel   21 Mar 21 14:16 libexec -> /basejail/usr/libexec
drwxr-xr-x   2 root  wheel  512 Mar 21 14:16 local
drwxr-xr-x   2 root  wheel  512 Mar 21 14:16 obj
lrwxrwxrwx   1 root  wheel   19 Mar 21 14:16 ports -> /basejail/usr/ports
lrwxrwxrwx   1 root  wheel   18 Mar 21 14:16 sbin -> /basejail/usr/sbin
lrwxrwxrwx   1 root  wheel   19 Mar 21 14:16 share -> /basejail/usr/share
lrwxrwxrwx   1 root  wheel   17 Mar 21 14:16 src -> /basejail/usr/src
mail# cd ports
ports: No such file or directory.
mail# cd /basejail/usr/ports
/basejail/usr/ports: No such file or directory.
mail# cd /ports
/ports: No such file or directory.
mail#

From the host system, I thought about doing the following, but get
"make: no target to make"

{..HOST..}
host# cd /usr/ports/ftp/prozilla
host# ls
Makefile        distinfo        files           pkg-descr       pkg-plist
host# jexec 1 make
make: no target to make.

Am I left with simply ??

{...JAIL...}
mail# pkg_add -r prozilla

Thanks,

Don