[linux] gai - The General Applet Interface Library
Tomas Zatko
woody_tz na zoznam.sk
Středa Červen 23 04:13:47 CEST 2004
Zdravim!
Pri pokuse rozbehnut nejaky ten peknucky apletik z
http://gai.sourceforge.net/
som sa zabrzdil pri nechapavom kruteni hlavou..
mohol by mi prosim vas niekto vysvetlit toto?:
root na lacey:/tmp/gai-visual-audio-0.3# ./configure --libdir=/usr/local/
lib/
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking operating system... Linux
checking for pkg-config... true
checking for gai... yes
checking for xmms-config... true
checking for gai version >= 0.5.0... yes
checking if gai is compiled with gnome support... no
configure: creating ./config.status
config.status: creating Makefile
---(stale v pohode)---
root na lacey:/tmp/gai-visual-audio-0.3# make
gcc -Wall -O3 -pthread -I/usr/local/include -I/usr/include/gtk-2.0 -I/
usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/
atk-1.0 -I/usr/X11R6/include -I/usr/include/xmms -I/usr/include/
gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-DIMAGE_PATH="\"/usr/local/share/pixmaps/gai-va/\"" -DLINUX
-DAPPLET_NAME="\"gai-va\"" -DAPPLET_VERSION="\"0.3\"" -c -o gai-va.o
gai-va.c
gcc -o gai-va gai-va.o -pthread -Wl,--export-dynamic -L/usr/local/lib/
gai -lgai -lgthread-2.0 -lgtk-x11-2.0 -lpangoft2-1.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib -L/usr/X11R6/
lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
-lxmms
strip gai-va
---(stale v pohode)---
root na lacey:/tmp/gai-visual-audio-0.3# make install
mkdir -p /usr/local/share/pixmaps/gai-va
cp images/* /usr/local/share/pixmaps/gai-va/
mkdir -p /usr/local/bin
cp gai-va /usr/local/bin
root na lacey:/tmp/gai-visual-audio-0.3# exit
---(a teraz)---
woody na lacey:~$ gai-va
gai-va: error while loading shared libraries: libgai.so.0: cannot open
shared object file: No such file or directory
---(aj ked)---
woody na lacey:~$ ls /usr/local/lib/
GNUstep libdha.so.0 libgai.so.0 libmp3lame.la
libmp3lame.so.0.0.0 python2.3
codecs libdha.so.0.1 libgai.so.0.5.6 libmp3lame.so mplayer
site_ruby
default.sfx libgai.so libmp3lame.a libmp3lame.so.0 pkgconfig
texmf
ale ta libka tam JE!!! :'-(
a este - pri kompilovani (teda, este len configure) gai ku koncu vypise:
General Applet Interface 0.5.6 will be compiled with these settings:
--------------------------------------------------------------------------
- Dockapp/wmapplet support = yes
- Gnome Panel support = no
- ROX Panel support = no
- OpenGL(gtkglext) = no
- Joystick(SDL) = yes
- Installation prefix = /usr/local
- Operative system = LINUX
A mna stve to OpenGL = no, pretoze iny applet bez tehoto ani
neskopilujem..
./configure --enable-gl nefunguje :-(
dakujem za kazdu radu
.t..
Další informace o konferenci linux