Static compile of gtk+-2.4.9

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

 



Hello!

I'm trying to compile a static version of gtk+ 2.4.9, but for me it
fails.

So two general questions occured:

Is it possible to compile ONLY the static version of gtk+? Or do I also
have to build the dynamic/shared version?

How can I avoid the building of IM(input method) modules? (I don't need
them for my program options have no effect e.g. --disable-xim)


I've configured gtk+ with.

./configure --enable-static --disable-shared --disable-threads
--disable-nls --disable-shm --disable-xim --disable-xkb
--disable-modules --with-included-loaders=bmp,gif,png
--with-included-modules --without-xinput --without-libtiff
--without-libjpeg --enable-explicit-deps --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --with-libpng=/usr/local/lib/libpng.a

During the make process I'm running into a problem. I'm telling it not
to use modules at all, but there's still a check for them.


[snip]
../../gtk/gtk-query-immodules-2.0 im-xim.la  im-am-et.la im-cedilla.la
im-cyrillic-translit.la im-inuktitut.la im-ipa.la im-thai-broken.la
im-ti-er.la im-ti-et.la im-viqr.la > gtk.immodules
Cannot load module
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-xim.la: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-xim.la does not
export GTK+ IM module API:  6610:../../gtk/gtk-query-immodules-2.0: rld:
Fatal Error: cannot successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
Cannot load module
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-am-et.la: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-am-et.la does not
export GTK+ IM module API:  6610:../../gtk/gtk-query-immodules-2.0: rld:
Fatal Error: cannot successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
Cannot load module
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-cedilla.la: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-cedilla.la does
not export GTK+ IM module API:  6610:../../gtk/gtk-query-immodules-2.0:
rld: Fatal Error: cannot successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
Cannot load module
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-cyrillic-translit.la: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-cyrillic-translit.la
does not export GTK+ IM module API: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
Cannot load module
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-inuktitut.la: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-inuktitut.la does
not export GTK+ IM module API:  6610:../../gtk/gtk-query-immodules-2.0:
rld: Fatal Error: cannot successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
Cannot load module
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-ipa.la: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-ipa.la does not
export GTK+ IM module API:  6610:../../gtk/gtk-query-immodules-2.0: rld:
Fatal Error: cannot successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
Cannot load module
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-thai-broken.la: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-thai-broken.la
does not export GTK+ IM module API: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
Cannot load module
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-ti-er.la: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-ti-er.la does not
export GTK+ IM module API:  6610:../../gtk/gtk-query-immodules-2.0: rld:
Fatal Error: cannot successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
Cannot load module
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-ti-et.la: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-ti-et.la does not
export GTK+ IM module API:  6610:../../gtk/gtk-query-immodules-2.0: rld:
Fatal Error: cannot successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
Cannot load module
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-viqr.la: 
6610:../../gtk/gtk-query-immodules-2.0: rld: Fatal Error: cannot
successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/im-viqr.la does not
export GTK+ IM module API:  6610:../../gtk/gtk-query-immodules-2.0: rld:
Fatal Error: cannot successfully map soname
'/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/' under any of
the filenames /Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input/.libs/
make[3]: *** [gtk.immodules] Error 1
make[3]: Leaving directory
`/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules/input'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/Disk2/Work/GTK/Libraries/gtk+-2.4.9/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Disk2/Work/GTK/Libraries/gtk+-2.4.9'
make: *** [all] Error 2
[snip]


I'm trying to compile under HP-UX 10.20, IRIX 6.3 and Tru64 UNIX 3.2.

HP-UX: gcc 2.8.1
IRIX: cc (Mongoose Compilers: Version 7.10)
TRU 64 UNIX: gcc 2.7.2.1

I've installed pkgconfig-0.15.0, libtool-1.5.8, zlib-1.2.1,
libpng-1.2.5, freetype-2.1.7, fontconfig-2.2.96, xrender-0.8.3,
xft-2.1.2, glib-2.4.6, atk-1.6.1 and pango-1.4.1.

All previous mentioned packages are compiled with '--enable-static
--disable-shared', if it was a valid option for the configure script.

In my environment are

	LD_LIBRARY_PATH=/usr/local/lib
	LDFLAGS=-L/usr/local/lib
	CPPFLAGS=-I/usr/local/include

set.

Pointers would be very much appreciated - I'm rather out of inspiration.

-- 
Kind regards,

Marc
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux