Re: Gtk XOpenDisplay Xcompile problem
- From: "harshavardhanreddy mandeepala" <hvreddy1110 gmail com>
- To: "Simphiwe Twala" <sim_piwe hotmail com>
- Cc: gtk-list gnome org
- Subject: Re: Gtk XOpenDisplay Xcompile problem
- Date: Tue, 19 Sep 2006 11:02:27 +0530
Hi Simphiwe Twala ,
Thanks for replying.
I did the same way as you told But no progress.
I created the x11 directory in Gtk source folder and moved(cp -d) Xext libs to there.
And i added -I/X11/lXext in configure file before The line where it starts checking the X11 Libraries.Is it correct.?
But I really didn;t get your's "enter the command
-I/X11/lXext in the configure script."
So what i did is correct or wrong?
Thanks in advance,
Regards,
Harsha
On 9/18/06, Simphiwe Twala <sim_piwe hotmail com> wrote:
Hi Harsha
Gtk will compile perfectly once all the dependencies have been installed and
compiled successfully. Were you able to fix the bugs when cross-compiling
cairo?
If the configure script is giving bugs then the file that is missing is not
in the path where it is expected to be. for instance the Xext libraries
might need to be placed in the directory of the configure script or in a
newly created folder say if you create a folder named X11 in the Gtk
directory, place the librarries in quest there andthen enter the command
-I/X11/lXext in the configure script.
when you run the configure script then you will not get the bug you got
previously. Environment variables are set during installation of a package
so when a package is being compiled not all information is retrieved from
/etc/profile but rather from pkg-config.
21GFJDNFLGJKDAL4636FYIUREIRUTETYPQOOGCMXCB
,XCMBNXC.BPOD346SFOTRIEWIOU236EIRYIERU5436YEPOIKDJKL
;RTUY324225IOPCGKD6LFGJ;ADFGJKL;RTYIOT245YIOIHJLD;FKHJLD;GFH54365KJ;ADLFKHL;DFKG./X,CVXMKCG376859KL64356547RTU65TR687TY8765T7876TYUI7TYU57HGJ7SR6546GHJK67UY87987YUI68986UI898799000J54909FTKLJ;T
>From: "harshavardhanreddy mandeepala" <
hvreddy1110 gmail com>
>To: gtk-list gnome org
>CC: gtk-app-devel-list gnome org
>Subject: Gtk XOpenDisplay Xcompile problem
>Date: Mon, 18 Sep 2006 16:20:13 +0530
>
>Hi All,
>I am trying to cross compile Gtk+2.6.10 for my ARM board.
>I compiled Xfree86-4.6 and related dep libraries for Gtk.
>While compiling my Gtk i am facing the following problem.
>I set my environment variables to point my libraries .
>whenever i compile(configure) Gtk it is giving following error message
>
>.........................
>checking pixbuf loaders to build...
>checking for sys/wait.h that is POSIX.1 compatible... yes
>checking return type of signal handlers... (cached) void
>checking for x86 platform... no
>checking for gdk-pixbuf-csource... /opt/gnome/bin/gdk-pixbuf-csource
>checking for freetype-config... /opt/freescale/usr/local/gcc-
>4.1.1-glibc-2.4-nptl-2
>/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/bin/freetype-config
>checking For sufficiently new FreeType (at least
2.0.1)... yes
>checking for X... libraries /tmp/xfree86_new/dist/usr/X11R6/lib, headers
>/tmp/xfree86_new/dist/usr/X11R6/include
>checking for gethostbyname... yes
>checking for connect... yes
>checking for remove... yes
>checking for shmat... yes
>checking for IceConnectionNumber in -lICE... yes
>checking for XOpenDisplay in -lX11... no
>configure: error: *** libX11 not found. Check 'config.log' for more
>details.
>
>I checked even config.log file and i understand that it is looking for
>libXext.
>But libXext is there in my Xserver lib .Which is also Xcompiled and is in
>the Environment path which i set.
>
>For clear idea i am attaching my config.log file along with this mail.
>
>Infact while i cross compiling pango it didn't gave any problem while
>configure ,but in the make process it
>has given some problems.But when i added -lXext -lexpat to XFT_LIBS it
>compiled without any problem.and it has created
>all pango libraries for backend freetype ,X.Xft.
>But for Gtk it is giving problem at the time of compilation itself. If It
>links libXext i hope it won't give any problem.But i don't know how to link
>externelly.
>If some body helps in this regard it will be great .
>
>Thanks in advance.
>
>
>Regards,
>Harsha
>_______________________________________________
>gtk-app-devel-list mailing list
>gtk-app-devel-list gnome org
>
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]