Tim Cook
2014-10-13 21:52:14 UTC
So, I figured out how to get a Solaris 11 build provide "--with-gtk" to
configure, which is:
--- build/tools/build-wxwidgets.py.. 2014-01-04 13:08:37.000000000 -0800
+++ build/tools/build-wxwidgets.py 2014-10-13 14:25:31.685941733 -0700
@@ -353,6 +353,8 @@
else:
configure_opts.append("--enable-universal_binary=%s" %
options.mac_universal_binary)
+ if sys.platform == 'sunos5':
+ configure_opts.append("--with-gtk")
print("Configure options: " + repr(configure_opts))
wxBuilder = builder.AutoconfBuilder()
Now I get the failure below. Any help appreciated...
Thanks,
Tim
(cd /workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/bld/lib/;
rm -f libwx_gtk2u_richtext-3.0.so; ln -s libwx_gtk2u_richtext-3.0.so.0
libwx_gtk2u_richtext-3.0.so)
WARNING: WXWIN not set in environment. Assuming '..'
Preparing CORE...
Preparing STC...
Preparing GLCANVAS...
Preparing GIZMOS...
running build_ext
running build_ext
building '_core_' extension
creating build
creating build/temp.solaris-2.11-sun4u-2.6
creating build/temp.solaris-2.11-sun4u-2.6/src
creating build/temp.solaris-2.11-sun4u-2.6/src/gtk
/usr/lib/python2.6/pycc -DNDEBUG -KPIC -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE
-DSWIG_PYTHON_SILENT_MEMLEAK -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS
=64 -DWXUSINGDLL -D__WXGTK__ -D_REENTRANT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-D_PTHREADS -Iinclude -Isrc -I/workspace/tpcook/build/wxPython-3.0.1.1/build
.solaris.sparc/bld/lib/wx/include/gtk2-unicode-3.0 -I/workspace/tpcook/build
/wxPython-3.0.1.1/build.solaris.sparc/include -I/usr/include/gtk-2.0 -I/usr/
lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/
include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/
usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I
/usr/include/libpng12 -I/usr/include/python2.6 -c src/helpers.cpp -o build/
temp.solaris-2.11-sun4u-2.6/src/helpers.o -mt -O3
cc: No valid input files specified, no output generated
error: command '/usr/lib/python2.6/pycc' failed with exit status 1
old_options = set([])
sys.argv = ['--build_dir=../bld']
wxWidgets directory is: /workspace/tpcook/build/wxPython-3.0.1.1/build.
solaris.sparc
wxWidgets build options: ['--wxpython', '--jobs=64', '--prefix=/usr/local',
'--unicode',
'--builddir=/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/bld'
]
Configure options: ['--enable-unicode', '--prefix=/usr/local',
'--with-opengl', '--enable-sound', '--enable-graphics_ctx',
'--enable-mediactrl', '--enable-display', '--enable-geometry',
'--enable-debug_flag', '--enable-optimise', '--disable-debugreport',
'--enable-uiactionsim', '--with-sdl', '--with-gtk']
/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/configure --
enable-unicode --prefix=/usr/local --with-opengl --enable-sound --enable-graphics_ctx
--enable-mediactrl --enable-display --enable-geometry --enable-debug_flag --
enable-optimise --disable-debugreport --enable-uiactionsim --with-sdl --with
-gtk
make --jobs=64
**** /bin/python -u ./setup.py build_ext --inplace UNICODE=1 BUILD_BASE=build
WX_CONFIG=/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/bld/
wx-config
ERROR: failed building wxPython.
configure, which is:
--- build/tools/build-wxwidgets.py.. 2014-01-04 13:08:37.000000000 -0800
+++ build/tools/build-wxwidgets.py 2014-10-13 14:25:31.685941733 -0700
@@ -353,6 +353,8 @@
else:
configure_opts.append("--enable-universal_binary=%s" %
options.mac_universal_binary)
+ if sys.platform == 'sunos5':
+ configure_opts.append("--with-gtk")
print("Configure options: " + repr(configure_opts))
wxBuilder = builder.AutoconfBuilder()
Now I get the failure below. Any help appreciated...
Thanks,
Tim
(cd /workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/bld/lib/;
rm -f libwx_gtk2u_richtext-3.0.so; ln -s libwx_gtk2u_richtext-3.0.so.0
libwx_gtk2u_richtext-3.0.so)
WARNING: WXWIN not set in environment. Assuming '..'
Preparing CORE...
Preparing STC...
Preparing GLCANVAS...
Preparing GIZMOS...
running build_ext
running build_ext
building '_core_' extension
creating build
creating build/temp.solaris-2.11-sun4u-2.6
creating build/temp.solaris-2.11-sun4u-2.6/src
creating build/temp.solaris-2.11-sun4u-2.6/src/gtk
/usr/lib/python2.6/pycc -DNDEBUG -KPIC -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE
-DSWIG_PYTHON_SILENT_MEMLEAK -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS
=64 -DWXUSINGDLL -D__WXGTK__ -D_REENTRANT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-D_PTHREADS -Iinclude -Isrc -I/workspace/tpcook/build/wxPython-3.0.1.1/build
.solaris.sparc/bld/lib/wx/include/gtk2-unicode-3.0 -I/workspace/tpcook/build
/wxPython-3.0.1.1/build.solaris.sparc/include -I/usr/include/gtk-2.0 -I/usr/
lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/
include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/
usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I
/usr/include/libpng12 -I/usr/include/python2.6 -c src/helpers.cpp -o build/
temp.solaris-2.11-sun4u-2.6/src/helpers.o -mt -O3
cc: No valid input files specified, no output generated
error: command '/usr/lib/python2.6/pycc' failed with exit status 1
old_options = set([])
sys.argv = ['--build_dir=../bld']
wxWidgets directory is: /workspace/tpcook/build/wxPython-3.0.1.1/build.
solaris.sparc
wxWidgets build options: ['--wxpython', '--jobs=64', '--prefix=/usr/local',
'--unicode',
'--builddir=/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/bld'
]
Configure options: ['--enable-unicode', '--prefix=/usr/local',
'--with-opengl', '--enable-sound', '--enable-graphics_ctx',
'--enable-mediactrl', '--enable-display', '--enable-geometry',
'--enable-debug_flag', '--enable-optimise', '--disable-debugreport',
'--enable-uiactionsim', '--with-sdl', '--with-gtk']
/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/configure --
enable-unicode --prefix=/usr/local --with-opengl --enable-sound --enable-graphics_ctx
--enable-mediactrl --enable-display --enable-geometry --enable-debug_flag --
enable-optimise --disable-debugreport --enable-uiactionsim --with-sdl --with
-gtk
make --jobs=64
**** /bin/python -u ./setup.py build_ext --inplace UNICODE=1 BUILD_BASE=build
WX_CONFIG=/workspace/tpcook/build/wxPython-3.0.1.1/build.solaris.sparc/bld/
wx-config
ERROR: failed building wxPython.
--
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.
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.