#11422: configure produces invalid setup.h on Ubuntu Karmic Koala
----------------------------------------------+-----------------------------
Reporter: mfunduc | Owner:
Type: build error | Status: new
Priority: normal | Milestone: 2.8.11
Component: build | Version: 2.8.10
Keywords: Ubuntu Karmic Koala config setup | Blockedby:
Patch: 0 | Blocking:
----------------------------------------------+-----------------------------
Hi!
In the attached config.log and setup.h you can see a difference between
what's supposed to be written:
#define _GNU_SOURCE 1
#define __LINUX__ 1
#define __UNIX__ 1
#define __WXGTK12__ 1
#define __WXGTK20__ 1
#define __WXGTK24__ 1
#define __WXGTK26__ 1
#define wxHAVE_GLIBC2 1
...
and what actually is in the setup.h:
/* Define this to get extra features from GNU libc. */
#ifndef _GNU_SOURCE
/* #undef _GNU_SOURCE */
#endif
...
/* Define this if your version of GTK+ is greater than 1.2 */
/* #undef __WXGTK12__ */
/* Define this if your version of GTK+ is greater than 1.2.7 */
/* #undef __WXGTK127__ */
/* Define this if your version of GTK+ is greater than 2.0 */
/* #undef __WXGTK20__ */
/* Define this if your version of GTK+ is greater than 2.4 */
/* #undef __WXGTK24__ */
/* Define this if your version of GTK+ is greater than 2.6 */
/* #undef __WXGTK26__ */
...
/* #undef __UNIX__ */
...
/* #undef __LINUX__ */
and so on. It's quite possible newer libraries have a fix for this but I
wasn't able to find it. I went through the config.log and it looks OK (I
even made a /bin/arch script to replace the command removed from Ubuntu to
no avail.
Can you tell me how to fix this?
Thank you!
Mike Funduc
--
Ticket URL: <http://trac.wxwidgets.org/ticket/11422>
#11422: configure produces invalid setup.h on Ubuntu Karmic Koala
--------------------------+-------------------------------------------------
Reporter: mfunduc | Owner:
Type: build error | Status: closed
Priority: normal | Milestone: 2.8.11
Component: build | Version: 2.8.10
Resolution: invalid | Keywords: Ubuntu Karmic Koala config setup
Blockedby: | Patch: 0
Blocking: |
--------------------------+-------------------------------------------------
Changes (by vadz):
* status: new => closed
* resolution: => invalid
Comment:
Your files seem to have incorrect line endings, if you copied them from a
Windows checkout/archive you need to translate them to Unix EOLs.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/11422#comment:1>