build erlang otp 22.2 but can't used observer

Mikael Pettersson mikpelinux@REDACTED
Mon Dec 30 17:48:32 CET 2019

On Mon, Dec 30, 2019 at 4:48 PM Rareman S <chalor99@REDACTED> wrote:
> Hi,
> Here is my pre-build with erlang OTP22.2.
> === Running configure in /export/home/itmxadm/otp-OTP-22.2/lib/wx ===
> checking if we can link wxwidgets programs... no
> configure: creating sparc-sun-solaris2.11/config.status
> config.status: creating
> config.status: creating c_src/Makefile
> configure: WARNING: Can not find wx/stc/stc.h  -Wall -fPIC -O -Wno-deprecated-declarations -fomit-frame-pointer -fno-strict-aliasing  -D_GNU_SOURCE -D_THREAD_SAFE -D_REENTRANT -I/export/home/itmxadm/WX/wxWidgets-3.1.3/build_x11/lib/wx/include/x11univ-unicode-3.1 -I/export/home/itmxadm/WX/wxWidgets-3.1.3/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXUNIVERSAL__ -D__WXX11__ -pthreads -D_REENTRANT
> configure: WARNING: Can not link wx program are all developer packages installed?
> wx             : wxWidgets don't have gl support, wx will NOT be useable
> wxWidgets don't have wxStyledTextControl (stc.h), wx will NOT be useable
> Can not link the wx driver, wx will NOT be useable
> ./configure CC=${IDE_CC} CXX=${IDE_CXX} CFLAGS="-O" CXXFLAGS=-g --enable-compat28 --prefix=/usr/local. Above config above after build successful can't used wx.

Given the wx-related warnings above, it's not surprising that wx
doesn't work for you.  You'll need to inspect the config.log file for
lib/wx/ so see what the errors were, but off-hand it looks like an
incomplete wxWidgets installation.

More information about the erlang-questions mailing list