GDライブラリのインストールについて教えてください

[上に] [前に] [次に]
北斗の男 2000/02/16(水) 14:01:39
perlからPNGを使いたくてホームの下にGDをインストールしようと思っているのですが、

%perl Makefile.PL LIB=/home/xxx/lib

を実行すると、

'ABSTRACT' is not a known MakeMaker parameter name.
'AUTHOR' is not a known MakeMaker parameter name.
'CAPI' is not a known MakeMaker parameter name.
Note (probably harmless): No library found for -lXpm
Writing Makefile for GD

というエラーが出ます。

/home/xxx/GD-1.23
/home/xxx/gd-1.7.3
/home/xxx/lib
/home/xxx/public_html

という構成です。
あと他に必要な物はあるでしょうか?

北斗の男 2000/02/16(水) 17:24:36
make installまでこぎつけたのですが、下記のようなエラーが出ます。
/home/xxx/lib/の下にインストールしたいのに、なぜ
/usr/local/lib/perl5/sun4-solaris/5.00404/perllocal.pod
を作ろうとするのか分かりません・・・


Warning: You do not have permissions to install into /usr/local/lib/perl5/man/man3 at /usr/local/lib/perl5/ExtUtils/Install.pm line 58.
Skipping /home/xxx/lib/./auto/GD/GD.so (unchanged)
Skipping /home/xxx/lib/./auto/GD/GD.bs (unchanged)
Installing /usr/local/lib/perl5/man/man3/./GD.3
Writing /home/xxx/lib/auto/GD/.packlist
/bin/sh: /usr/local/lib/perl5/sun4-solaris/5.00404/perllocal.pod: 作成できません
make: *** [doc_site_install] Error 1

聖帝 2000/02/16(水) 18:23:41
/usr/home/の下にGDをインストールできた人っているのでしょうか?
無理なような気がするんですけど

北斗の男 2000/02/16(水) 18:44:37
>無理なような気がするんですけど

やはり無理なのでしょうか?
gdlib.a
libpng.a
zlib.a
GD.so
まではできています。
あとはインストールだけなのに・・・(;;)

会社のパワーユーザに聞いてもダメでした。
やっぱり諦めたほうがいいのでしょうかね。。。

しょうこ 2000/02/16(水) 19:15:16
北斗の男さん、
私はGDというのは、何するものなのか、よくわかりませんが
GDの質問をしている別のページを見つけました。
http://www.union-net.or.jp/~cgifaq/Archive/msg05022.html
http://member.nifty.ne.jp/hippo2000/perltips/gdmemo.htm
(掲示板:http://mcgi2.nifty.ne.jp/cgi-bin/thread.cgi?user_id=GCD00051)

mizzy 2000/02/16(水) 20:47:41
北斗の男さんの様に以下の手順で入れてみたのですが、
すんなり入ってしまいました。(INSTALLMAN3DIRを指定して
いないので、Warningは出ましたが)

% perl Makefile.PL LIB=/home/xxx/lib
% make
% make install
Warning: You do not have permissions to install into /usr/lib/perl5/man/man3 at /usr/lib/perl5/5.00503/ExtUtils/Install.pm line 61.
Installing /home/xxx/lib/i386-linux/auto/GD/GD.so
Installing /home/xxx/lib/i386-linux/auto/GD/GD.bs
Files found in blib/arch --> Installing files in blib/lib into architecture dependend library tree!
Installing /home/xxx/lib/i386-linux/auto/GD/autosplit.ix
Installing /home/xxx/lib/i386-linux/GD.pm
Installing /home/xxx/lib/i386-linux/qd.pl
Installing /usr/lib/perl5/man/man3/GD.3
Writing /home/xxx/lib/i386-linux/auto/GD/.packlist
Appending installation info to /home/xxx/lib/i386-linux/perllocal.pod

メッセージはこんな感じでした。perllocal.podもちゃんと指定した
ディレクトリに入ってます。

うーん、なぜ北斗の男さんの環境ではうまくいかないのか謎ですねぇ…
makeがGNU Makeかそうじゃないかの違いですかね?関係ないかな…
Makefileを修正してみるとかではどうですか?

[上に] [前に] [次に]