Installing wxPython 3.0 in Linux2.6 with python 2.7

I have tried installing wxPython 3.0 in Linux2.6 with python 2.7.

I have download a copy from

http://sourceforge.net/projects/wxpython/files/wxPython/3.0.0.0/wxPython-src-3.0.0.0.tar.bz2/download

and then

cd wxPython

python2.6 build-wxpython.py --build_dir=…/bld

its says configure: error: GStreamer not available

Error running configure

ERROR: failed building wxWidgets

find the complete log

checking for --enable-monolithic… no

checking for --enable-plugins… no

checking for --without-subdirs… no

checking for --enable-official_build… no

checking for --disable-all-features… no

checking for --enable-universal… no

checking for --enable-nanox… no

checking for --enable-gpe… no

checking for toolkit… gtk

checking for --with-libpng… yes

checking for --with-libjpeg… yes

checking for --with-libtiff… yes

checking for --without-libjbig… no

checking for --without-liblzma… no

checking for --with-libxpm… yes

checking for --with-libiconv… yes

checking for --with-libmspack… no

checking for --without-gtkprint… no

checking for --with-gnomevfs… no

checking for --with-libnotify… yes

checking for --with-hildon… no

checking for --with-opengl… yes

checking for --with-dmalloc… no

checking for --with-sdl… yes

checking for --with-regex… yes

checking for --with-zlib… yes

checking for --with-expat… yes

checking for --with-macosx-sdk…

checking for --with-macosx-version-min…

checking for --enable-debug… default

checking for --disable-debug_flag… no

checking for --enable-debug_info… no

checking for --enable-debug_gdb… no

checking for --enable-debug_cntxt… no

checking for --enable-mem_tracing… no

checking for --disable-shared… no

checking for --enable-stl… no

checking for --enable-std_containers… no

checking for --enable-std_iostreams… yes

checking for --enable-std_string… yes

checking for --enable-std_string_conv_in_wxstring… no

checking for --disable-unicode… no

checking for --enable-mslu… no

checking for --enable-utf8… no

checking for --enable-utf8only… no

checking for --enable-extended_rtti… no

checking for --disable-optimise… no

checking for --enable-profile… no

checking for --enable-no_rtti… no

checking for --enable-no_exceptions… no

checking for --enable-permissive… no

checking for --enable-no_deps… no

checking for --disable-vararg_macros… no

checking for --enable-universal_binary… no

checking for --enable-macosx_arch… no

checking for --enable-compat26… no

checking for --disable-compat28… no

checking for --disable-rpath… no

checking for --enable-objc_uniquifying… no

checking for --disable-visibility… no

checking for --disable-tls… no

checking for --enable-intl… yes

checking for --enable-xlocale… yes

checking for --enable-config… yes

checking for --enable-protocols… yes

checking for --enable-ftp… yes

checking for --enable-http… yes

checking for --enable-fileproto… yes

checking for --enable-sockets… yes

checking for --enable-ipv6… no

checking for --enable-ole… yes

checking for --enable-dataobj… yes

checking for --enable-ipc… yes

checking for --enable-baseevtloop… yes

checking for --enable-epollloop… yes

checking for --enable-selectloop… yes

checking for --enable-any… yes

checking for --enable-apple_ieee… yes

checking for --enable-arcstream… yes

checking for --enable-base64… yes

checking for --enable-backtrace… yes

checking for --enable-catch_segvs… yes

checking for --enable-cmdline… yes

checking for --enable-datetime… yes

checking for --enable-debugreport… no

checking for --enable-dialupman… yes

checking for --enable-dynlib… yes

checking for --enable-dynamicloader… yes

checking for --enable-exceptions… yes

checking for --enable-ffile… yes

checking for --enable-file… yes

checking for --enable-filehistory… yes

checking for --enable-filesystem… yes

checking for --enable-fontenum… yes

checking for --enable-fontmap… yes

checking for --enable-fs_archive… yes

checking for --enable-fs_inet… yes

checking for --enable-fs_zip… yes

checking for --enable-fsvolume… yes

checking for --enable-fswatcher… yes

checking for --enable-geometry… yes

checking for --enable-log… yes

checking for --enable-longlong… yes

checking for --enable-mimetype… yes

checking for --enable-printfposparam… yes

checking for --enable-snglinst… yes

checking for --enable-sound… yes

checking for --enable-stdpaths… yes

checking for --enable-stopwatch… yes

checking for --enable-streams… yes

checking for --enable-sysoptions… yes

checking for --enable-tarstream… yes

checking for --enable-textbuf… yes

checking for --enable-textfile… yes

checking for --enable-timer… yes

checking for --enable-variant… yes

checking for --enable-zipstream… yes

checking for --enable-url… yes

checking for --enable-protocol… yes

checking for --enable-protocol_http… yes

checking for --enable-protocol_ftp… yes

checking for --enable-protocol_file… yes

checking for --enable-threads… yes

checking for --enable-iniconf… no

checking for --enable-regkey… yes

checking for --enable-docview… yes

checking for --enable-help… yes

checking for --enable-mshtmlhelp… yes

checking for --enable-html… yes

checking for --enable-htmlhelp… yes

checking for --enable-xrc… yes

checking for --enable-aui… yes

checking for --enable-propgrid… yes

checking for --enable-ribbon… yes

checking for --enable-stc… yes

checking for --enable-constraints… yes

checking for --enable-loggui… yes

checking for --enable-logwin… yes

checking for --enable-logdialog… yes

checking for --enable-mdi… yes

checking for --enable-mdidoc… yes

checking for --enable-mediactrl… yes

checking for --enable-gstreamer8… no

checking for --enable-richtext… yes

checking for --enable-postscript… yes

checking for --enable-printarch… yes

checking for --enable-svg… yes

checking for --enable-webkit… yes

checking for --enable-webview… yes

checking for --enable-graphics_ctx… yes

checking for --enable-clipboard… yes

checking for --enable-dnd… yes

checking for --disable-controls… no

checking for --enable-markup… yes

checking for --enable-accel… yes

checking for --enable-animatectrl… yes

checking for --enable-bannerwindow… yes

checking for --enable-artstd… yes

checking for --enable-arttango… auto

checking for --enable-bmpbutton… yes

checking for --enable-bmpcombobox… yes

checking for --enable-button… yes

checking for --enable-calendar… yes

checking for --enable-caret… yes

checking for --enable-checkbox… yes

checking for --enable-checklst… yes

checking for --enable-choice… yes

checking for --enable-choicebook… yes

checking for --enable-collpane… yes

checking for --enable-colourpicker… yes

checking for --enable-combobox… yes

checking for --enable-comboctrl… yes

checking for --enable-commandlinkbutton… yes

checking for --enable-dataviewctrl… yes

checking for --enable-datepick… yes

checking for --enable-detect_sm… yes

checking for --enable-dirpicker… yes

checking for --enable-display… yes

checking for --enable-editablebox… yes

checking for --enable-filectrl… yes

checking for --enable-filepicker… yes

checking for --enable-fontpicker… yes

checking for --enable-gauge… yes

checking for --enable-grid… yes

checking for --enable-headerctrl… yes

checking for --enable-hyperlink… yes

checking for --enable-imaglist… yes

checking for --enable-infobar… yes

checking for --enable-listbook… yes

checking for --enable-listbox… yes

checking for --enable-listctrl… yes

checking for --enable-notebook… yes

checking for --enable-notifmsg… yes

checking for --enable-odcombobox… yes

checking for --enable-popupwin… yes

checking for --enable-prefseditor… yes

checking for --enable-radiobox… yes

checking for --enable-radiobtn… yes

checking for --enable-richmsgdlg… yes

checking for --enable-richtooltip… yes

checking for --enable-rearrangectrl… yes

checking for --enable-sash… yes

checking for --enable-scrollbar… yes

checking for --enable-searchctrl… yes

checking for --enable-slider… yes

checking for --enable-spinbtn… yes

checking for --enable-spinctrl… yes

checking for --enable-splitter… yes

checking for --enable-statbmp… yes

checking for --enable-statbox… yes

checking for --enable-statline… yes

checking for --enable-stattext… yes

checking for --enable-statusbar… yes

checking for --enable-taskbaricon… yes

checking for --enable-tbarnative… yes

checking for --enable-textctrl… yes

checking for --enable-datepick… yes

checking for --enable-tipwindow… yes

checking for --enable-togglebtn… yes

checking for --enable-toolbar… yes

checking for --enable-toolbook… yes

checking for --enable-treebook… yes

checking for --enable-treectrl… yes

checking for --enable-treelist… yes

checking for --enable-commondlg… yes

checking for --enable-aboutdlg… yes

checking for --enable-choicedlg… yes

checking for --enable-coldlg… yes

checking for --enable-filedlg… yes

checking for --enable-finddlg… yes

checking for --enable-fontdlg… yes

checking for --enable-dirdlg… yes

checking for --enable-msgdlg… yes

checking for --enable-numberdlg… yes

checking for --enable-splash… yes

checking for --enable-textdlg… yes

checking for --enable-tipdlg… yes

checking for --enable-progressdlg… yes

checking for --enable-wizarddlg… yes

checking for --enable-menus… yes

checking for --enable-miniframe… yes

checking for --enable-tooltips… yes

checking for --enable-splines… yes

checking for --enable-mousewheel… yes

checking for --enable-validators… yes

checking for --enable-busyinfo… yes

checking for --enable-hotkey… auto

checking for --enable-joystick… yes

checking for --enable-metafile… auto

checking for --enable-dragimage… yes

checking for --enable-accessibility… no

checking for --enable-uiactionsim… yes

checking for --enable-dctransform… yes

checking for --enable-webviewwebkit… yes

checking for --enable-palette… yes

checking for --enable-image… yes

checking for --enable-gif… yes

checking for --enable-pcx… yes

checking for --enable-tga… yes

checking for --enable-iff… yes

checking for --enable-pnm… yes

checking for --enable-xpm… yes

checking for --enable-ico_cur… yes

checking for --enable-dccache… yes

checking for --enable-ps-in-msw… yes

checking for --enable-ownerdrawn… yes

checking for --enable-uxtheme… yes

checking for --enable-wxdib… yes

checking for --enable-webviewie… yes

checking for --enable-autoidman… no

checking for gcc… gcc

checking whether the C compiler works… yes

checking for C compiler default output file name… a.out

checking for suffix of executables…

checking whether we are cross compiling… no

checking for suffix of object files… o

checking whether we are using the GNU C compiler… yes

checking whether gcc accepts -g… yes

checking for gcc option to accept ISO C89… none needed

checking whether we are using the Intel C compiler… no

checking how to run the C preprocessor… gcc -E

checking for grep that handles long lines and -e… /bin/grep

checking for egrep… /bin/grep -E

checking whether gcc needs -traditional… no

checking for g++… g++

checking whether we are using the GNU C++ compiler… yes

checking whether g++ accepts -g… yes

checking whether we are using the Intel C++ compiler… no

checking whether we are using the Sun C++ compiler… no

checking for ar… ar

checking for ANSI C header files… yes

checking for sys/types.h… yes

checking for sys/stat.h… yes

checking for stdlib.h… yes

checking for string.h… yes

checking for memory.h… yes

checking for strings.h… yes

checking for inttypes.h… yes

checking for stdint.h… yes

checking for unistd.h… yes

checking for langinfo.h… yes

checking for wchar.h… yes

checking for sys/select.h… yes

checking for cxxabi.h… yes

checking for an ANSI C-conforming const… yes

checking for inline… inline

checking size of short… 2

checking size of void *… 8

checking size of int… 4

checking size of long… 8

checking size of size_t… 8

checking size of long long… 8

checking size of wchar_t… 4

checking for va_copy… yes

checking whether the compiler supports variadic macros… yes

checking for _FILE_OFFSET_BITS value needed for large files… 64

checking if large file support is available… yes

checking for _LARGEFILE_SOURCE value needed for large files… no

checking whether byte ordering is bigendian… no

checking for iostream… yes

checking if C++ compiler supports the explicit keyword… yes

checking for std::wstring in … yes

checking for std::istream… yes

checking for std::ostream… yes

checking how to run the C++ preprocessor… g++ -E

checking type_traits usability… no

checking type_traits presence… no

checking for type_traits… no

checking tr1/type_traits usability… yes

checking tr1/type_traits presence… yes

checking for tr1/type_traits… yes

checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins… yes

checking for libraries directories… /usr/lib64

checking for cos… no

checking for floor… no

checking if floating point functions link without -lm… no

checking for sin… yes

checking for ceil… yes

checking if floating point functions link with -lm… yes

checking for strtoull… yes

configure: WARNING: Defaulting to the builtin regex library for Unicode build.

checking for zlib.h >= 1.1.4… yes

checking for zlib.h… (cached) yes

checking for deflate in -lz… yes

checking for png.h > 0.90… yes

checking for png.h… (cached) yes

checking for png_sig_cmp in -lpng… yes

checking for jpeglib.h… yes

checking for jpeg_read_header in -ljpeg… yes

checking for tiffio.h… yes

checking for TIFFError in -ltiff… yes

checking for expat.h… yes

checking if expat.h is valid C++ header… yes

checking for XML_ParserCreate in -lexpat… yes

checking for GTK+ version…

checking for pkg-config… /usr/bin/pkg-config

checking for GTK+ - version >= 2.6.0… yes (version 2.10.4)

checking if GTK+ is version >= 2.18… no

checking if GTK+ is version >= 2.10… yes

checking for X11/Xlib.h… yes

checking for X11/XKBlib.h… yes

checking for Xxf86vm… yes

checking for X11/extensions/xf86vmode.h… yes

checking for SM… yes

checking for OpenGL headers… found in /usr/include

checking for GL/gl.h… yes

checking for GL/glu.h… yes

checking for GL… checking for glBegin in -lGL… yes

checking for GLU… checking for gluBeginCurve in -lGLU… yes

checking if the linker accepts --version-script… yes

checking for symbols visibility support… yes

checking for broken libstdc++ visibility… no

checking for mode_t… yes

checking for off_t… yes

checking for pid_t… yes

checking for size_t… yes

checking for ssize_t… yes

checking if size_t is unsigned int… no

checking if size_t is unsigned long… yes

checking if wchar_t is separate type… yes

checking for pw_gecos in struct passwd… yes

checking for wcslen… yes

checking for wcsftime… yes

checking for strnlen… yes

checking for wcsdup… yes

checking for wcsnlen… yes

checking for wcscasecmp… yes

checking for wcsncasecmp… yes

checking for mbstate_t… yes

checking for wcsrtombs… yes

checking for snprintf… yes

checking for vsnprintf… yes

checking for vsscanf… yes

checking for vsnprintf declaration… yes

checking if vsnprintf declaration is broken… no

checking for snprintf declaration… yes

checking if snprintf supports positional arguments… yes

checking for vsscanf declaration… yes

checking for putws… no

checking for fputws… yes

checking for wprintf… yes

checking for vswprintf… yes

checking for vswscanf… yes

checking for _vsnwprintf… no

checking for fsync… yes

checking for round… yes

checking for iconv… yes

checking if iconv needs const… no

checking for sigaction… yes

checking for sa_handler type… int

checking for backtrace() in <execinfo.h>… checking for library containing backtrace… none required

yes

checking for __cxa_demangle() in <cxxabi.h>… yes

checking for mkstemp… yes

checking for statfs… yes

checking for statfs declaration… yes

checking for fcntl… yes

checking for setenv… yes

checking for unsetenv… yes

checking for nanosleep… yes

checking for uname… yes

checking for strtok_r… yes

checking for inet_addr… yes

checking for inet_aton… yes

checking for fdopen… yes

checking for sysconf… yes

checking for getpwuid_r… yes

checking for getgrgid_r… yes

checking whether pthreads work with -pthread… yes

checking if more special flags are required for pthreads… no

checking for pthread_setconcurrency… yes

checking for pthread_cleanup_push/pop… yes

checking for sched.h… yes

checking for sched_yield… yes

checking for pthread_attr_getschedpolicy… yes

checking for pthread_attr_setschedparam… yes

checking for sched_get_priority_max… yes

checking for pthread_cancel… yes

checking for pthread_mutex_timedlock… yes

checking for pthread_attr_setstacksize… yes

checking for pthread_mutexattr_t… yes

checking for pthread_mutexattr_settype declaration… yes

checking for __thread keyword… yes

checking if gcc accepts -dumpversion option… yes

checking gxx version… 4.1.2

checking whether __thread support in g++ is usable… yes, it works

checking for abi::__forced_unwind() in <cxxabi.h>… no

checking for localtime_r… yes

checking for gmtime_r… yes

checking how many arguments gethostbyname_r() takes… six

checking how many arguments getservbyname_r() takes… six

checking for dlopen… no

checking for dlopen in -ldl… yes

checking for dlerror… no

checking for dlerror in -ldl… yes

checking for sys/inotify.h… yes

checking for SNDCTL_DSP_SPEED in sys/soundcard.h… yes

checking for sdl-config… /usr/bin/sdl-config

checking for SDL - version >= 1.2.0… yes

checking pkg-config is at least version 0.9.0… yes

checking for GTKPRINT… yes

checking for LIBNOTIFY… checking for LIBNOTIFY… configure: WARNING: libnotify not found, wxNotificationMessage will use generic implementation.

checking for locale_t… yes

checking for sys/epoll.h… yes

checking for gettimeofday… yes

checking whether gettimeofday takes two arguments… yes

checking for timezone variable in <time.h>… timezone

checking for localtime… yes

checking for tm_gmtoff in struct tm… yes

checking for setpriority… yes

checking for socket… yes

checking what is the type of the third argument of getsockname… socklen_t

checking what is the type of the fifth argument of getsockopt… socklen_t

checking for linux/joystick.h… yes

checking for python… /home/aptRoot/tools/python/64/Python-2.7/bin/python

checking for WEBKIT… configure: WARNING: webkitgtk not found.

configure: WARNING: WebKit not available, disabling wxWebView

checking for CAIRO… yes

checking for cairo_push_group… yes

checking for GST… configure: WARNING: GStreamer 0.10 not available, falling back to 0.8

checking for GST… configure: WARNING: GStreamer 0.8/0.10 not available.

configure: error: GStreamer not available

Error running configure

ERROR: failed building wxWidgets

Traceback (most recent call last):

File “build-wxpython.py”, line 378, in

wxbuild.main(wxscript, build_options)

File “/home/hemadris/hemadri/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 364, in main

“Error running configure”)

File “/home/hemadris/hemadri/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 80, in exitIfError

raise builder.BuildError(msg)

BuildError

svt-qfa3-lx.mh.lucent.com!hemadris:Linux2.6.18-164.el5xen/home/hemadris/hemadri/wxPython-src-3.0.0.0/wxPython

->

So did you install gstreamer?

no…from where I can install it ?

···

On Sat, Aug 9, 2014 at 5:53 PM, Nathan McCorkle nmz787@gmail.com wrote:

So did you install gstreamer?

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.


Thanks and Regards
Hemadri Saxena
9086087510

apt-get or whatever package manager your OS has... Or from source.

hey…

GStreamer is a full multimedia framework for encoding and decoding video and sound.

GStreamer comeswith both console and GUI interface, and currently supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime.

Do I really need this…My app won’t require any video and sound

I have download gstreamer http://www.linuxfromscratch.org/blfs/view/6.2.0/multimedia/gstreamer.html

and tried to install it (installing both pre required s/w first )gave a following of error

a’ ‘/usr/lib/libgstbase-0.10.la

libtool: install: warning: relinking `libgstbase-0.10.la

(cd /home/hemadris/iAPT/install/gstreamer-0.10.11/libs/gst/base; /bin/sh …/…/…/libtool --tag=CC --mode=relink gcc -g -O2 -o libgstbase-0.10.la -rpath /usr/lib -export-symbols-regex “^*(gst|Gst|GST_).*” -no-undefined -version-info 10:0:10 libgstbase_0.10_la-gstadapter.lo libgstbase_0.10_la-gstbasesink.lo libgstbase_0.10_la-gstbasesrc.lo libgstbase_0.10_la-gstbasetransform.lo libgstbase_0.10_la-gstcollectpads.lo libgstbase_0.10_la-gstpushsrc.lo libgstbase_0.10_la-gsttypefindhelper.lo libgstbase_0.10_la-gstdataqueue.lo …/…/…/gst/libgstreamer-0.10.la -pthread -L/lib64 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0 )

generating symbol list for `libgstbase-0.10.la

rm: cannot remove `.libs/libgstbase-0.10.exp’: Permission denied

/usr/bin/nm -B .libs/libgstbase_0.10_la-gstadapter.o .libs/libgstbase_0.10_la-gstbasesink.o .libs/libgstbase_0.10_la-gstbasesrc.o .libs/libgstbase_0.10_la-gstbasetransform.o .libs/libgstbase_0.10_la-gstcollectpads.o .libs/libgstbase_0.10_la-gstpushsrc.o .libs/libgstbase_0.10_la-gsttypefindhelper.o .libs/libgstbase_0.10_la-gstdataqueue.o | sed -n -e ‘s/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ]([_A-Za-z][_A-Za-z0-9])$/\1 \2 \2/p’ | /bin/sed ‘s/.* //’ | sort | uniq > .libs/libgstbase-0.10.exp

…/…/…/libtool: line 4305: .libs/libgstbase-0.10.exp: Permission denied

libtool: install: error: relink `libgstbase-0.10.la’ with the above command before installing it

make[4]: *** [install-libLTLIBRARIES] Error 1

make[4]: Leaving directory `/home/hemadris/iAPT/install/gstreamer-0.10.11/libs/gst/base’

make[3]: *** [install-am] Error 2

make[3]: Leaving directory `/home/hemadris/iAPT/install/gstreamer-0.10.11/libs/gst/base’

make[2]: *** [install-recursive] Error 1

make[2]: Leaving directory `/home/hemadris/iAPT/install/gstreamer-0.10.11/libs/gst’

make[1]: *** [install-recursive] Error 1

make[1]: Leaving directory `/home/hemadris/iAPT/install/gstreamer-0.10.11/libs’

make: *** [install-recursive] Error 1

···

On Sat, Aug 9, 2014 at 11:51 PM, Nathan McCorkle nmz787@gmail.com wrote:

apt-get or whatever package manager your OS has… Or from source.

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.


Thanks and Regards
Hemadri Saxena
9086087510

Well that is a permission error, but i bet you can disinclude gstreamer with a compile flag.

http://wxpython-users.1045709.n5.nabble.com/Linux-configure-fails-on-GStreamer-td3271417.html

I have used --no_config now its giving new sets of error

python2.7 build-wxpython.py --build_dir=…/bld --no_config

old_options = set([‘–build_dir=…/bld’])

sys.argv = [‘–build_dir=…/bld’, ‘–no_config’]

wxWidgets directory is: /home/hemadris/iAPT/install/wxPython-src-3.0.0.0

wxWidgets build options: [‘–wxpython’, ‘–jobs=2’, ‘–prefix=/usr/local’, ‘–unicode’, ‘–no_config’, ‘–builddir=/home/hemadris/iAPT/install/wxPython-src-3.0.0.0/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’]

/usr/bin/make

make --jobs=2

make: *** No targets specified and no makefile found. Stop.

Error building

ERROR: failed building wxWidgets

Traceback (most recent call last):

File “build-wxpython.py”, line 378, in

wxbuild.main(wxscript, build_options)

File “/home/hemadris/iAPT/install/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 478, in main

exitIfError(wxBuilder.build(dir=buildDir, options=args), “Error building”)

File “/home/hemadris/iAPT/install/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 80, in exitIfError

raise builder.BuildError(msg)

BuildError

···

On Sun, Aug 10, 2014 at 2:02 PM, Nathan McCorkle nmz787@gmail.com wrote:

http://wxpython-users.1045709.n5.nabble.com/Linux-configure-fails-on-GStreamer-td3271417.html

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.


Thanks and Regards
Hemadri Saxena
9086087510

I thought the relevant portion of that discussion was:
'
Taking the "--enable-mediactrl" option out allows me to compile.
'

using that option it says :
Usage : build-wxpython.py [options]

build-wxpython.py: error no such option: --enable-mediactrl

even when not in help as well

python2.7 build-wxpython.py --help
···

On Sun, Aug 10, 2014 at 3:11 PM, Nathan McCorkle nmz787@gmail.com wrote:

I thought the relevant portion of that discussion was:

Taking the “–enable-mediactrl” option out allows me to compile.

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.


Thanks and Regards
Hemadri Saxena
9086087510

ok…I sorry for my previous mail it was stupid…

I run following command now

it again says :
error: GStreamer not available

             ../configure --prefix=/opt/wx/3.0 \
--with-gtk \
--with-gnomeprint \
--with-opengl \
--enable-debug \
--enable-debug_gdb \
--enable-geometry \
--enable-graphics_ctx \
--enable-sound --with-sdl \
--enable-mediactrl \
--enable-display \
···

On Sun, Aug 10, 2014 at 3:16 PM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

using that option it says :
Usage : build-wxpython.py [options]

build-wxpython.py: error no such option: --enable-mediactrl

even when not in help as well

python2.7 build-wxpython.py --help


Thanks and Regards
Hemadri Saxena
9086087510

On Sun, Aug 10, 2014 at 3:11 PM, Nathan McCorkle nmz787@gmail.com wrote:

I thought the relevant portion of that discussion was:

Taking the “–enable-mediactrl” option out allows me to compile.

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.


Thanks and Regards
Hemadri Saxena
9086087510

Well that seems reasonable, since it doesn't look like you removed that flag.

If you don’t need media controls try:
python build-wxpython.py --extra_setup=disable-mediactrl
or
python build-wxpython.py --extra_setup=“–disable-mediactrl”
The idea is to turn OFF mediactrl.
Gadget/Steve

···

On 10/08/14 20:29, Hemadri Saxena
wrote:

ok…I sorry for my previous mail it was stupid…

I run following command now

it again says :
error:
GStreamer not available

             ../configure --prefix=/opt/wx/3.0 \
--with-gtk \
--with-gnomeprint \
--with-opengl \
--enable-debug \
--enable-debug_gdb \
--enable-geometry \
--enable-graphics_ctx \
--enable-sound --with-sdl \
--enable-mediactrl \
--enable-display \

its not getting turn off with any means means…

python build-wxpython.py --extra_setup=“–disable-mediactrl”

checking for python… /home/aptRoot/tools/python/64/Python-2.7/bin/python

checking for WEBKIT… configure: WARNING: webkitgtk not found.

configure: WARNING: WebKit not available, disabling wxWebView

checking for CAIRO… yes

checking for cairo_push_group… yes

checking for GST… configure: WARNING: GStreamer 0.10 not available, falling back to 0.8

checking for GST… configure: WARNING: GStreamer 0.8/0.10 not available.

configure: error: GStreamer not available

Error running configure

ERROR: failed building wxWidgets

Traceback (most recent call last):

File “build-wxpython.py”, line 378, in

wxbuild.main(wxscript, build_options)

File “/home/hemadris/iAPT/install/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 364, in main

"Error running configure")

File “/home/hemadris/iAPT/install/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 80, in exitIfError

raise builder.BuildError(msg)

BuildError

svt-qfa3-lx.mh.lucent.com!hemadris:Linux2.6.18-164.el5xen/home/hemadris/iAPT/install/wxPython-src-3.0.0.0/wxPython

···

On Sun, Aug 10, 2014 at 3:52 PM, Steve Barnes gadgetsteve@live.co.uk wrote:

  On 10/08/14 20:29, Hemadri Saxena

wrote:

ok…I sorry for my previous mail it was stupid…

I run following command now

it again says :
error:
GStreamer not available

             ../configure --prefix=/opt/wx/3.0 \
--with-gtk \
--with-gnomeprint \
--with-opengl \
--enable-debug \
--enable-debug_gdb \
--enable-geometry \
--enable-graphics_ctx \
--enable-sound --with-sdl \
--enable-mediactrl \
--enable-display \

If you don’t need media controls try:

python build-wxpython.py --extra_setup=disable-mediactrl



or



python build-wxpython.py --extra_setup="--disable-mediactrl"



The idea is to turn OFF mediactrl.



Gadget/Steve

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.


Thanks and Regards
Hemadri Saxena
9086087510

Excuse me for jumping late into this thread. I run Slackware and build
wxPython (among other packages) using the SlackBuilds.org script.
Regardless, I also build a lot of applications from scratch with the
three-step configure; make; make install. I see two errors in the above set
of configuration options:

   1) rather than --enable-mediactrl, either comment out that line by placing
a '#' to the left or change it to read --disable-mediactrl.

   If I don't want to add a specific capability (e.g., one of the tools I use
does not like the readline here), I leave it off the list of configuration
options. However, if it's a default option then I'll explicitly disable it.

   2) If you read './configure --help | less' just above the list of
configuration options you'll see the default for --prefix. This is where the
binaries (i.e., executables) will be installed. Your system, regardless of
distribution, will not look for them in /opt/; that's for optional tools.
The default is probably /usr/local/ or /usr/. That's what you want for the
prefix.

   Keeping your source code in /opt/wx/3.0/ is fine; but that's not where the
kernel looks for the files it needs to load the application.

   If you read the configure file you'll see options for changing where
libraries, headers, and other necessary files are installed, and they're all
relative to --prefix.

HTH,

Rich

···

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

its not getting turn off with any means means..
python build-wxpython.py --extra_setup="--disable-mediactrl"

../configure --prefix=/opt/wx/3.0 \
             --with-gtk \
             --with-gnomeprint \
             --with-opengl \
             --enable-debug \
             --enable-debug_gdb \
             --enable-geometry \
             --enable-graphics_ctx \
             --enable-sound --with-sdl \
             --enable-mediactrl \
             --enable-display \

Its getting too much painful now.

I have added # to line --enable-mediactrl and run python2.7 build-wxpython.py --build_dir=…/bld

Its saying

checking what is the type of the third argument of getsockname… socklen_t

checking what is the type of the fifth argument of getsockopt… socklen_t

checking for linux/joystick.h… yes

checking for python… /home/aptRoot/tools/python/64/Python-2.7/bin/python

checking for WEBKIT… configure: WARNING: webkitgtk not found.

configure: WARNING: WebKit not available, disabling wxWebView

checking for CAIRO… yes

checking for cairo_push_group… yes

checking for GST… configure: WARNING: GStreamer 0.10 not available, falling back to 0.8

checking for GST… configure: WARNING: GStreamer 0.8/0.10 not available.

configure: error: GStreamer not available

Error running configure

ERROR: failed building wxWidgets

Traceback (most recent call last):

File “build-wxpython.py”, line 378, in

wxbuild.main(wxscript, build_options)

File “/home/hemadris/iAPT/install/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 364, in main

"Error running configure")

File “/home/hemadris/iAPT/install/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 80, in exitIfError

raise builder.BuildError(msg)

BuildError

···

On Sun, Aug 10, 2014 at 4:51 PM, Rich Shepard rshepard@appl-ecosys.com wrote:

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

its not getting turn off with any means means…

python build-wxpython.py --extra_setup=“–disable-mediactrl”

…/configure --prefix=/opt/wx/3.0 \

         --with-gtk \

         --with-gnomeprint \

         --with-opengl \

         --enable-debug \

         --enable-debug_gdb \

         --enable-geometry \

         --enable-graphics_ctx \

         --enable-sound --with-sdl \

         --enable-mediactrl \

         --enable-display \

Excuse me for jumping late into this thread. I run Slackware and build

wxPython (among other packages) using the SlackBuilds.org script.

Regardless, I also build a lot of applications from scratch with the

three-step configure; make; make install. I see two errors in the above set

of configuration options:

  1. rather than --enable-mediactrl, either comment out that line by placing

a ‘#’ to the left or change it to read --disable-mediactrl.

If I don’t want to add a specific capability (e.g., one of the tools I use

does not like the readline here), I leave it off the list of configuration

options. However, if it’s a default option then I’ll explicitly disable it.

  1. If you read ‘./configure --help | less’ just above the list of

configuration options you’ll see the default for --prefix. This is where the

binaries (i.e., executables) will be installed. Your system, regardless of

distribution, will not look for them in /opt/; that’s for optional tools.

The default is probably /usr/local/ or /usr/. That’s what you want for the

prefix.

Keeping your source code in /opt/wx/3.0/ is fine; but that’s not where the

kernel looks for the files it needs to load the application.

If you read the configure file you’ll see options for changing where

libraries, headers, and other necessary files are installed, and they’re all

relative to --prefix.

HTH,

Rich

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.


Thanks and Regards
Hemadri Saxena
9086087510

Just part of learning to compile and get through dependency-hell!

This is why people invented package managers!

rpm is not available :frowning:

As I have commented the line in ./configure or used disable-mediactrl…why the hell its giving me error "configure: error: GStreamer not available "

···

On Sun, Aug 10, 2014 at 5:17 PM, Nathan McCorkle nmz787@gmail.com wrote:

This is why people invented package managers!

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.


Thanks and Regards
Hemadri Saxena
9086087510

I have added # to line --enable-mediactrl and run python2.7
build-wxpython.py --build_dir=../bld

   Thank that's fixed.

checking for GST... configure: WARNING: GStreamer 0.10 not available,
falling back to 0.8
checking for GST... configure: WARNING: GStreamer 0.8/0.10 not available.
configure: error: GStreamer not available

   This is the next (last?) error. If you have gstreamer installed, you need
to tell configure where it is. What is the result if you run 'locate
gstreamer'? Or, if your system is not on overnight when the file database
is0updated, as root (or 'sudo' if that's how your system is set) run this
command:
   find / -name gstreamer
and let us know the result.

   On my system, gstreamer-0.10.36 is installed. Note that the name is all
lowercase.

Rich

···

On Sun, 10 Aug 2014, Hemadri Saxena wrote: