Discussion:
wxPython 3.0.1.1 build on Solaris 11 - cannot find include file wx/motif/chkconf.h
Tim Cook
2014-09-24 15:35:25 UTC
Permalink
Hi,

I am trying to build wxPython 3.0.1.1 on Solaris 11.

It seems to choose Motif as its widget interface. I do have Motif libraries
(pkg:/library/motif) installed.

The first significant error is:

"/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/include/wx/chkconf.h",
line
1237/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/wxPython/wxpy-bld/bk-deps
CC -c -o wxscintilla_LexLisp.o -DNDEBUG
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/include
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/lexlib
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/src
-D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -D__WXMOTIF__ -KPIC -DPIC
-D_FILE_OFFSET_BITS=64
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/wxPython/wxpy-bld/lib/wx/include/motif-unicode-3.0
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/include
-I/usr/dt/include -I/usr/openwin/include -mt -D_REENTRANT -O
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -features=tmplife
/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/lexers/LexLisp.cxx
: cannot find include file: "wx/motif/chkconf.h"

I concur with this as the directory found via the include dirs (-I) that
would be relevant only contains a "setup.h".

The full output of python build-wxpython.py is attached.

Any clues/pointers appreciated.

Cheers,
Tim
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Chris Barker
2014-09-24 17:19:51 UTC
Permalink
Post by Tim Cook
I am trying to build wxPython 3.0.1.1 on Solaris 11.
It seems to choose Motif as its widget interface. I do have Motif
libraries (pkg:/library/motif) installed.
Wow! is anyone stil using Motif these days? More to the point, is the
wx-motif well maintained? I'd check on that.

But you are probably better of using wxGTK anyway, unless you need to build
Motif-compatible apps. There has got too be be a way to force that.

-Chris
Post by Tim Cook
"/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/include/wx/chkconf.h",
line
1237/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/wxPython/wxpy-bld/bk-deps
CC -c -o wxscintilla_LexLisp.o -DNDEBUG
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/include
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/lexlib
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/src
-D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -D__WXMOTIF__ -KPIC -DPIC
-D_FILE_OFFSET_BITS=64
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/wxPython/wxpy-bld/lib/wx/include/motif-unicode-3.0
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/include
-I/usr/dt/include -I/usr/openwin/include -mt -D_REENTRANT -O
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -features=tmplife
/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/lexers/LexLisp.cxx
: cannot find include file: "wx/motif/chkconf.h"
I concur with this as the directory found via the include dirs (-I) that
would be relevant only contains a "setup.h".
The full output of python build-wxpython.py is attached.
Any clues/pointers appreciated.
Cheers,
Tim
--
You received this message because you are subscribed to the Google Groups
"wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

***@noaa.gov
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tim Cook
2014-09-25 21:08:33 UTC
Permalink
@Chris:

So GTK 2.20.1 is present on my Solaris 11 system - can anyone tell me how
to get the wxPython build to use it and not motif?

Thanks,
Tim
Post by Tim Cook
Hi,
I am trying to build wxPython 3.0.1.1 on Solaris 11.
It seems to choose Motif as its widget interface. I do have Motif
libraries (pkg:/library/motif) installed.
"/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/include/wx/chkconf.h",
line
1237/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/wxPython/wxpy-bld/bk-deps
CC -c -o wxscintilla_LexLisp.o -DNDEBUG
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/include
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/lexlib
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/src
-D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -D__WXMOTIF__ -KPIC -DPIC
-D_FILE_OFFSET_BITS=64
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/wxPython/wxpy-bld/lib/wx/include/motif-unicode-3.0
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/include
-I/usr/dt/include -I/usr/openwin/include -mt -D_REENTRANT -O
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -features=tmplife
/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/lexers/LexLisp.cxx
: cannot find include file: "wx/motif/chkconf.h"
I concur with this as the directory found via the include dirs (-I) that
would be relevant only contains a "setup.h".
The full output of python build-wxpython.py is attached.
Any clues/pointers appreciated.
Cheers,
Tim
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tim Cook
2014-10-03 22:25:40 UTC
Permalink
I did a bit of snooping and it seems the default type of config for
Linux/Unix is "gtk2".

Is there a way to tell whether the attempted config/build went ahead with
this default and did not instead choose "x11", which is reported to not
work?

Thanks,
Tim
Post by Tim Cook
So GTK 2.20.1 is present on my Solaris 11 system - can anyone tell me how
to get the wxPython build to use it and not motif?
Thanks,
Tim
Post by Tim Cook
Hi,
I am trying to build wxPython 3.0.1.1 on Solaris 11.
It seems to choose Motif as its widget interface. I do have Motif
libraries (pkg:/library/motif) installed.
"/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/include/wx/chkconf.h",
line
1237/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/wxPython/wxpy-bld/bk-deps
CC -c -o wxscintilla_LexLisp.o -DNDEBUG
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/include
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/lexlib
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/src
-D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -D__WXMOTIF__ -KPIC -DPIC
-D_FILE_OFFSET_BITS=64
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/wxPython/wxpy-bld/lib/wx/include/motif-unicode-3.0
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/include
-I/usr/dt/include -I/usr/openwin/include -mt -D_REENTRANT -O
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -features=tmplife
/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/lexers/LexLisp.cxx
: cannot find include file: "wx/motif/chkconf.h"
I concur with this as the directory found via the include dirs (-I) that
would be relevant only contains a "setup.h".
The full output of python build-wxpython.py is attached.
Any clues/pointers appreciated.
Cheers,
Tim
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tim Cook
2014-10-04 00:19:13 UTC
Permalink
Did more snooping - what do I modify so that build-wxpython.py calls
configure with "--with_gtk"?
Post by Tim Cook
I did a bit of snooping and it seems the default type of config for
Linux/Unix is "gtk2".
Is there a way to tell whether the attempted config/build went ahead with
this default and did not instead choose "x11", which is reported to not
work?
Thanks,
Tim
Post by Tim Cook
So GTK 2.20.1 is present on my Solaris 11 system - can anyone tell me how
to get the wxPython build to use it and not motif?
Thanks,
Tim
Post by Tim Cook
Hi,
I am trying to build wxPython 3.0.1.1 on Solaris 11.
It seems to choose Motif as its widget interface. I do have Motif
libraries (pkg:/library/motif) installed.
"/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/include/wx/chkconf.h",
line
1237/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/wxPython/wxpy-bld/bk-deps
CC -c -o wxscintilla_LexLisp.o -DNDEBUG
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/include
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/lexlib
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/src
-D__WX__ -DSCI_LEXER -DLINK_LEXERS -DWXUSINGDLL -D__WXMOTIF__ -KPIC -DPIC
-D_FILE_OFFSET_BITS=64
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/wxPython/wxpy-bld/lib/wx/include/motif-unicode-3.0
-I/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/include
-I/usr/dt/include -I/usr/openwin/include -mt -D_REENTRANT -O
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -features=tmplife
/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/src/stc/scintilla/lexers/LexLisp.cxx
: cannot find include file: "wx/motif/chkconf.h"
I concur with this as the directory found via the include dirs (-I) that
would be relevant only contains a "setup.h".
The full output of python build-wxpython.py is attached.
Any clues/pointers appreciated.
Cheers,
Tim
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nathan McCorkle
2014-10-14 21:02:51 UTC
Permalink
Post by Tim Cook
Did more snooping - what do I modify so that build-wxpython.py calls
configure with "--with_gtk"?
I'm no expert, but in build_options.py I see:
WXPORT="gtk2"

and in some of the other files I see 'port' being used as a variable
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...