GIMPのインストール



ここでは、最新のportsを使って「gimp-1.2.1」をインストールする手順を紹介します。

最新portsのダウンロード

  • まず、「/usr/ports/graphics/gimp1」にある古いportsファイルをGMC等で削除しておきます。 そして、ftpでGIMPの最新portsファイルを取得します。

    # cd /usr/ports/graphics/gimp1  <--portsデレクトリに移動
    # ftp ftp.jp.FreeBSD.org        <--ftp開始
    Connected to ftp.jpix.ad.jp.
    220-     Welcome to FTP.JPIX.ad.jp.
    220-     Located in Tokyo, Japan.
    220- 
    220-     This is FTP server located in Japan Internet Exchange Co., Ltd.
    220- 
    220-              And, Maintenanced by Internet Research Institute, Inc.
    220- 
    220-     JPIX Web Site is at             IRI Web Site is at
    220-    http://www.jpix.ad.jp/          http://www.iri.co.jp/
    220- 
    220- 
    220 ftp.jpix.ad.jp FTP server (Version 6.00) ready.
    Name (ftp.jp.FreeBSD.org:root): ftp        <--「ftp」と入力
    331 Guest login ok, send your email address as password.
    Password:        <--Eメールアドレスを入力する
    230- Welcome to ftp.jp.FreeBSD.org presented by JPIX and IRI.
    230- 
    230-   This machine is a ``Mendocino'' Celeron/500MHz with 256Megs of memory,
    230-   and it has 155 GigaBytes HDDs totally (*NOT* external RAID system!!).
    230- 
    230-   The operating system is FreeBSD. 
    230- 
    230-   Should you wish to get your own copy of FreeBSD, see the /pub/FreeBSD/
    230-   directory or visit http://www.jp.freebsd.org/ for more information.
    230- 
    230-   Please send E-mail to amaike@iri.co.jp
    230-                     if you have any questions or problems.
    230- 
    230-   thanks!
    230 Guest login ok, access restrictions apply.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> cd /pub/FreeBSD/ports/ports-stable/graphics/gimp1/  <--デレクトリ移動
    250 CWD command successful.
    ftp> prompt      <--確認無しモードに変更
    Interactive mode off.
    ftp> mget -R *   <--一気に転送
    local: Makefile remote: Makefile
    227 Entering Passive Mode (210,171,226,36,228,107)
    150 Opening BINARY mode data connection for 'Makefile' (1352 bytes).
    100% |**************************************************|  1352       00:00 ETA
    226 Transfer complete.
    1352 bytes received in 0.22 seconds (5.96 KB/s)
    local: distinfo remote: distinfo
    227 Entering Passive Mode (210,171,226,36,228,108)
    150 Opening BINARY mode data connection for 'distinfo' (60 bytes).
    100% |**************************************************|    60       00:00 ETA
    226 Transfer complete.
    60 bytes received in 0.04 seconds (1.43 KB/s)
    local: files remote: files
    227 Entering Passive Mode (210,171,226,36,228,109)
    550 files: not a plain file.
    local: pkg-comment remote: pkg-comment
    227 Entering Passive Mode (210,171,226,36,228,110)
    150 Opening BINARY mode data connection for 'pkg-comment' (63 bytes).
    100% |**************************************************|    63       00:00 ETA
    226 Transfer complete.
    63 bytes received in 0.03 seconds (2.13 KB/s)
    local: pkg-descr remote: pkg-descr
    227 Entering Passive Mode (210,171,226,36,228,111)
    150 Opening BINARY mode data connection for 'pkg-descr' (812 bytes).
    100% |**************************************************|   812       00:00 ETA
    226 Transfer complete.
    812 bytes received in 0.11 seconds (6.94 KB/s)
    local: pkg-message remote: pkg-message
    227 Entering Passive Mode (210,171,226,36,228,112)
    150 Opening BINARY mode data connection for 'pkg-message' (312 bytes).
    100% |**************************************************|   312       00:00 ETA
    226 Transfer complete.
    312 bytes received in 0.09 seconds (3.57 KB/s)
    local: pkg-plist remote: pkg-plist
    227 Entering Passive Mode (210,171,226,36,228,114)
    150 Opening BINARY mode data connection for 'pkg-plist' (51539 bytes).
    100% |**************************************************| 51539       00:00 ETA
    226 Transfer complete.
    51539 bytes received in 6.72 seconds (7.49 KB/s)
    ftp> exit   <--一旦終了(デレクトリ移動が出来ればしなくてもかまいません。)
    221 Goodbye.
    
    # cd files  <--次にfilesデレクトリのファイルを取得します。
    # pwd
    /usr/ports/graphics/gimp1/files
    
    # ftp ftp.jp.FreeBSD.org
    
    (上記と同じのでメッセージ省略)
    
    ftp> cd /pub/FreeBSD/ports/ports-stable/graphics/gimp1/files
    250 CWD command successful.
    ftp> prompt
    Interactive mode off.
    ftp> mget -R *
    
    (途中略)
    
    ftp> exit
    221 Goodbye.
    

コンパイルとインストール

  • 次に今ダウンロードした最新portsにより、make&installをします。

    # cd /usr/ports/graphics/gimp1
    # make install
    >> gimp-1.2.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
    >> Attempting to fetch from ftp://ftp.gimp.org/pub/gimp/v1.2/v1.2.1/.
    
    (途中略)
    
    ***************************************************
    *                                                 *
    * For I18N support, please execute "gimp.setfont" *
    * before running the GIMP.                        *
    *                                                 *
    ***************************************************
    ===>   Compressing manual pages for gimp-1.2.1_2
    ===>   Running ldconfig
    /sbin/ldconfig -m /usr/X11R6/lib
    ===>   Registering installation for gimp-1.2.1_2
    

  • 上記の最後のメッセージにある様に、I18Nサポートのため、"gimp.setfont"を実行します。

    # gimp.setfont  <--使い方を確認します。
    
    gimp.setfont - Font setting utility for GIMP (Version 0.4 Feb 07 2000)
    
    Usage: gimp.setfont 
    
    ----------------------------------------------------------------
    [language]          [fontset]
     chinese             -*-helvetica-(iso8859-1),-*-kai-(big5-0)
     czech               -*-fixed-(iso8859-2)
     danish              -*-helvetica-(iso8859-1)
     dutch               -*-helvetica-(iso8859-1)
     english             -*-helvetica-(iso8859-1)
     finnish             -*-helvetica-(iso8859-1)
     french              -*-helvetica-(iso8859-1)
     german              -*-helvetica-(iso8859-1)
     hungarian           -*-fixed-(iso8859-2)
     italian             -*-helvetica-(iso8859-1)
     japanese            -*-fixed-(iso8859-1,jisx0201,jisx0208)
     korean              -*-fixed-(iso8859-1),-daewoo-gothic-(ksc5601)
     norwegian           -*-helvetica-(iso8859-1)
     polish              -*-fixed-(iso8859-2)
     russian             -*-helvetica-(koi8-r)
     slovak              -*-fixed-(iso8869-2)
     swedish             -*-helvetica-(iso8859-1)
     ukrainian           -*-helvetica-(koi8-r)
    ----------------------------------------------------------------
    
    If you need iso8859-2 fonts, please install etlfonts
    (x11-fonts/etlfonts).
    
    # gimp.setfont japanese  <--japaneseに設定します。
    
    gimp.setfont - Font setting utility for GIMP (Version 0.4 Feb 07 2000)
    
    Setting for Japanese language...
    
    Please set "LANG" environment variable to "ja_JP.EUC" and execute "gimp".
    
    Directory /root/.gimp-1.2 is not found. 
    Please execute "gimp" and install files into /root/.gimp-1.2
    directory first. 
    

  • 以上で、インストールは終了です。下記コマンドでGIMPが起動されればOKです。

    # gimp &
    


画面キャプチャ(GIMP)へもどる


Copyright (c) 2001 Hiroshi Nakamura. All rights reserved.