The location of setup:
./wxbld/gtk3/lib/wx/include/gtk3-unicode-3.0/wx/setup.h
Using "--vervose" (I it looked small so I added here)
linux-bymi:/u/Downloads/wxPython-4.0.4 # python3 build.py
build_py “–verbose”
Will build using: "/usr/bin/python3"
3.6.5 (default, Mar 31 2018, 19:45:04) [GCC]
Python's architecture is 64bit
cfg.VERSION: 4.0.4
Running command: build_py
Checking for /u/Downloads/wxPython-4.0.4/bin/waf-2.0.8...
"/usr/bin/python3" /u/Downloads/wxPython-4.0.4/bin/waf-2.0.8
–verbose
–wx_config=/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config
–verbose --gtk3 --python=“/usr/bin/python3”
–out=build/waf/3.6/gtk3 configure build
Setting top to :
/u/Downloads/wxPython-4.0.4
Setting out to :
/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3
Checking for 'gcc' (C compiler) : 15:32:41 runner
[‘/usr/bin/gcc’, ‘-dM’, ‘-E’, ‘-’]
/usr/bin/gcc
Checking for 'g++' (C++ compiler) : 15:32:41 runner
[‘/usr/bin/g++’, ‘-dM’, ‘-E’, ‘-’]
/usr/bin/g++
Checking for program 'python' : /usr/bin/python3
15:32:41 runner ['/usr/bin/python3', '-c', 'import
imp;print(imp.get_tag())']
15:32:41 runner ['/usr/bin/python3', '-c', 'import sys\nfor x in
sys.version_info: print(str(x))']
15:32:42 runner ['/usr/bin/python3', '-c', "from
distutils.sysconfig import get_config_var,
get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0,
prefix=‘/usr/local’) or ‘’))"]
15:32:42 runner ['/usr/bin/python3', '-c', "from
distutils.sysconfig import get_config_var,
get_python_lib\n\nprint(repr(get_python_lib(plat_specific=1,
standard_lib=0, prefix=‘/usr/local’) or ‘’))"]
Checking for python version >= 2.7.0 : 3.6.5
15:32:42 runner ['/usr/bin/python3', '-c', "from
distutils.sysconfig import get_config_var,
get_python_lib\n\nprint(repr(get_config_var(‘prefix’) or
‘’))\nprint(repr(get_config_var(‘SO’) or
‘’))\nprint(repr(get_config_var(‘LDFLAGS’) or
‘’))\nprint(repr(get_config_var(‘LIBDIR’) or
‘’))\nprint(repr(get_config_var(‘LIBPL’) or
‘’))\nprint(repr(get_config_var(‘INCLUDEPY’) or
‘’))\nprint(repr(get_config_var(‘Py_ENABLE_SHARED’) or
‘’))\nprint(repr(get_config_var(‘MACOSX_DEPLOYMENT_TARGET’) or
‘’))\nprint(repr(get_config_var(‘LDSHARED’) or
‘’))\nprint(repr(get_config_var(‘CFLAGS’) or
‘’))\nprint(repr(get_config_var(‘LDVERSION’) or ‘’))"]
python-config :
/usr/bin/python3-config
Asking python-config for pyembed '--cflags --libs --ldflags'
flags : 15:32:42 runner [‘/usr/bin/python3-config’, ‘–cflags’,
‘–libs’, ‘–ldflags’]
yes
Testing pyembed
configuration : 15:32:42
runner [‘/usr/bin/g++’, ‘-fmessage-length=0’,
‘-grecord-gcc-switches’, ‘-O2’, ‘-fstack-protector-strong’,
‘-funwind-tables’, ‘-fasynchronous-unwind-tables’,
‘-fstack-clash-protection’, ‘-g’, ‘-fmessage-length=0’,
‘-grecord-gcc-switches’, ‘-O2’, ‘-fstack-protector-strong’,
‘-funwind-tables’, ‘-fasynchronous-unwind-tables’,
‘-fstack-clash-protection’, ‘-g’, ‘-fwrapv’,
‘-I/usr/include/python3.6m’,
‘-DPYTHONDIR=“/usr/local/lib/python3.6/site-packages”’,
‘-DPYTHONARCHDIR=“/usr/local/lib64/python3.6/site-packages”’,
‘-D_FORTIFY_SOURCE=2’, ‘-DNDEBUG’, ‘-D_FORTIFY_SOURCE=2’,
‘-DOPENSSL_LOAD_CONF’, ‘…/test.cpp’, ‘-c’,
‘-o/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3/.conf_check_7330cf47e488f2bd95d86242ad7cdd55/testbuild/test.cpp.1.o’]
15:32:42 runner ['/usr/bin/g++', '-Xlinker', '-export-dynamic',
‘test.cpp.1.o’,
‘-o/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3/.conf_check_7330cf47e488f2bd95d86242ad7cdd55/testbuild/testprog’,
‘-Wl,-Bstatic’, ‘-Wl,-Bdynamic’, ‘-L/usr/lib64’, ‘-lpython3.6m’,
‘-lpthread’, ‘-ldl’, ‘-lutil’, ‘-lm’, ‘-lpython3.6m’,
‘-lpthread’, ‘-ldl’, ‘-lutil’, ‘-lm’]
yes
Asking python-config for pyext '--cflags --libs --ldflags'
flags : 15:32:42 runner [‘/usr/bin/python3-config’,
‘–cflags’, ‘–libs’, ‘–ldflags’]
yes
Testing pyext
configuration : 15:32:42
runner [‘/usr/bin/g++’, ‘-fPIC’, ‘-fmessage-length=0’,
‘-grecord-gcc-switches’, ‘-O2’, ‘-fstack-protector-strong’,
‘-funwind-tables’, ‘-fasynchronous-unwind-tables’,
‘-fstack-clash-protection’, ‘-g’, ‘-fmessage-length=0’,
‘-grecord-gcc-switches’, ‘-O2’, ‘-fstack-protector-strong’,
‘-funwind-tables’, ‘-fasynchronous-unwind-tables’,
‘-fstack-clash-protection’, ‘-g’, ‘-fwrapv’,
‘-I/usr/include/python3.6m’,
‘-DPYTHONDIR=“/usr/local/lib/python3.6/site-packages”’,
‘-DPYTHONARCHDIR=“/usr/local/lib64/python3.6/site-packages”’,
‘-DHAVE_PYEMBED=1’, ‘-D_FORTIFY_SOURCE=2’, ‘-DNDEBUG’,
‘-D_FORTIFY_SOURCE=2’, ‘-DOPENSSL_LOAD_CONF’, ‘…/test.cpp’,
‘-c’,
‘-o/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3/.conf_check_27e968fdb500a789bc96cc76d71fd670/testbuild/test.cpp.1.o’]
15:32:42 runner ['/usr/bin/g++', '-shared', '-Xlinker',
‘-export-dynamic’, ‘test.cpp.1.o’,
‘-o/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3/.conf_check_27e968fdb500a789bc96cc76d71fd670/testbuild/testprog.cpython-36m-x86_64-linux-gnu.so’,
‘-Wl,-Bstatic’, ‘-Wl,-Bdynamic’, ‘-L/usr/lib64’, ‘-lpython3.6m’,
‘-lpthread’, ‘-ldl’, ‘-lutil’, ‘-lm’, ‘-lpython3.6m’,
‘-lpthread’, ‘-ldl’, ‘-lutil’, ‘-lm’]
yes
Finding libs for
WX : 15:32:42
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘core,net’, ‘–no-rpath’]
yes
Finding libs for
WXADV : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘adv,core,net’, ‘–no-rpath’]
yes
Finding libs for
WXSTC : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘stc,core,net’, ‘–no-rpath’]
yes
Finding libs for
WXHTML : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘html,core,net’, ‘–no-rpath’]
yes
Finding libs for
WXGL : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘gl,core,net’, ‘–no-rpath’]
yes
Finding libs for
WXWEBVIEW : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘webview,core,net’, ‘–no-rpath’]
yes
Finding libs for
WXXML : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘xml,core,net’, ‘–no-rpath’]
yes
Finding libs for
WXXRC : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘xrc,xml,core,net’, ‘–no-rpath’]
yes
Finding libs for
WXRICHTEXT : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘richtext,core,net’, ‘–no-rpath’]
yes
Finding libs for
WXMEDIA : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘media,core,net’, ‘–no-rpath’]
yes
Finding libs for
WXRIBBON : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘ribbon,core,net’, ‘–no-rpath’]
yes
Finding libs for
WXPROPGRID : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘propgrid,core’, ‘–no-rpath’]
yes
Finding libs for
WXAUI : 15:32:44
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘aui,core’, ‘–no-rpath’]
yes
'configure' finished successfully (2.363s)
Waf: Entering directory
`/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3’
Traceback (most recent call last):
File
“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Scripting.py”,
line 118, in waf_entry_point
run_commands()
File
“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Scripting.py”,
line 178, in run_commands
ctx=run_command(cmd_name)
File
“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Scripting.py”,
line 169, in run_command
ctx.execute()
File
“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Scripting.py”,
line 366, in execute
return execute_method(self)
File
“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Build.py”,
line 93, in execute
self.execute_build()
File
“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Build.py”,
line 96, in execute_build
self.recurse([self.run_dir])
File
“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Context.py”,
line 126, in recurse
user_function(self)
File "/u/Downloads/wxPython-4.0.4/wscript", line 570, in build
makeETGRule(bld, 'etg/_core.py', '_core', 'WX')
File "/u/Downloads/wxPython-4.0.4/wscript", line 664, in
makeETGRule
source=getEtgSipCppFiles(etg) + rc,
File "/u/Downloads/wxPython-4.0.4/buildtools/config.py", line
645, in getEtgSipCppFiles
return _getSbfValue(etg, 'sources')
File "/u/Downloads/wxPython-4.0.4/buildtools/config.py", line
638, in _getSbfValue
for line in open(sbf):
FileNotFoundError: [Errno 2] No such file or directory:
‘sip/cpp/_core.sbf’
Command '"/usr/bin/python3"
/u/Downloads/wxPython-4.0.4/bin/waf-2.0.8 --verbose
–wx_config=/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config
–verbose --gtk3 --python=“/usr/bin/python3”
–out=build/waf/3.6/gtk3 configure build ’ failed with exit code
2.
Finished command: build_py (0m3.28s)
···
On 01/25/2019 11:25 AM, Robin Dunn
wrote:
On Friday, January 25, 2019 at 9:09:05 AM UTC-8, johnf wrote:
Still failing below is the
display info - I don’t see any issue with the path???
But then again I’m not sure what I’m looking at???
Did you search for a `wx/setup.h` under build/wxbld? Where
is it located?
Try adding --verbose to the build_py line so we can see the
full command line passed to the compiler.
–
Robin
–
You received this message because you are subscribed to the Google
Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).