[MacPorts] #39786: wxWidgets @2.9.5 universal build fails
MacPorts
noreply at macports.org
Sun Jul 21 07:33:25 PDT 2013
#39786: wxWidgets @2.9.5 universal build fails
---------------------------+-------------------
Reporter: ryandesign@… | Owner: jwa@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: wxWidgets30 |
---------------------------+-------------------
Comment (by mojca@…):
Outside of wxWidgets the following works for me:
{{{
export CC=clang
export CXX=clang++
export CFLAGS=-I/opt/local/include
export CXXFLAGS=-I/opt/local/include
export LDFLAGS=-L/opt/local/lib
../wxWidgets-2.9.5/configure --prefix=/opt/local --disable-dependency-
tracking --mandir=/opt/local/share/man --with-libiconv-prefix=/opt/local
--with-libjpeg --with-libtiff --with-libpng --with-zlib --with-opengl
--with-cocoa --disable-sdltest --enable-unicode --enable-display --enable-
xrc --enable-universal_binary=i386,x86_64 --with-sdl --with-macosx-sdk=no
--with-macosx-version-min=no
}}}
The last two arguments are not too important, but {{{--enable-
universal_binary=i386,x86_64}}} seems to be, else some trivial patch to
configure script is needed.
I need to check again, but I believe that adding {{{-arch i386 -arch
x86_64}}} flags to CFLAGS and LDFLAGS leads to the above mentioned
problems.
I'll attach some patches.
--
Ticket URL: <https://trac.macports.org/ticket/39786#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list