Discussion:
[OpenIndiana-discuss] Building wx-3.1.1
russell
2018-09-20 18:48:54 UTC
Permalink
Hi,

To build wx-3.1.1 on my system illumos-229852ddf2 using the default
compiler gcc version 6.4.0 (OpenIndiana 6.4.0-OI-3)

To Build 64bit use

/tmp/wxWidgets-3.1.1$ CC=gcc CFLAGS="-m64 -fpermissive" CXX=g++
CXXFLAGS="-m64 -fpermissive" LDFLAGS="-m64" ./configure --prefix=/usr

To build 32bit use

/tmp/wxWidgets-3.1.1$ CC=gcc CFLAGS="-fpermissive" CXX=g++
CXXFLAGS="-fpermissive" LDFLAGS=  ./configure --prefix=/usr

Hope that helps.

Regards

Russell
Aurélien Larcher
2018-09-20 19:30:49 UTC
Permalink
Post by russell
Hi,
To build wx-3.1.1 on my system illumos-229852ddf2 using the default
compiler gcc version 6.4.0 (OpenIndiana 6.4.0-OI-3)
To Build 64bit use
/tmp/wxWidgets-3.1.1$ CC=gcc CFLAGS="-m64 -fpermissive" CXX=g++
CXXFLAGS="-m64 -fpermissive" LDFLAGS="-m64" ./configure --prefix=/usr
To build 32bit use
/tmp/wxWidgets-3.1.1$ CC=gcc CFLAGS="-fpermissive" CXX=g++
CXXFLAGS="-fpermissive" LDFLAGS= ./configure --prefix=/usr
Hope that helps.
I have packaged the stable 3.0.4 and given that 3.1.1 is a development
version that is subject to API change I do not think it is reasonable to
provide it for now.
Also a number of packages is still not compatible with 2.8 so it should be
preferred unless people are willing to patch to provide 3.x compatibility.
Once 3.0.4 is pushed, I'll add filezilla provided that it works correctly.
Post by russell
Regards
Russell
_______________________________________________
openindiana-discuss mailing list
https://openindiana.org/mailman/listinfo/openindiana-discuss
--
---
Praise the Caffeine embeddings
Jason Martin
2018-09-20 20:58:58 UTC
Permalink
Was working on 3.1.1 for myself trying to get great build of codeblocks.

Anjuta and mate-panel keeps coring after glib 2.57.

Still working on tests and not 64 bit build yet. (64 builds OK but
webkit 32 only)

Tests need xclock installed.

I post this if it helps anyone.

include ../../../make-rules/shared-macros.mk

COMPONENT_NAME=             wxWidgets
COMPONENT_VERSION=          3.1.1
COMPONENT_FMRI=             library/$(COMPONENT_NAME)_3_dev
COMPONENT_SUMMARY=          Cross-platform C++ GUI toolkit
COMPONENT_CLASSIFICATION=   Development/GNOME and GTK+
COMPONENT_SRC=              $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=          $(COMPONENT_SRC).tar.bz2
COMPONENT_ARCHIVE_HASH= \
sha256:c925dfe17e8f8b09eb7ea9bfdcfcc13696a3e14e92750effd839f5e10726159e
COMPONENT_ARCHIVE_URL=
https://github.com/$(COMPONENT_NAME)/$(COMPONENT_NAME)/releases/download/v3.1.1/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL=      http://www.wxwidgets.org/
COMPONENT_LICENSE=          wxWindows

include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk

PATH=$(PATH.gnu)

##CONFIGURE_BINDIR.64 = $(CONFIGURE_BINDIR.32)

CFLAGS   += -I/usr/include/mesa
CXXFLAGS += -I/usr/include/mesa
CXXFLAGS += -fpermissive
LDFLAGS  += -L/usr/lib/mesa -R/usr/lib/mesa

##LDFLAGS  += -L/usr/lib/mesa/$(MACH64) -R/usr/lib/mesa/$(MACH64)
#PKG_CONFIG_PATH=/usr/lib/$(MACH64)/pkgconfig

#CONFIGURE_OPTIONS += --disable-webkit
#CONFIGURE_OPTIONS += --disable-webview
#CONFIGURE_OPTIONS += --disable-webviewwebkit

CONFIGURE_OPTIONS += --enable-gui
CONFIGURE_OPTIONS += --enable-mimetype
CONFIGURE_OPTIONS += --enable-unicode
CONFIGURE_OPTIONS += --enable-xrc
CONFIGURE_OPTIONS += --with-expat
CONFIGURE_OPTIONS += --with-gtk=3
CONFIGURE_OPTIONS += --with-opengl
CONFIGURE_OPTIONS += --with-sdl
CONFIGURE_OPTIONS += --with-subdirs
CONFIGURE_OPTIONS += --without-gnomevfs
CONFIGURE_OPTIONS += --without-libmspack

#COMPONENT_TEST_DIR += $(@D)/samples
#COMPONENT_TEST_DIR += $(@D)/tests
#COMPONENT_TEST_TARGETS = check

# Build all samples and test programs.
#COMPONENT_PRE_SYSTEM_TEST_ACTION += (cd $(@D)/samples; $(MAKE) && \
#        cd $(@D)/tests; $(MAKE) )

# Build the test program.
COMPONENT_PRE_SYSTEM_TEST_ACTION += \
    (cd $(@D)/tests ; $(GMAKE) ) ;


#COMPONENT_TEST_TARGETS = ($(@D)/tests/test && $(@D)/tests/test_gui)

COMPONENT_TEST_TARGETS = (./$(@D)/tests/test)

# common targets
build:      $(BUILD_32)

install:    $(INSTALL_32)

test:       $(TEST_32)

Loading...