[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:07152] Re: /usr/libのファイルについて
-
From:Takahiro Yoshizawa
-
Date:Thu, 21 Sep 2000 03:29:01 +0900
- Subject: [plamo:07152] Re: /usr/libのファイルについて
- From: Takahiro Yoshizawa <bowwow@xxxxxxxxxxxx>
- Date: Thu, 21 Sep 2000 03:29:01 +0900
- Posted: Thu, 21 Sep 2000 03:13:48 +0900
はじめまして、吉澤隆裕といいます。(たしかこのMLには他のよしざわさんも、
たかひろさんもいらっしゃったと思いますが。)
From: KOJIMA Mitsuhiro <kojima@linet.gr.jp>
Subject: [plamo:07129] Re: /usr/libのファイルについて
Date: Tue, 19 Sep 2000 23:06:00 +0900
Message-ID: <20000919230526E.kojima@linet.gr.jp>
> > libgtk を使ったプログラムを configure をしたとき
> > もともとinstallされている、/usr/lib のlibglib や libgtk を
> > 見てくれません。
>
> これは、当方でも悩んでいる症状です。
わたしは "[plamo:05917] glib & gtk+-1.2.7" や
"[plamo:06814] Don't exist /usr/lib/libpthread.so" あたりを
参考に、Plamoをインストールした直後に
$ su
# cd /usr/lib
# ln -s ../../lib/libpthread.so.0 libpthread.so
を実行し、その後 glib-1.2.8.tar.gz と gtk+-1.2.8.tar.gz
を
./configure --prefix=/usr
でインストールして使ってますが、/usr/lib 以下の glib や gtk
が見つからないという現象はおこってないようです。
また、[plamo:06906] で、
> kojima@hurricane# /usr/bin/gtk-config --version
> 1.2.8
>
> となっているのに、xmms-1.2.2 を configure しようとすると
>
> ....
> checking for glib-config... /usr/bin/glib-config
> checking for GLIB - version >= 1.2.2... yes
> checking for gtk-config... /usr/bin/gtk-config
> checking for GTK - version >= 1.2.2... no
> *** Could not run GTK test program, checking why...
> *** The test program compiled, but did not run. This usually means
> *** that the run-time linker is not finding GTK or finding the wrong
> *** version of GTK. If it is not finding GTK, you'll need to set your
> *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
> *** to the installed location Also, make sure you have run ldconfig if that
> *** is required on your system
> ***
> *** If you have an old version installed, it is best to remove it, although
> *** you may also be able to get things to work by modifying LD_LIBRARY_PATH
> ***
> *** If you have a RedHat 5.0 system, you should remove the GTK package that
> *** came with the system with the command
> ***
> *** rpm --erase --nodeps gtk gtk-devel
> configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***
> となりますね。libgtk を /usr/local にインストールした場合は問題なく通
> るので、ちょっと気になっているところ。
とあるので、手元にある xmms-1.2.1 で試したところ
--------------------------------------------
[takahiro:tmp/xmms-1.2.1]% ./configure --prefix=/usr
creating cache ./config.cache
checking host system type... i586-pc-linux-gnu
(省略)
checking for pthread.h... yes
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.2... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.2... yes
(省略)
checking for /usr/bin/xmms... yes
Configuration:
Install path: /usr
Current xmms /usr/bin/xmms
Build esd plugin: yes
Build mikmod plugin: no
Build gnomexmms: yes
Build OpenGL plugins: yes
Pthread flag: -lpthread
Use one plugin dir: no
Allow user plugin dir: yes
--------------------------------------------
と、/usr 以下に自分でインストールした xmms-1.0.1 があるので
最後はこうなっていますが、 configure もちゃんと通っている
ようにおもいます。
以上、Linuxを使い始めて2年くらいにはなりますが、まだまだ
わからないところだらけなので、ぜんぜん違うことを言ってる
かもしれませんが。
-----------------
吉澤 隆裕
hanaguro@dream.com
-----------------
- Follow-Ups
-
- [plamo:07154] Re: /usr/libのファイルについて, Takahiro Yoshizawa
- References
-
- [plamo:07124] /usr/libのファイルについて, necop
- [plamo:07129] Re: /usr/libのファイルについて, KOJIMA Mitsuhiro
[検索ページ]
[メール一覧]
Plamo ML 公開システム