just try to export to PKG_CONFIG_PATH to gdk-x11-2.0 package lib directoryFor
example if you are using bash:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfigtry following commands...make sure that
your path shold be properexport PKG_CONFIG_PATH=/give path to
lib/lib/pakg-config:$PKG_CONFIG_PATHhope it may work!!!Quoting k c <[EMAIL
PROTECTED]>:.hmmessage P{margin:0px;padding:0px}body.hmmessage{FONT-SIZE:
10pt;FONT-FAMILY:Tahoma}Hi , I am trying to build fennec for ARM platform
usingscratchbox.My scratch box is proeprly set for the toolchain. I am atthe
directory mozilla/mozilla-central. I gave the command "make-f client.mk
build" I am getting the error below. I actually have
thegtk(libgtk..),glib(libglib...)....libraries cross compiled for myplatform. I
have also added these libraries in one of the path in myscratchbox environment
(/home/kc/gtklibs/lib). I have added this pathto PKG_CONFIG_PATH but the build
still tries to look for gtk,glib.gobjlibraries.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.0gobject-2.0 gdk-x11-2.0... Package gtk+-2.0 was not found in
thepkg-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
thepkg-config search path. Perhaps you should add the directory
containing`gtk+-unix-print-2.0.pc' to the PKG_CONFIG_PATH environment variable
Nopackage 'gtk+-unix-print-2.0' found Package glib-2.0 was not found inthe
pkg-config search path. Perhaps you should add the directorycontaining
`glib-2.0.pc' to the PKG_CONFIG_PATH environment variable Nopackage 'glib-2.0'
found Package gobject-2.0 was not found in thepkg-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-configsearch 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' foundconfigure: error: Library requirements (gtk+-2.0>=
2.10.0 gtk+-unix-print-2.0 glib-2.0 gobject-2.0 gdk-x11-2.0) notmet; consider
adjusting the PKG_CONFIG_PATH environment variable ifyour 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 1RegardsKC> Date: Wed, 15 Oct 2008 15:48:18 +0300>
From: [EMAIL PROTECTED]> To: [email protected]>
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 > > > 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> > [email protected]> >
> >
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users> >
> > > > > >
------------------------------------------------------------------------>
> > > _______________________________________________> >
Scratchbox-users mailing list> >
[email protected]> >
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users> >
_______________________________________________> Scratchbox-users mailing
list> [email protected]>
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-usersVoice your
opinion on the burning issues of the day. Discuss, debate with the world. Logon
to message boards on MSN. Try it!
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users