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)
``
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
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.
``
···
cc: No valid input files specified, no output generated
So the reason Solaris Studio C says there are no valid input files is that it is being asked to compile one C++ file.
If I change the use of “pycc” to use “pyCC” instead, it compiles. I do get warnings, but it compiles.
Can anyone guide me on how to get this build framework (which seems to use autoconf, bakefiles and who knows what else) to generate “pyCC” commands for “.cpp” source files?
Cheers,
Tim
···
On Monday, October 13, 2014 5:52:14 PM UTC-4, Tim Cook wrote:
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)
``
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’, <span style=
``
…
Robin
October 22, 2014, 9:50pm
3
Tim Cook wrote:
So the reason Solaris Studio C says there are no valid input files is
that it is being asked to compile one C++ file.
If I change the use of "pycc" to use "pyCC" instead, it compiles. I do
get warnings, but it compiles.
Can anyone guide me on how to get this build framework (which seems to
use autoconf, bakefiles and who knows what else) to generate "pyCC"
commands for ".cpp" source files?
You should be able to set CC and CXX in the environment before running configure, and then it will use those values for the compile commands.
···
--
Robin Dunn
Software Craftsman
Robin,
I have tried with those set appropriately (and also with PY_CC and PY_CXX set). Same result.
Another thing I tried is with them all set to CC (the Solaris Studio C++ compiler) and this barfed on a .c file.
Regards,
Tim
···
On Wednesday, October 22, 2014 5:50:18 PM UTC-4, Robin Dunn wrote:
Tim Cook wrote:
So the reason Solaris Studio C says there are no valid input files is
that it is being asked to compile one C++ file.
If I change the use of “pycc” to use “pyCC” instead, it compiles. I do
get warnings, but it compiles.
Can anyone guide me on how to get this build framework (which seems to
use autoconf, bakefiles and who knows what else) to generate “pyCC”
commands for “.cpp” source files?
You should be able to set CC and CXX in the environment before running
configure, and then it will use those values for the compile commands.
–
Robin Dunn
Software Craftsman
http://wxPython.org