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

[plamo:09422] Re: epscanの configureできない



山口@富山大学 です。

<20010330091238013.ZLJR.6681.t-mta2.odn.ne.jp@mta2.odn.ne.jp>において
skasai@pop16.odn.ne.jpさんは言いました。

>   not stripped な libz.so.1.1.3 を準備できたので, 再度 epscan を 
> ./configure しました. でも, 変化ありません.
> 
> # ./configure
> ......
> checking for -ljpeg... yes
> checking for -lz... no
> checking location of sg.h... found it in <scsi/sg.h>
> checking for working const... yes
> checking for inline... inline
> checking whether cross-compiling... no
> checking for ANSI C header files... yes
> checking for size_t... yes
> checking how to run the C preprocessor... gcc -E
> checking whether gcc needs -traditional... no
> checking for vprintf... yes
> checking for strerror... yes
> checking for Qt directory... using /usr/lib/qt
> The following neccessary features are missing:  libz
> Unable to configure epscan
> #

同じですね...

>   config.log は下記のようになっています. なにかわかるでしょうか.
> # cat config.log
> configure:1710: g++ -o conftest -O2     -L/usr/X11R6/lib conftest.C -lz  -ljpeg -ltiff -lqt -lX11  1>&5
(中略)
> /tmp/cc3nGqi7.o: In function `t(void)':
> /tmp/cc3nGqi7.o(.text+0x10): undefined reference to `gzopen'
> collect2: ld returned 1 exit status

ここで libz で定義されているはずの gzopen 関数の実体が見つかって
いないというエラーが出てますね。

とりあえず、

  % strings /usr/lib/libz.so.1.1.3

して gzopen という文字列があるかどうか確かめて、
# 出力が長くなるので less を使って表示/検索すればいいでしょう

  # ldconfig 

して、./configure の cache を消したうえで再度やってみたらうまく
いくんじゃないかと思うのですが...
# cache は config.cache のはずですがソースを消して展開し直すと
# 確実です
## cache にヒットしていないように見えるので外している可能性大ですが...
+--------+--------+--------+--------+--------+--------+--------+
富山大学大学院理工学研究科
電子情報工学専攻 知能システム工学第 3 講座
山口 真悟 (YAMAGUCHI Shingo)  shingo@kip.iis.toyama-u.ac.jp


Follow-Ups
[plamo:09270] Re: epscanの configureできない, かさい
References
[plamo:09420] Re: epscanの configureできない, yoneda

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