お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2008-10-30 05:40:35

murukurumu
メンバ
登録日: 2008-10-30

gimp2.6.1+gimp-painterのインストールができません

自分はUbuntuを使い始めて1ヶ月の初心者です。

今度、GIMPにgimp-painterの機能を加えて、イラストを描きたいと考えています。

http://www3.ocn.ne.jp/~onpu/gimp/waza21.html

上記サイトを参考に、まずプリインストールされたGIMP2.4.5をアンインストールし、作業を進めていました。
しかし、項目6番めの、6コンパイルする で sudo makeコマンドを打ったのですが

make: *** ターゲットが指定されておらず, makefile も見つかりません.

と出ました。

そこで自分で色々調べた所、gimp-painterのバッチを当てる以前に、バッチを当てる前のgimp2.6.1がインストールできることが前提だという情報を耳にし、
実際に、バッチを当てる作業を省いて、sudo makeコマンドを入力を試したのですが、
同様の結果に終わりました。

通常の、`追加と削除‘やSynapticパッケージマネージャで、gimp2.4.5をインストールすることは出きるのですが、一体どうすればよいのでしょうか・・・?
とりあえずパッチを当てないgimp2.6.1をインストールできる方法を確率できれば、いけるんじゃないかと考えているのですが・・・。

オフライン

 

#2 2008-10-30 06:04:11

avidya
ゲスト

Re: gimp2.6.1+gimp-painterのインストールができません

 質問があります。
1.GIMP2.6.1 は本家サイトからダウンロードし、インストールましたか?

2.gimp-painter は gimp-painter--20081024.diff を使いましたか?( http://www3.ocn.ne.jp/~onpu/gimp/waza21.html では GIMP 2.4.1 用のパッチを利用しています )

3.patch コマンド実行時にエラーは発生していませんか?

4.GIMP の再ビルド時 ./configure でエラーメッセージは出ていませんか?

5.GIMP の再ビルド時 make でエラーメッセージは出ていませんか?

 

#3 2008-10-30 11:07:43

mizuno
管理者
From: Kyoto
登録日: 2007-02-28

Re: gimp2.6.1+gimp-painterのインストールができません

Gimp 2.6.1 は Intrepid に採用されているので、Ubuntu を 8.10 にバージョンアップするのが一番手っ取り早いかと思います。

オフライン

 

#4 2008-10-30 21:24:16

avidya
ゲスト

Re: gimp2.6.1+gimp-painterのインストールができません

mizunoさん による投稿:

Gimp 2.6.1 は Intrepid に採用されているので、Ubuntu を 8.10 にバージョンアップするのが一番手っ取り早いかと思います。

 ところがですね、やっかいなことに gimp-painter は plugin じゃなくて、GIMP のソースに当てるパッチの形式で公開されているんですよ。つまり GIMP のソースにパッチを当てるのと、GIMP のビルドは避けられません。

 

#5 2008-10-30 22:03:57

mizuno
管理者
From: Kyoto
登録日: 2007-02-28

Re: gimp2.6.1+gimp-painterのインストールができません

avidya による投稿:

mizunoさん による投稿:

Gimp 2.6.1 は Intrepid に採用されているので、Ubuntu を 8.10 にバージョンアップするのが一番手っ取り早いかと思います。

 ところがですね、やっかいなことに gimp-painter は plugin じゃなくて、GIMP のソースに当てるパッチの形式で公開されているんですよ。つまり GIMP のソースにパッチを当てるのと、GIMP のビルドは避けられません。

ですので、Intrepid環境で

コード:

$ sudo apt-get build-dep gimp
$ apt-get source gimp
debian/patche にパッチを投入
$ debuild

というのが一番簡単じゃないでしょうか。少なくとも apt-get source すればビルドが通る(はず)のgimp 2.6.1 のソースが手に入るわけですし。

# そのまま PPA に突っ込むのもありかも

オフライン

 

#6 2008-10-31 01:38:36

mizuno
管理者
From: Kyoto
登録日: 2007-02-28

Re: gimp2.6.1+gimp-painterのインストールができません

Intrepid でビルドしてみました。どういうものか知らないので正常に動いているかわかりませんが、MixBrushというのが動いていればいいのかな?

オフライン

 

#7 2008-10-31 05:53:33

avidya
ゲスト

Re: gimp2.6.1+gimp-painterのインストールができません

mizunoさん による投稿:

ですので、Intrepid環境で

コード:

$ sudo apt-get build-dep gimp
$ apt-get source gimp
debian/patche にパッチを投入
$ debuild

というのが一番簡単じゃないでしょうか。少なくとも apt-get source すればビルドが通る(はず)のgimp 2.6.1 のソースが手に入るわけですし。

 なるほど、たしかに本家のソースにパッチを当ててビルドするより楽ですね。

mizunoさん による投稿:

# そのまま PPA に突っ込むのもありかも

 おそらく、これが一番需要がありそうですね (^ ^)
 イラストとか描いている人に、かなりgimp-painter は人気があるようです。検索したらかなりのページがヒットしました。

# ただ G-Pen の手ぶれ補正機能はあまり過大な期待はできないみたいですよ。
# 効果がわからない、と書いていたページもありました。
# ペンタッチの再現性がいいようなことは、多くのページで書かれてました。

最後の編集者: avidya (2008-10-31 05:56:04)

 

#8 2008-10-31 06:45:23

murukurumu
メンバ
登録日: 2008-10-30

Re: gimp2.6.1+gimp-painterのインストールができません

>avidyaさんへ

>1.GIMP2.6.1 は本家サイトからダウンロードし、インストールましたか?
いいえ。
英語が不得手なため、下記のサイトからダウンロードしました。
http://ftp.yz.yamagata-u.ac.jp/pub/graphics/gimp/v2.6/

ダウンロードしたファイルは、「gimp-2.6.1.tar.bz2 」です。【

>2.gimp-painter は gimp-painter--20081024.diff を使いましたか?
はい。gimp-painter--20081024.diffを使用しました。これは間違いありません。

>3.patch コマンド実行時にエラーは発生していませんか?
再度試しましたが、それらしきエラー文は皆無でした。
*全て、patching file ファイル名でした。

>4.GIMP の再ビルド時 ./configure でエラーメッセージは出ていませんか?

あからさまにエラーと思える文章はなかったです。しかし所詮は素人判断。実際のメッセージをお見せし方がよいかもしれませんね。

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for target architecture... i686-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether to turn on debugging... no
checking whether to turn on profiling... no
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wmissing-declarations... yes
checking whether gcc understands -Winit-self... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wold-style-definition... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... yes
checking for alloca... yes
checking for difftime... yes
checking for mmap... yes
checking whether binary relocation support should be enabled... no
checking for _NL_MEASUREMENT_MEASUREMENT... yes
checking for intltool >= 0.35.5... 0.37.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for iso-codes... yes
checking for BABL... configure: error: Package requirements (babl >= 0.0.22) were not met:

No package 'babl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BABL_CFLAGS
and BABL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

以上になります。


>5.GIMP の再ビルド時 make でエラーメッセージは出ていませんか?

いいえ。
make: *** ターゲットが指定されておらず, makefile も見つかりません.  中止.

と出るだけで、これ以外のメッセージは何もでていません。

オフライン

 

#9 2008-10-31 06:46:27

murukurumu
メンバ
登録日: 2008-10-30

Re: gimp2.6.1+gimp-painterのインストールができません

>mizunoさんへ
やってみたところ・・・

$ sudo apt-get build-dep gimp

パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。

と、先日に入力sたので、既に入力済みと出たのですが、続いての

$ apt-get source gimp

のコマンドは

パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
NOTICE: 'gimp' packaging is maintained in the 'Svn' version control system at:
svn://svn.debian.org/svn/collab-maint/deb-maint/gimp/
25.7MB のソースアーカイブを取得する必要があります。
取得:1 http://jp.archive.ubuntu.com hardy/main gimp 2.4.5-1ubuntu2 (dsc) [1716B]
取得:2 http://jp.archive.ubuntu.com hardy/main gimp 2.4.5-1ubuntu2 (tar) [25.7MB]
取得:3 http://jp.archive.ubuntu.com hardy/main gimp 2.4.5-1ubuntu2 (diff) [44.1kB]
25.7MB を 19s で取得しました (1293kB/s)                                       
gpg: 2008年03月08日 12時19分50秒 JSTにDSA鍵ID C87FFC2Fで施された署名
gpg: 署名を検査できません: 公開鍵が見つかりません
dpkg-source: extracting gimp in gimp-2.4.5
dpkg-source: unpacking gimp_2.4.5.orig.tar.gz
dpkg-source: applying ./gimp_2.4.5-1ubuntu2.diff.gz

と、出てgimp-2.4.5がインストールされた模様です。
【もっとも、アプリケーション→グラフィックスからgimpが確認できないので、本当にインストールされたかは不明です。】


さらに、
/home/ユーザ名/gimp-2.4.5/debian/patchesのディレクトリに、gimp-2.4.5に対応すると思われるgimp-painter--20080518.diffを格納し、debuildコマンドを実効してみたんですが、

debuild: fatal error at line 606:
cannot find readable debian/changelog anywhere!
Are you in the source code tree?

と言い返される始末です。

ぶっちゃけた話、Intrepid環境とは何ですか? PPAに突っ込むとは具体的に何をすればよかったのでしょう? 
Intrepid環境を完全にスルーして、言われた通りのコマンドを実効したのですが、やはり何か問題があったのでしょうか。

オフライン

 

#10 2008-10-31 09:43:07

mizuno
管理者
From: Kyoto
登録日: 2007-02-28

Re: gimp2.6.1+gimp-painterのインストールができません

murukurumu による投稿:

ぶっちゃけた話、Intrepid環境とは何ですか? PPAに突っ込むとは具体的に何をすればよかったのでしょう? 
Intrepid環境を完全にスルーして、言われた通りのコマンドを実効したのですが、やはり何か問題があったのでしょうか。

Intrepid = Ubuntu 8.10 のことです。昨夜リリースされましたので使って見てください。Ubuntu は Gutsy とか Hardy とか、コードネームで呼ぶことがよくあるのですが、解りづらかったらごめんなさい。
とりあえず手元の 8.10 でパッケージのビルドには成功しているので、明日にでも私の PPA に上げてみようかと思います。PPA というのは Launchpad にある個人的なパッケージアーカイブのことです。ここにソースパッケージを突っ込むとサーバ上でビルドしてくれて、かつ synaptic のリポジトリになってくれます。
https://launchpad.net/~mizuno-as/+archive

オフライン

 

#11 2008-10-31 12:36:29

avidya
ゲスト

Re: gimp2.6.1+gimp-painterのインストールができません

murukurumuさん による投稿:

No package 'babl' found

 おもいっきりエラーが出てますよ (^_^;)
 babl というパッケージがないので、makefile が作られなかったようですね。

murukurumuさん による投稿:

いいえ。
make: *** ターゲットが指定されておらず, makefile も見つかりません.  中止.

 これは make コマンドが makefile が見つからない、ってエラーです (^_^;)

 Ubuntu 8.10 に Ubuntu をバージョンアップして、mizuno さんがパッチを当てたバイナリビルドをインストールするのが一番楽だと思います。

# 今日ついさっき、Ubuntu 8.04 LTL Hardy Heron を ここの指示に従って、
# Ubuntu 8.10 Intrepid Ibex にアップデートしました。
# 7.10 から 8.04 にアップデートした時のようなトラブルは今のところまったく発生していません。

 

#12 2008-11-01 09:44:46

mizuno
管理者
From: Kyoto
登録日: 2007-02-28

Re: gimp2.6.1+gimp-painterのインストールができません

deb http://ppa.launchpad.net/mizuno-as/ubuntu intrepid main
deb-src http://ppa.launchpad.net/mizuno-as/ubuntu intrepid main

PPAに突っ込みました。8.10 で上記apt-lineを追加してupgradeしてください。

オフライン

 

#13 2008-11-02 11:18:34

murukurumu
メンバ
登録日: 2008-10-30

Re: gimp2.6.1+gimp-painterのインストールができません

mizuno による投稿:

deb http://ppa.launchpad.net/mizuno-as/ubuntu intrepid main
deb-src http://ppa.launchpad.net/mizuno-as/ubuntu intrepid main

PPAに突っ込みました。8.10 で上記apt-lineを追加してupgradeしてください。

返信が送れて申し訳ないです、
>mizuno さんへ

わざわざご用意していただいて本当にありがとうございます。早速、上記の通り、gimp-painterを追加しようとしたのですが・・・、

1.意気揚々とUbuntu8.10のアップグレード作業を実施。
 ↓
2.しかし、実は既存のUbuntu8.04はUSBにインストールされていたので、アップグレードに必要な容量が足りないと言われてしまった!
 ↓
3.やむを得ず、8.04を削除して、8.10を新規でインストール。
 ↓
4.苦戦しつつも、新規インストールを何とか成功!
 ↓
5.しかし! Ubuntu8.10 は何故か無線インターフェースを認識してくれない!? 8.04の時は何もしないでも、接続候補が表示されて、後はSSIDと暗号鍵を入力さえすれば、OKだったのに!? (何故だー!?)
 ↓
6.うおおおおおおおお~~~~!?(苦戦しつつも解決方法を模索中)

 っというわけで、現在6番で奮闘中です。 ネット接続が出来れば、自ずとgimp-painterが使えるようになるんんじゃないかと。っと考えています。
結果につきましてはもうしばらくお待ちください。
 ・・・どうしても駄目だった時は、また再度質問するかもしれません。

オフライン

 

#14 2008-11-02 11:22:51

mizuno
管理者
From: Kyoto
登録日: 2007-02-28

Re: gimp2.6.1+gimp-painterのインストールができません

https://wiki.ubuntu.com/IntrepidReleaseNotes/ja
リリースノートはお読みになりましたか?
今回は無線LAN関係でいくつか問題も報告されているので、該当する問題がないか目を通しておくことをおすすめします。

オフライン

 

#15 2008-11-02 11:27:36

murukurumu
メンバ
登録日: 2008-10-30

Re: gimp2.6.1+gimp-painterのインストールができません

追伸:
・先ほどの返信と今回の投稿は、普段使用しているWindowsXPからの投稿です。(このノートPCにUSBメモリを差し込んでUbuntuを起動しています。

・これまで使用していた無線インターフェースはノートPCの機能についていたものです。
LANカードなどの後付ではありません。

・無論、無線LANのスイッチはONになっています。

オフライン

 

#16 2008-11-02 22:02:14

murukurumu
メンバ
登録日: 2008-10-30

Re: gimp2.6.1+gimp-painterのインストールができません

無線LANでいくらやってもラチがあかなかったので、結局有線に接続し、

gksudo gedit /etc/apt/sources.list 打って、mizunoさんのあげていただいた、上記URLをコピペで追加。んで、
sudo apt-get update と
sudo apt-get upgradeしたら、見事成功しました!!!

 おかげ様で、ようやくGIMPで思う存分に絵が描くことができます。質問で親切に回答いただいて、本当に感謝しています。

ちなみに、無線LAN接続ですが、リリースノートを見たところ、おそらく該当はなかったと。(素人判断を過ぎませんけど(汗))
機を改めて、ネットワーク環境のカテゴリで質問するつもりです。

本当に、どうもありがとうございました。 <(_ _*)>
 

オフライン

 

Board footer

Powered by FluxBB