wxPython installation problem with openGL on Mac 10.8.2

You'll probably need to take a closer look at the output from the configure step, or look in the config.log and config.status files and see if there are any clues as to why it wasn't enabled.

···

On 12/17/12 4:12 PM, aeronova.mailing@gmail.com wrote:

Hello all,

I downloaded wxPython-src-2.9.4.0 and built it successfully with the
following confiugration options (I'm using python2.7 from macports):

/opt/local/bin/python2.7 build-wxpython.py --build_dir=../bld --osx_cocoa

However, I found openGL is not configured even though I have mesa
installed by macports and openGL installed by Mac OS. The locations of
each openGL version is

  /opt/local/include/GL and
/System/Library/Frameworks/OpenGL.framework/Headers.

I guess somehow the configuration process cannot search for files under
/opt/local. I'd apprecaite if someone could help me with fixing this
configuration problem. Thank you in adv.

--
Robin Dunn
Software Craftsman

Hello all,

I downloaded wxPython-src-2.9.4.0 and built it successfully with the

following confiugration options (I’m using python2.7 from macports):

/opt/local/bin/python2.7 build-wxpython.py --build_dir=…/bld --osx_cocoa

However, I found openGL is not configured even though I have mesa

installed by macports and openGL installed by Mac OS. The locations of

each openGL version is

/opt/local/include/GL and

/System/Library/Frameworks/OpenGL.framework/Headers.

I guess somehow the configuration process cannot search for files under

/opt/local. I’d apprecaite if someone could help me with fixing this

configuration problem. Thank you in adv.

You’ll probably need to take a closer look at the output from the
configure step, or look in the config.log and config.status files and
see if there are any clues as to why it wasn’t enabled.

Thank you for the reply. I followed the instruction at Phoenix/README.rst at master · wxWidgets/Phoenix · GitHub, which simply says running build-wxpython.py will do the job. But it seems I need to start with running configure first. I wonder where I can find instructions for the usual process (configure, build, and install).

K. Lee.

···

On Wednesday, December 19, 2012 6:12:36 AM UTC+8, Robin Dunn wrote:

On 12/17/12 4:12 PM, aeronova...@gmail.com wrote:


Robin Dunn

Software Craftsman

http://wxPython.org

build-wxpython.py will invoke build-wxwidgets.py, which will run configure and make for you. BY default it will do it in the wxPython/bld folder, so look there for the log file and etc. If you would rather do it via the more usual build process then you can watch the output of the build- scripts to find out what flags are being used on the various command lines it is running.

···

On 12/18/12 3:46 PM, aeronova.mailing@gmail.com wrote:

On Wednesday, December 19, 2012 6:12:36 AM UTC+8, Robin Dunn wrote:

    On 12/17/12 4:12 PM, aeronova...@gmail.com <javascript:> wrote:
     > Hello all,
     >
     > I downloaded wxPython-src-2.9.4.0 and built it successfully with the
     > following confiugration options (I'm using python2.7 from macports):
     >
     > /opt/local/bin/python2.7 build-wxpython.py --build_dir=../bld
    --osx_cocoa
     >
     > However, I found openGL is not configured even though I have mesa
     > installed by macports and openGL installed by Mac OS. The
    locations of
     > each openGL version is
     >
     > /opt/local/include/GL and
     > /System/Library/Frameworks/OpenGL.framework/Headers.
     >
     > I guess somehow the configuration process cannot search for files
    under
     > /opt/local. I'd apprecaite if someone could help me with fixing
    this
     > configuration problem. Thank you in adv.

    You'll probably need to take a closer look at the output from the
    configure step, or look in the config.log and config.status files and
    see if there are any clues as to why it wasn't enabled.

   Thank you for the reply. I followed the instruction at
Phoenix/README.rst at master · wxWidgets/Phoenix · GitHub, which simply says running
build-wxpython.py will do the job. But it seems I need to start with
running configure first. I wonder where I can find instructions for the
usual process (configure, build, and install).

--
Robin Dunn
Software Craftsman

 > Hello all,

 >

 > I downloaded wxPython-src-2.9.4.0 and built it successfully with the

 > following confiugration options (I'm using python2.7 from macports):

 >

 > /opt/local/bin/python2.7 build-wxpython.py --build_dir=../bld

--osx_cocoa

 >

 > However, I found openGL is not configured even though I have mesa

 > installed by macports and openGL installed by Mac OS.  The

locations of

 > each openGL version is

 >

 >   /opt/local/include/GL and

 > /System/Library/Frameworks/OpenGL.framework/Headers.

 >

 > I guess somehow the configuration process cannot search for files

under

 > /opt/local.  I'd apprecaite if someone could help me with fixing

this

 > configuration problem.  Thank you in adv.



You'll probably need to take a closer look at the output from the

configure step, or look in the config.log and config.status files and

see if there are any clues as to why it wasn't enabled

I think the config logs file is

.//bld/cocoa/config.log

and it looks like “–with-opengl” is on, as I found the following strings:

configure:5206: checking for --with-opengl
configure:5237: result: yes

configure:42481: running /bin/sh /Users/aeronova/Downloads/wxPython-src-2.9.4.0/src/tiff/configure --disable-option-checking ‘–prefix=/opt/local’ ‘–enable-unicode’ ‘–with-osx_cocoa’ ‘–with-opengl’ ‘–enable-sound’ ‘–enable-graphics_ctx’ ‘–enable-mediactrl’ ‘–enable-display’ ‘–enable-geometry’ ‘–enable-debug_flag’ ‘–enable-optimise’ ‘–disable-debugreport’ ‘–enable-uiactionsim’ ‘–enable-monolithic’ --cache-file=/dev/null --srcdir=/Users/aeronova/Downloads/wxPython-src-2.9.4.0/src/tiff

However, the config summary says there is no openGL support with the build:

Installation directory: /opt/local
Documentation directory: ${prefix}/share/doc/tiff-3.8.2
C compiler: gcc -g -O2 -Wall -W

C++ compiler: g++ -g -O2
Enable runtime linker paths: no
Support Microsoft Document Imaging: yes

Support for internal codecs:
CCITT Group 3 & 4 algorithms: yes

Macintosh PackBits algorithm: yes
LZW algorithm: yes
ThunderScan 4-bit RLE algorithm: yes
NeXT 2-bit RLE algorithm: yes
LogLuv high dynamic range encoding: yes

Support for external codecs:
ZLIB support: yes
Pixar log-format algorithm: yes
JPEG support: no
Old JPEG support: no

C++ support: yes

OpenGL support: no

I’m not sure what options or strings I need to use to build wxPython with openGL support.

K. Lee.

···

On Wed, Dec 19, 2012 at 8:04 AM, Robin Dunn robin@alldunn.com wrote:

On 12/18/12 3:46 PM, aeronova.mailing@gmail.com wrote:

On Wednesday, December 19, 2012 6:12:36 AM UTC+8, Robin Dunn wrote:
On 12/17/12 4:12 PM, aeronova...@gmail.com <javascript:> wrote:

Thank you for the reply. I followed the instruction at

http://www.wxpython.org/BUILD.html, which simply says running

build-wxpython.py will do the job. But it seems I need to start with

running configure first. I wonder where I can find instructions for the

usual process (configure, build, and install).

build-wxpython.py will invoke build-wxwidgets.py, which will run configure and make for you. BY default it will do it in the wxPython/bld folder, so look there for the log file and etc. If you would rather do it via the more usual build process then you can watch the output of the build- scripts to find out what flags are being used on the various command lines it is running.

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

The wx configure also configures the included libtiff code (if there isn't one already available on the system) and the summary you are looking at is the one from libtiff's configure. Keep looking.

···

On 12/20/12 2:43 AM, Kyunghoon Lee wrote:

On Wed, Dec 19, 2012 at 8:04 AM, Robin Dunn <robin@alldunn.com > <mailto:robin@alldunn.com>> wrote:

    On 12/18/12 3:46 PM, aeronova.mailing@gmail.com > <mailto:aeronova.mailing@gmail.com> wrote:

        On Wednesday, December 19, 2012 6:12:36 AM UTC+8, Robin Dunn wrote:

             On 12/17/12 4:12 PM, aeronova...@gmail.com > <mailto:aeronova…@gmail.com> <javascript:> wrote:
              > Hello all,
              >
              > I downloaded wxPython-src-2.9.4.0 and built it
        successfully with the
              > following confiugration options (I'm using python2.7
        from macports):
              >
              > /opt/local/bin/python2.7 build-wxpython.py
        --build_dir=../bld
             --osx_cocoa
              >
              > However, I found openGL is not configured even though I
        have mesa
              > installed by macports and openGL installed by Mac OS. The
             locations of
              > each openGL version is
              >
              > /opt/local/include/GL and
              > /System/Library/Frameworks/__OpenGL.framework/Headers.
              >
              > I guess somehow the configuration process cannot search
        for files
             under
              > /opt/local. I'd apprecaite if someone could help me
        with fixing
             this
              > configuration problem. Thank you in adv.

             You'll probably need to take a closer look at the output
        from the
             configure step, or look in the config.log and config.status
        files and
             see if there are any clues as to why it wasn't enabled

I think the config logs file is

.//bld/cocoa/config.log

and it looks like "--with-opengl" is on, as I found the following strings:

configure:5206: checking for --with-opengl
configure:5237: result: yes
.....
configure:42481: running /bin/sh
/Users/aeronova/Downloads/wxPython-src-2.9.4.0/src/tiff/configure
--disable-option-checking '--prefix=/opt/local' '--enable-unicode'
'--with-osx_cocoa' '--with-opengl' '--enable-sound'
'--enable-graphics_ctx' '--enable-mediactrl' '--enable-display'
'--enable-geometry' '--enable-debug_flag' '--enable-optimise'
'--disable-debugreport' '--enable-uiactionsim' '--enable-monolithic'
--cache-file=/dev/null
--srcdir=/Users/aeronova/Downloads/wxPython-src-2.9.4.0/src/tiff

However, the config summary says there is no openGL support with the build:

--
Robin Dunn
Software Craftsman