RE: GTK-2.0 static linked application does not work



> -----Original Message-----
> From: Matthias Clasen [mailto:Matthias Clasen poet de]
> Sent: Friday, November 22, 2002 8:54 AM
> To: Gansser, Martin
> Cc: gtk-devel-list gnome org
> Subject: RE: GTK-2.0 static linked application does not work
> 
> 
> > gtk+-2.0.8 was built with: ./configure --prefix=$(prefix) 
> --disable-shared --enable-static \
> > --with-included-loaders=all
> 
> You are missing --disable-modules
> 
> Matthias
> 
> 
> configure: error: the specified loader all does not exist
> ./configure[13828]: PATH_SEPARATOR:  not found.


the configure option --with-included-loaders=all is false,
Correct is:
./configure --prefix=$(prefix) --enable-static \
        --with-included-loaders --disable-modules

the static linked binary starts now, but I figured out that there is a minimal requirement on gtk2:

this files must be existing:

# ls -lR /opt/gtk2
/opt/gtk2:
insgesamt 0
drwxrwxrwx    4 root     sys            96 11-22 11:17 etc

/opt/gtk2/etc:
insgesamt 0
drwxrwxrwx    2 root     sys            96 11-22 11:17 gtk-2.0
drwxrwxrwx    2 root     sys            96 11-22 11:03 pango

/opt/gtk2/etc/gtk-2.0:
insgesamt 4
-rw-rw-rw-    1 root     sys           417 11-22 11:17 gtk.immodules

/opt/gtk2/etc/pango:
insgesamt 16
-rw-r--r--    1 root     sys         11446 11-22 11:03 pangox.aliases
-rw-rw-rw-    1 root     sys           119 11-22 11:03 pango.modules

or the following error message occurs:

# abiword
GLib: Cannot convert message: Conversion from character set 'UTF-8' to 'iso88591' is not supported

** (AbiWord_s:12417): WARNING **: Couldn't load font "Sans 10" falling back to "Sans 10"
** (AbiWord_s:12417): WARNING **: Couldn't load font "Sans 10" falling back to "Sans 10"
** (AbiWord_s:12417): WARNING **: All font failbacks failed!!!!

mean this, that I should set the flag:
'--sysconfdir' in pango and in gtk2? to place the config files f. e.
in /abiword/etc to distribute it with the final executable?.

thanks Martin



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