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

[plamo:21476] CUPS インストールについて



LPDでの印刷で用紙設定ができないので、CUPSをインストールしようとしました。
まず、CUPS 1.1.xのtar.gzファイルをダウンロードして展開し、
必要なjpeg png tiff zlibのバージョンが既にインストールされていることを確認しました。

よくわからないまま、./configure をしました。
つぎに、make すると、次のようにエラーになってしまいます。

bash-2.05b# make
Making all in cups...
Compiling attr.c...
Compiling auth.c...
In file included from /usr/include/sys/socket.h:35,
                 from http.h:43,
                 from ipp.h:35,
                 from cups.h:34,
                 from auth.c:37:
/usr/include/bits/socket.h:305: asm/socket.h: そのようなファイルやディレクトリはありません
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from auth.c:44:
/usr/include/linux/errno.h:4: asm/errno.h: そのようなファイルやディレクトリはありません
make[1]: *** [auth.o] エラー 1
make: *** [all] エラー 1


説明を読むとよくわからないのですが、次のような記述がありました。
これをやっていなかったから生じたエラーなのでしょうか?

    Before configuring AFPL or GNU Ghostscript, first copy this
    directory to the Ghostscript source directory, e.g.:

        cp -r pstoraster /some/path/to/ghostscript-7.07

    Then apply the appropriate patch:

        cd /some/path/to/ghostscript-7.07
        patch -p1 pstoraster/gs707-lib.patch

ghostscriptをconfigureするまえに、
pstoasterのパッチを当てろと書いてあるんだと思いますが、
すでに入っているghostscriptを探そうと、
find / -name "ghostscript*"とすると、
/usr/doc/..../ghostscript-7.07というディレクトリが見付かりますが、
上の/some/path/to/ghostscript-7.07
というのは、ここのことでしょうか?



藤井啓之

Follow-Ups
[plamo:21477] Re: CUPS インストールについて, m.tsuchiya
[plamo:21478] Re: CUPSインストールについて, Shun-ichi TAHARA (田原 俊一)

[検索ページ] [メール一覧]
Plamo ML 公開システム