Re: [fltk.development] fltk-1.3 svn not building on ubuntu 8.04
Please read: As I'm not sure it is a good idea to remove Xext, my question would be : Is there a configuration case where we need this libXext at link time ? Fabien ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev
Re: [fltk.development] fltk-1.3 svn not building on ubuntu 8.04
Removing the X11/Intrinsinc.h worked well on both Fedora 4 and recent Ubuntu 8.04 This said, there are two things to report: 1. Removing this including should also be followed by a string.h include in replacement as otherwise, we don't get the memcpy prototype declaration at least on ubuntu 8.04 Hmm - that's odd. When I removed it, I didn't see a warning about implicit declaration of memcpy on my ubunutu-8.04 build. Odd. That said, explicitly including string.h seems like the right thing to do anyway. 2. I also had to remove the -lXext depency for permitting a successful link in Ubuntu. Again, that's odd, as my ubuntu build proceeded OK. Probably at some point in the past I have added the necessary package to my ubuntu baseline, although I don't recall doing it. It seems to me that the ubuntu people are fairly aggressive about *not* installing dev support things, and have split the old meta-packages up into an awful lot of smaller units, so that now to install X11-dev support you need to trawl about for a long time getting many small packages installed... Or am I just misisng some easy trick to get it all in one go? The Fedora builds seem easier in that regard, you aks for X11 dev and get the whole lot... But then I end up with a laod of stuff I never use, so... Anyway - returning to the question at hand... Do we actually need Xext or not? I'm not even clear as to what it provides! -- Ian SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England Wales. Company no. 02426132 This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev
Re: [fltk.development] fltk-1.3 svn not building on ubuntu 8.04
Anyway - returning to the question at hand... Do we actually need Xext or not? I'm not even clear as to what it provides! I'm not a unix X11 geek too, so I used the nm tool on libXext to look at the APIs listing, then used grep to look if we used some extensions prefix and it seems that (at least) for Xdbe extensions, we need that one :) So I guess we should make the replacement include and probably check in the configure.in when we need Xext that it is here, like in the Xdeb enabling option ? Fabien ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev
Re: [fltk.development] fltk-1.3 svn not building on ubuntu 8.04
Anyway - returning to the question at hand... Do we actually need Xext or not? I'm not even clear as to what it provides! I'm not a unix X11 geek too, so I used the nm tool on libXext to look at the APIs listing, then used grep to look if we used some extensions prefix and it seems that (at least) for Xdbe extensions, we need that one :) So I guess we should make the replacement include and probably check in the configure.in when we need Xext that it is here, like in the Xdeb enabling option ? XDBE enabled is the default for 1.3 (and I think fltk-2) so by default we do want Xext then... And it does seems like a good thing to have. For fltk-1 the default was XDBE disabled. It still seems odd to me that your ubuntu box didn't have libXext installed by default though... SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England Wales. Company no. 02426132 This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev
Re: [fltk.development] fltk-1.3 svn not building on ubuntu 8.04
Hi, I think you are missing libxt-dev $ sudo apt-get install libxt-dev Best, Gnusci On Sat, Sep 20, 2008 at 10:28 PM, Greg Ercolano [EMAIL PROTECTED] wrote: Ian MacArthur wrote: removing the reference to X11/Intrinsic.h seems to allow the build to complete, it doesn't appear that we need it here. And these warnings.. xutf8/utf8Input.c:89: warning: incompatible implicit declaration of built-in function 'memcpy' xutf8/utf8Input.c:150: warning: incompatible implicit declaration of built-in function 'memcpy' [..] xutf8/utf8Input.c:378: warning: implicit declaration of function 'strstr' ..all sound like a missing #include string.h ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev
Re: [fltk.development] fltk-1.3 svn not building on ubuntu 8.04
On 20 Sep 2008, at 21:28, Greg Ercolano wrote: Ian MacArthur wrote: removing the reference to X11/Intrinsic.h seems to allow the build to complete, it doesn't appear that we need it here. And these warnings.. xutf8/utf8Input.c:89: warning: incompatible implicit declaration of built-in function 'memcpy' xutf8/utf8Input.c:150: warning: incompatible implicit declaration of built-in function 'memcpy' [..] xutf8/utf8Input.c:378: warning: implicit declaration of function 'strstr' ..all sound like a missing #include string.h Indeed - what I failed to make clear in my previous post (sorry) is that the 'memcpy' and 'strstr' warnings disappear when I comment out the unresolved reference to X11/Intrinsic.h from the input file... Which is somewhat odd, I think. Anyway, I don't think we need the ref to X11/Intrinsic.h anyway - removing it from the file (even on systems that do have X11/ Intrinsic.h installed) makes no difference to the build. -- Ian ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev
Re: [fltk.development] fltk-1.3 svn not building on ubuntu 8.04
On 21 Sep 2008, at 9:44, Edmanuel Torres wrote: I think you are missing libxt-dev $ sudo apt-get install libxt-dev Oh, most probably! However, I don't think we actually need the call to X11/Intrinsic.h in the file anyway... Cheers, -- Ian ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev
Re: [fltk.development] fltk-1.3 svn not building on ubuntu 8.04
On 21.09.2008, at 15:34, imacarthur wrote: On 21 Sep 2008, at 9:44, Edmanuel Torres wrote: I think you are missing libxt-dev $ sudo apt-get install libxt-dev Oh, most probably! However, I don't think we actually need the call to X11/Intrinsic.h in the file anyway... I will take tat line out in the next iteration and see if other Unix variants will stop compiling then. If everything is fine, we can leave it out. http://robowerk.com/ ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev
[fltk.development] fltk-1.3 svn not building on ubuntu 8.04
Gents, Building fltk-1.3 svn on my ubuntu 8.04 box, it fails as shown below. I haven't updated this box recently... Not seen this on my other builds (an older FC7 box), which appears to work OK. Compiling xutf8/utf8Input.c... xutf8/utf8Input.c:43:27: error: X11/Intrinsic.h: No such file or directory xutf8/utf8Input.c: In function 'XConvertEucTwToUtf8': xutf8/utf8Input.c:89: warning: implicit declaration of function 'memcpy' xutf8/utf8Input.c:89: warning: incompatible implicit declaration of built-in function 'memcpy' xutf8/utf8Input.c: In function 'XConvertEucKrToUtf8': xutf8/utf8Input.c:150: warning: incompatible implicit declaration of built-in function 'memcpy' xutf8/utf8Input.c: In function 'XConvertBig5ToUtf8': xutf8/utf8Input.c:192: warning: incompatible implicit declaration of built-in function 'memcpy' xutf8/utf8Input.c: In function 'XConvertGb2312ToUtf8': xutf8/utf8Input.c:224: warning: incompatible implicit declaration of built-in function 'memcpy' xutf8/utf8Input.c: In function 'XConvertEucCnToUtf8': xutf8/utf8Input.c:256: warning: incompatible implicit declaration of built-in function 'memcpy' xutf8/utf8Input.c: In function 'XConvertEucJpToUtf8': xutf8/utf8Input.c:298: warning: incompatible implicit declaration of built-in function 'memcpy' xutf8/utf8Input.c: In function 'XConvertEucToUtf8': xutf8/utf8Input.c:378: warning: implicit declaration of function 'strstr' xutf8/utf8Input.c:378: warning: incompatible implicit declaration of built-in function 'strstr' make[1]: *** [xutf8/utf8Input.o] Error 1 make: *** [all] Error 1 Note that, at least on this test, removing the reference to X11/Intrinsic.h seems to allow the build to complete, it doesn't appear that we need it here. -- Ian ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev