"Bundling gtk application". How to make them execute without need for gtk libraries.?.

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

 



hi  Gtk guru's...
   
  I am working in solris 2.8 sparc machine.I have
installed gtk 2.2.4  in it   using -  
gtk-2.2.4-sol8-sparc-local.gz downloaded from
http://sunfreeware.com/
 
   Also, i have installed glade-2 in my machine.
  
   I have developed some gtk applications using glade
, and all seem to run perfectly.

  " Now i need to run these applications in another
solaris 2.8 machine without installing gtk in it."

   Can anyone tell me the right procedure to bundle my
gtk applications, so as to make them work
independently.

Thanks in advance


****************
i tried the following thinks in solaris

  I did

 # ldd [my gtk application],

        libdl.so.1 =>    /usr/lib/libdl.so.1
        libatk-1.0.so.0 =>      
/home/users/mohanks/lib/libatk-1.0.so.0
        libgdk-x11-2.0.so.0 =>  
/home/users/mohanks/lib/libgdk-x11-2.0.so.0
        libgtk-x11-2.0.so.0 =>  
/home/users/mohanks/lib/libgtk-x11-2.0.so.0
        libgdk_pixbuf-2.0.so.0 =>       
/home/users/mohanks/lib/libgdk_pixbuf-2.0.so.0
        libgobject-2.0.so.0 =>  
/home/users/mohanks/lib/libgobject-2.0.so.0
        libglib-2.0.so.0 =>     
/home/users/mohanks/lib/libglib-2.0.so.0
        libm.so.1 =>     /usr/lib/libm.so.1
        libsocket.so.1 =>       
/usr/lib/libsocket.so.1
        libnsl.so.1 =>  
/home/users/mohanks/lib/libnsl.so.1
        libpthread.so.1 =>      
/usr/lib/libpthread.so.1
        libXext.so.0 => 
/home/users/mohanks/lib/libXext.so.0
        librt.so.1 =>    /usr/lib/librt.so.1
        libc.so.1 =>    
/home/users/mohanks/lib/libc.so.1
        libX11.so.4 =>  
/home/users/mohanks/lib/libX11.so.4
        libpangox-1.0.so.0 =>   
/home/users/mohanks/lib/libpangox-1.0.so.0
        libpango-1.0.so.0 =>    
/home/users/mohanks/lib/libpango-1.0.so.0
        libgmodule-2.0.so.0 =>  
/home/users/mohanks/lib/libgmodule-2.0.so.0
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libthread.so.1 =>       
/usr/lib/libthread.so.1
       
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1


I have packed all the gtk dependent libraries with my
executable .  But still the application wont start, it
throwing an error saying
   
    #
  (process:26578): Gdk-WARNING **: locale not
supported by C library

(process:26578): Gtk-WARNING **: Locale not supported
by C library.
        Using the fallback 'C' locale.

** (sampleglade_s:26578): WARNING **: No builtin or
dynamically loaded modules
were found. Pango will not work correctly. This
probably means
there was an error in the creation of:
  '/etc/pango/pango.modules'
You may be able to recreate this file by running
pango-querymodules.

** (sampleglade_s:26578): WARNING **: Couldn't load
font "Sans 10" falling back to "Sans 10"

** (sampleglade_s:26578): WARNING **: Couldn't load
font "Sans 10" falling back to "Sans 10"

** (sampleglade_s:26578): WARNING **: All font
failbacks failed!!!!

  #

I know the reason for this error.  
Its beacuse there is no /etc/pango/pango.modules in
the other machine.

what should i do now?

I am unable to proceed further from this step.
 
Does anyone know , what else i should do to make the 
executable run without installing gtk.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________

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