
| ・ |
ドキュメントセンターを初めてご利用する方や運営方針についての基本的な姿勢をご覧になりたい方へ。
|
| ご利用の皆様から多く寄せられる質問にお答えしています。 |
|
| ・ |
ディーエーオフィスなどが利用する用語に関する解説を行います。
|
|
|
 |
 |  |
Maia Mailguard導入でconfigureを実行すると、file(1)がないと言われますが? |
portsからインストールします。
Maia Mailguard 1.0.1では、file(1)のバージョンが4.12以降であることが求められます。FreeBSDの場合、portsが整備されていますから、インストールすることができます。しかしながら、導入後も元のファイルが有効となってしまうことから、元のファイルの位置にあるものを名称変更、もしくは削除した後、元の位置にシンボリックリンクか、同様のものをコピーして設置します。
! 設置後のファイルを呼び出せるように整備
まずは古いファイルを移動します。削除でも構いません。
mv /usr/bin/file /usr/bin/file.old
次に、下記のlnコマンドか、cpコマンドのいずれかを実行し、シンボリックリンクか、コマンドのコピーを行います。
ln /usr/local/bin/file /usr/bin/file
cp /usr/local/bin/file /usr/bin/file
! portsからの導入
cd /usr/ports/sysutils/file
make install
! 導入後に表示されるメッセージ
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
---
===> Compressing manual pages for file-4.17
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for file-4.17
|
| 文書番号 |
06975 |
| 日付 |
2006.06.17 |
| 参照数 |
506 |
|