Compiling GTK+-2.0
- From: Jon <kreator gci net>
- To: gtk-list gnome org
- Subject: Compiling GTK+-2.0
- Date: Mon, 3 Jun 2002 20:41:06 -0800 (AKDT)
Hello,
I'm trying to compile GTK+-2.0 on a debian potato system and having some
trouble.. even after upgrading the compiler from GCC-2.95.2 to GCC-2.95.3
and the lastest binutils.. (also did not compile BEFORE the ungrade
either)..
If anyone can offer advice on how to compile this... here are the errors:
(actually the tail end of the errors, but the rest seems to be simular
error)..
---snip here---
----------------------------------------------------------------------
/bin/sh ../../libtool --mode=install /usr/bin/install -c im-ti-et.la /usr/local/lib/gtk-2.0/2.0.0/immodules/im-ti-et.la
libtool: install: warning: relinking `im-ti-et.la'
(cd /home/kreator/files/not-working/gtk+-2.0.3/modules/input; /bin/sh ../../libtool --mode=relink gcc -O2 -m486 -Wall -o im-ti-et.la -rpath /usr/local/lib/gtk-2.0/2.0.0/immodules -rpath /usr/local/lib/gtk-2.0/2.0.0/immodules -avoid-version -module imti-et.lo ../../gdk-pixbuf/libgdk_pixbuf-2.0.la ../../gdk/libgdk-x11-2.0.la ../../gtk/libgtk-x11-2.0.la -Wl,--export-dynamic -L/usr/local/lib -lpangox-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm )
gcc -shared imti-et.lo -Wl,--rpath -Wl,/usr/local/lib -L/home/kreator/files/not-working/gtk+-2.0.3/gdk/.libs -L/usr/X11R6/lib -L/home/kreator/files/not-working/gtk+-2.0.3/gdk-pixbuf/.libs -L/usr/local/lib -lgdk_pixbuf-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -lpangox-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm -Wl,--export-dynamic -Wl,-soname -Wl,im-ti-et.so -o .libs/im-ti-et.so
/usr/bin/install -c .libs/im-ti-et.soT /usr/local/lib/gtk-2.0/2.0.0/immodules/im-ti-et.so
/usr/bin/install -c .libs/im-ti-et.lai /usr/local/lib/gtk-2.0/2.0.0/immodules/im-ti-et.la
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib/gtk-2.0/2.0.0/immodules
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/gtk-2.0/2.0.0/immodules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ../../libtool --mode=install /usr/bin/install -c im-viqr.la /usr/local/lib/gtk-2.0/2.0.0/immodules/im-viqr.la
libtool: install: warning: relinking `im-viqr.la'
(cd /home/kreator/files/not-working/gtk+-2.0.3/modules/input; /bin/sh ../../libtool --mode=relink gcc -O2 -m486 -Wall -o im-viqr.la -rpath /usr/local/lib/gtk-2.0/2.0.0/immodules -rpath /usr/local/lib/gtk-2.0/2.0.0/immodules -avoid-version -module imviqr.lo ../../gdk-pixbuf/libgdk_pixbuf-2.0.la ../../gdk/libgdk-x11-2.0.la ../../gtk/libgtk-x11-2.0.la -Wl,--export-dynamic -L/usr/local/lib -lpangox-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm )
gcc -shared imviqr.lo -Wl,--rpath -Wl,/usr/local/lib -L/home/kreator/files/not-working/gtk+-2.0.3/gdk/.libs -L/usr/X11R6/lib -L/home/kreator/files/not-working/gtk+-2.0.3/gdk-pixbuf/.libs -L/usr/local/lib -lgdk_pixbuf-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -lpangox-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm -Wl,--export-dynamic -Wl,-soname -Wl,im-viqr.so -o .libs/im-viqr.so
/usr/bin/install -c .libs/im-viqr.soT /usr/local/lib/gtk-2.0/2.0.0/immodules/im-viqr.so
/usr/bin/install -c .libs/im-viqr.lai /usr/local/lib/gtk-2.0/2.0.0/immodules/im-viqr.la
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib/gtk-2.0/2.0.0/immodules
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/gtk-2.0/2.0.0/immodules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
if [ -z "" ] ; then \
/bin/sh ../../mkinstalldirs /usr/local/etc/gtk-2.0 ; \
../../gtk/gtk-query-immodules-2.0 > /usr/local/etc/gtk-2.0/gtk.immodules ; \
fi
Cannot load module /usr/local/lib/gtk-2.0/2.0.0/immodules/im.so: /usr/local/lib/gtk-2.0/2.0.0/immodules/im.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.0.0/immodules/im.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.0.0/immodules/im.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.0.0/immodules/m-et.so: /usr/local/lib/gtk-2.0/2.0.0/immodules/m-et.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.0.0/immodules/m-et.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.0.0/immodules/m-et.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.0.0/immodules/yrillic-translit.so: /usr/local/lib/gtk-2.0/2.0.0/immodules/yrillic-translit.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.0.0/immodules/yrillic-translit.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.0.0/immodules/yrillic-translit.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.0.0/immodules/angul.so: /usr/local/lib/gtk-2.0/2.0.0/immodules/angul.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.0.0/immodules/angul.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.0.0/immodules/angul.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.0.0/immodules/nuktitut.so: /usr/local/lib/gtk-2.0/2.0.0/immodules/nuktitut.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.0.0/immodules/nuktitut.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.0.0/immodules/nuktitut.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.0.0/immodules/pa.so: /usr/local/lib/gtk-2.0/2.0.0/immodules/pa.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.0.0/immodules/pa.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.0.0/immodules/pa.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.0.0/immodules/hai-broken.so: /usr/local/lib/gtk-2.0/2.0.0/immodules/hai-broken.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.0.0/immodules/hai-broken.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.0.0/immodules/hai-broken.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.0.0/immodules/i-er.so: /usr/local/lib/gtk-2.0/2.0.0/immodules/i-er.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.0.0/immodules/i-er.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.0.0/immodules/i-er.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.0.0/immodules/i-et.so: /usr/local/lib/gtk-2.0/2.0.0/immodules/i-et.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.0.0/immodules/i-et.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.0.0/immodules/i-et.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.0.0/immodules/iqr.so: /usr/local/lib/gtk-2.0/2.0.0/immodules/iqr.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.0.0/immodules/iqr.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.0.0/immodules/iqr.so: cannot open shared object file: No such file or directory
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/home/kreator/files/not-working/gtk+-2.0.3/modules/input'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/kreator/files/not-working/gtk+-2.0.3/modules/input'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/kreator/files/not-working/gtk+-2.0.3/modules'
make: *** [install-recursive] Error 1
red:/home/kreator/files/not-working/gtk+-2.0.3#
--end of snip--
I used for CFLAGS only "-O3 -m486 -march=pentium -mcpu=pentim -ffast-math
-funroll-loops"
I ran config with --prefix=/usr/local only
Any ideas, this is a fairly standard potato system, running ximiam gnome
from rep-carpet and afew upgraded items, like gcc, binutils, libpng,
libxml2 and not much else...
TIA..
=-=-=-=-=-=-=-=-=-=-=-=
Jon Bradley (SysOp)
bbs at telnet://toga.cx
=-=-=-=-=-=-=-=-=-=-=-=
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]