# cd /usr/ports/converters/libiconv # make WITH_EXTRA_PATCHES=yes # make install |
% cd /usr/local/src % tar xvzf /path/to/libiconv-1.10.tar.gz % gzip -d /path/to/libiconv-1.10-patch.gz | patch -p (↑ cd libiconv-1.10 すると path が違うと怒られるので注意が必要) |
% cd libiconv-1.10 % ./configure % make % make check % su # mkdir /usr/local/lib/libiconv.org # mv /usr/local/lib/libiconv* /usr/local/lib/libiconv.org # make install # ldconfig /usr/local/lib |
% cd /usr/local/src % tar xvzf /path/to/samba-3.0.18a.tar.gz % cd samba-3.0.18a % ./configure --with-libiconv=/usr/local --with-syslog --disable-\ cups --disable-winbindd --mandir=/usr/local/man |
% su # vi /etc/services |