Hi ,
 
 I am trying to build fennec for ARM platform using
scratchbox.My scratch box is proeprly set for the toolchain. I am at
the directory mozilla/mozilla-central.

 I gave the command "make
-f client.mk build" I am getting the error below. I actually have the
gtk(libgtk..),glib(libglib...)....libraries cross compiled for my
platform. I have also added these libraries in one of the path in my
scratchbox environment (/home/kc/gtklibs/lib). I have added this path
to PKG_CONFIG_PATH but the build still tries to look for gtk,glib.gobj
libraries.
Can someone please tell me what am I missing ? on Host Ubuntu I could easily 
build the package using the same command though.


checking for gtk+-2.0 >= 2.10.0 gtk+-unix-print-2.0 glib-2.0
gobject-2.0 gdk-x11-2.0... Package gtk+-2.0 was not found in the
pkg-config search path. Perhaps you should add the directory containing
`gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package
'gtk+-2.0' found Package gtk+-unix-print-2.0 was not found in the
pkg-config search path. Perhaps you should add the directory containing
`gtk+-unix-print-2.0.pc' to the PKG_CONFIG_PATH environment variable No
package 'gtk+-unix-print-2.0' found Package glib-2.0 was not found in
the pkg-config search path. Perhaps you should add the directory
containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No
package 'glib-2.0' found Package gobject-2.0 was not found in the
pkg-config search path. Perhaps you should add the directory containing
`gobject-2.0.pc' to the PKG_CONFIG_PATH environment variable No package
'gobject-2.0' found Package gdk-x11-2.0 was not found in the pkg-config
search path. Perhaps you should add the directory containing
`gdk-x11-2.0.pc' to the PKG_CONFIG_PATH environment variable No package
'gdk-x11-2.0' found
configure: error: Library requirements (gtk+-2.0
>= 2.10.0 gtk+-unix-print-2.0 glib-2.0 gobject-2.0 gdk-x11-2.0) not
met; consider adjusting the PKG_CONFIG_PATH environment variable if
your libraries are in a nonstandard prefix so pkg-config can find them.
*** Fix above errors and then restart with               "make -f client.mk 
build"
make[2]: *** [configure] Error 1

Regards
KC

> Date: Wed, 15 Oct 2008 15:48:18 +0300
> From: [EMAIL PROTECTED]
> To: scratchbox-users@lists.scratchbox.org
> Subject: Re: [Scratchbox-users] Running dynamic executable under Scratchbox
> 
> Or you can try to copy the binary (and additional libraries it needs) 
> under /host_usr/, in most of the cases, that works too.
> 
> Or, you can use a statically linked binary...
> 
> Regards,
> 
>    Jussi
> 
> Diane Holt wrote:
> > You can run statically linked executables inside Scratchbox that were 
> > built outside of Scratchbox, but to run a dynamically linked executable 
> > inside Scratchbox, you need to build it inside Scratchbox.
> > 
> > Diane
> > 
> > On Tue, Oct 14, 2008 at 6:22 AM, Velikanov, Mikhail 
> > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
> > 
> >     Hi all,
> > 
> >      
> > 
> >     I'm trying to run a dynamically linked executable under Scratchbox
> >     and getting nowhere with that. The executable is compiled outside of
> >     Scratchbox environment and runs there without any problem. However,
> >     when I copy it into my Scratchbox user area under
> >     /scratchbox/users/$USER/home/$USER/, then login to Scratchbox and
> >     try to run it, I get two different errors, depending on how I invoke
> >     my executable.
> > 
> >      
> > 
> >     Specifically, if I use either relative path or what passes for
> >     absolute path in the Scratchbox world (i.e., starting with
> >     /home/$USER/), I get a "No such file or directory" error from bash.
> >     Interestingly, if I define SBOX_REDIRECT_LOG, I can see in the log
> >     file that Scratchbox picks up the executable and determines (quite
> >     correctly) its type as dynamic, which makes me wonder how on earth
> >     bash would not see it if Scratchbox does.
> > 
> >      
> > 
> >     Alternatively, if I use a fully resolved path (i.e., starting with
> >     /scratchbox/users/$USER/) when invoking my executable, I get the
> >     following error from dynamic linker:
> > 
> >      
> > 
> >     error while loading shared libraries: libstdc++.so.6: cannot open
> >     shared object file: No such file or directory
> > 
> >      
> > 
> >     Obviously, libstdc++ is one of the DSOs this executable needs in
> >     order to run. Inside Scratchbox environment it's located in
> >     /usr/lib/ which is included in LD_LIBRARY_PATH, so again it is a bit
> >     strange why linker could not find it.
> > 
> >      
> > 
> >     Can anyone please tell me what causes these errors and what can I do
> >     to make my executable run under Scratchbox?
> > 
> >      
> > 
> >     I'm using Scratchbox 1.0.11 configured with the following target:
> > 
> >      
> > 
> >     Compiler: cs2007q3-glibc2.5-arm6
> > 
> >     Devkits: cputransp
> > 
> >     CPU-transparency: /scratchbox/devkits/cputransp/bin/qemu-arm-eabi-sb2
> > 
> >      
> > 
> >     Thanks in advance!
> > 
> >      
> > 
> >     Mikhail
> > 
> >      
> > 
> >      
> > 
> >      
> > 
> > 
> >     _______________________________________________
> >     Scratchbox-users mailing list
> >     Scratchbox-users@lists.scratchbox.org
> >     <mailto:Scratchbox-users@lists.scratchbox.org>
> >     http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
> > 
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > _______________________________________________
> > Scratchbox-users mailing list
> > Scratchbox-users@lists.scratchbox.org
> > http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
> 
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-users@lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

_________________________________________________________________
Movies, sports & news! Get your daily entertainment fix, only on live.com
http://www.live.com/?scope=video&form=MICOAL
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to